View Full Version : Minor upgrade functionality fails in silent mode?

06-18-2004, 09:19 AM
Using: InstallShield DevStudio 9.0 SP1

I have an MSI InstallScript project which always executes in silent mode since it's used in other vendor's installers, it's a self extracting exe.

If I deliver a minor upgrade and run it in silent mode, nothing is updated and I don't get control in any parts of my code (namely OnResumeUIBefore() ).

If I run it without silent mode, I get the dialog asking to upgrade, select yes, and everything upgrades fine.

When I log the silent install, this is a snipped of what I get:

1: Marshalling IDriver for RPC service...
1: Ready to launch __OnResume.
1: Installation aborts, ready for RPC shutting down.
1: User aborts the installation, ready to launch __OnAbort.
1: Ready to Uninitialize...

I'm not sure why it suddently "Installation aborts". I can only assume InstallShield is deciding for the user that the upgrade shouldn't happen since the dialog can't be shown, and the installer exits. Is there anyway way to bypass this and let the upgrade move forward?

Thanks in advance.


06-18-2004, 09:51 AM
Attached is the full log file of the failed minor upgrade.

06-18-2004, 02:18 PM
I found a solution to this problem. Another poster wrote in another thread:

First, that message box that notifies of the upgrade, you can supress that. I have it supressed on all mine, I don't bother the customer with that. To stop that from coming up just click on Upgrades under Media and then click "Upgrade Windows Installer Setup". Then on the right select "Don't prompt, just install".

It worked for me, silent mode now upgrades without a hitch.