cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
epotter
Level 5

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.


  • set BATCH_INSTALL = true;
  • calling System(SYS_BOOTWIN)
  • setting the MsiProperty("REBOOT_REQUIRED") = "1"


For an InstallScript MSI project, what is the best way?
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

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

System(SYS_BOOTMACHINE);
0 Kudos