cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Jeff2008
Level 6

Feature prerequisite and reboot problem

I am developing two Basic MSI projects with InstallShield: one is the main setup and the other is used as a feature prerequisite. The feature prerequisite is builded as a single-executable file. It requires a reboot in certain case. I have setted the prerequisite behavior to "Note it, fail to resume if the machine is rebooted, and reboot after the installation". The problem is that the computer is rebooted after the prerequisite has been installed. What I want is to delay the reboot once the installation is finish.

Note: The prerequisite force the reboot using this code:

MsiSetProperty(hMSI, "REBOOT", "F");

Note: Both projects are Basic MSI, InstallShield 2010 (no SP1), packaged as single-executable.

Thanks in advance
Labels (1)
0 Kudos
(1) Reply
MichaelU
Level 12 Flexeran
Level 12 Flexeran

The prerequisite engine itself will not intercept and change reboots caused by packages it is installing. You may be able to change the prerequisite's behavior (i.e., ask it to not reboot the machine) by specifying a different value for its REBOOT property on the command-line passed to the prerequisite.
0 Kudos