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
- :
- Continue Uninstall after reboot for basic MSI
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
Nov 07, 2013
07:31 AM
Continue Uninstall after reboot for basic MSI
In my basic MSI project I need to schedule a reboot and then, after the reboot, continue with the installation. I can't figure out how to do this, can anyone point me in the right direction?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 25, 2013
12:13 PM
You can use a Forcereboot Standard action to schedule a reboot during install and resume after reboot. According to Microsoft, The ForceReboot action writes a registry key that causes the installer to resume after the reboot. The location of this key is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.
See the microsoft article http://msdn.microsoft.com/en-us/library/windows/desktop/aa368607%28v=vs.85%29.aspx for more information about the ForceReboot action.
In InstallShield you can add a ForceReboot action to your project by going to custom actions and sequences, right-clicking the execute sequence and selecting Insert (Standard Actions).
See the microsoft article http://msdn.microsoft.com/en-us/library/windows/desktop/aa368607%28v=vs.85%29.aspx for more information about the ForceReboot action.
In InstallShield you can add a ForceReboot action to your project by going to custom actions and sequences, right-clicking the execute sequence and selecting Insert (Standard Actions).