This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Feature prerequisite and reboot problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 30, 2009
04:44 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 02, 2009
01:14 PM
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.