Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 3

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?
Labels (1)
0 Kudos
(1) Reply
Level 6 Flexeran
Level 6 Flexeran

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 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).
0 Kudos