PDA

View Full Version : How to suppress reboot and get a return code.



nixhydra
09-14-2009, 12:12 PM
Hi,

I created multiple InstallScript MSI setups with InstallShield 2008.
My goals are:
1. Launch all setups in sequence from another exe
2. Suppress any reboot dialog
3. Get a return code from each Setup.exe when a reboot is needed so I can start reboot myself at the end, like ERROR_SUCCESS_REBOOT_REQUIRED (3010)

On the command line to Setup.exe, I set the REBOOT=ReallySuppress property and I can see it in the MSI log, but the reboot dialog still comes up and there is no error code that reboot is needed.

My questions are:
Is this possible to do with InstallScript MSI project?
Is this possible to do with Basic MSI project?
Can InstallShield handle this any other way?

I know that msiexec.exe supports this capability because it works with third party setups that I am also launching.


*********************

Thank you very much ! ! !

*********************