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
- :
- Best Way To Force a Reboot in a InstallScript MSI project
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
‎Feb 02, 2010
01:38 PM
Best Way To Force a Reboot in a InstallScript MSI project
I've got a InstallScript MSI project. And the very end of the installation, I need to force the user to restart the machine. I've seen a few ways I could do this.
For an InstallScript MSI project, what is the best way?
- set BATCH_INSTALL = true;
- calling System(SYS_BOOTWIN)
- setting the MsiProperty("REBOOT_REQUIRED") = "1"
For an InstallScript MSI project, what is the best way?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2010
05:17 PM
Using BATCH_INSTALL would be the recommended approach if you need to prompt for reboot at the end of the install (note that with InstallScript MSI projects, using MSI reboot methods will not work correctly).
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
03:14 AM
System(SYS_BOOTMACHINE);