How to force restart after uninstall for MSI base project in InstallShield 2009 Premier

InstallShield 2009 Premier, MSI's core project :
After the removal is complete, I want to force a reboot . How?

Found googling, I need to set REBOOTPROMPT 'TO' S 'or' R 'and the Reload property.

How to set these properties and what values?

+6
uninstall restart installshield-2009
source share
1 answer

Here is the solution

  • You need to let InstallShield know that you want to reboot .
    How? : on the tab "Installation Designer" β†’ "Behavior and Logic '->' Custom Actions and Sequences' -> 'Sequences' ->' Installation '->' Execute '->' ScheduleReboot 'set the value of the" Conditions "to" NOT REMOVE "(with non-converted commas) if you want the reboot to happen after installation and" REMOVE "if after uninstall.

  • So, until now, after installing / uninstalling, the installer showed a warning message something like "... click" OK "to restart the computer or cancel to restart later ...", Now, if you do not want to show this warning message, even take step 3.

  • Go to the tab "Installation Designer" β†’ "Behavior and Logic" β†’ " Property Manager ", the table will open. Now add / edit the (Name, Value) pair with ( REBOOTPROMPT, Suppress ). This will suppress the message.

+9
source share

All Articles