How do I make a PC reboot automatically after uninstalling the MSI?
Hi All,
I need help. [:o] How do I make a PC reboot automatically after uninstalling the MSI? I don’t want the users prompted to click YES or No. I’m running IS 11.5 and I’ve tried many different options, please advise.
My standard actions were in-between "After PublishProduct†and before “InstallFinalizeâ€Â
Here is what I’ve tried to no avail. [:@].
1. ScheduleReboot + Not REMOVE="ALL" = reboot after install, login fine, & no reboot after uninstall
2. ScheduleReboot + REMOVE<"ALL" = reboot after install, login fine, & no reboot after uninstall
3. ScheduleReboot + REMOVE<>"ALL" = reboot after install, login fine, & no reboot after uninstall
4. ScheduleReboot + REMOVE>"ALL" = no reboot after install, & no reboot after uninstall
5. ScheduleReboot + (REMOVE<>"ALL") = reboot after install, login fine, & no reboot after uninstall
6. ScheduleReboot + (Not AFTERREBOOT) = reboot after install, login fine, & prompts to reboot after uninstall
7. ScheduleReboot + Not AFTERREBOOT = reboot after install, login fine, & prompts to reboot after uninstall
8. ScheduleReboot + AFTERREBOOT = no reboot after install, & no prompts to reboot after uninstall
9. ForceReboot + Not AFTERREBOOT = reboot after install, login fine, & reboot after uninstall, login not fine & runs Win Installer could not open error
10. ForceReboot + Not (REMOVE="ALL") = reboot after install, login fine, & no reboot after uninstall
11. ForceReboot + Not REMOVE="ALL" = reboot after install, login fine, & no reboot after uninstall
12. ForceReboot + REMOVE="ALL" = no reboot after install, & prompts to reboot after uninstall
13. ForceReboot + REMOVE>"ALL" = no reboot after install, & no reboot after uninstall
14. ForceReboot + REMOVE<>"ALL" = reboot after install, login fine, & no reboot after uninstall
15. ForceReboot + REMOVE<>ALL = no reboot after install, prompt to reboot after uninstall, login fine
16. ForceReboot + REMOVE>ALL = no reboot after install, prompt to reboot after uninstall, login fine
Thanks,
Rob
I need help. [:o] How do I make a PC reboot automatically after uninstalling the MSI? I don’t want the users prompted to click YES or No. I’m running IS 11.5 and I’ve tried many different options, please advise.
My standard actions were in-between "After PublishProduct†and before “InstallFinalizeâ€Â
Here is what I’ve tried to no avail. [:@].
1. ScheduleReboot + Not REMOVE="ALL" = reboot after install, login fine, & no reboot after uninstall
2. ScheduleReboot + REMOVE<"ALL" = reboot after install, login fine, & no reboot after uninstall
3. ScheduleReboot + REMOVE<>"ALL" = reboot after install, login fine, & no reboot after uninstall
4. ScheduleReboot + REMOVE>"ALL" = no reboot after install, & no reboot after uninstall
5. ScheduleReboot + (REMOVE<>"ALL") = reboot after install, login fine, & no reboot after uninstall
6. ScheduleReboot + (Not AFTERREBOOT) = reboot after install, login fine, & prompts to reboot after uninstall
7. ScheduleReboot + Not AFTERREBOOT = reboot after install, login fine, & prompts to reboot after uninstall
8. ScheduleReboot + AFTERREBOOT = no reboot after install, & no prompts to reboot after uninstall
9. ForceReboot + Not AFTERREBOOT = reboot after install, login fine, & reboot after uninstall, login not fine & runs Win Installer could not open error
10. ForceReboot + Not (REMOVE="ALL") = reboot after install, login fine, & no reboot after uninstall
11. ForceReboot + Not REMOVE="ALL" = reboot after install, login fine, & no reboot after uninstall
12. ForceReboot + REMOVE="ALL" = no reboot after install, & prompts to reboot after uninstall
13. ForceReboot + REMOVE>"ALL" = no reboot after install, & no reboot after uninstall
14. ForceReboot + REMOVE<>"ALL" = reboot after install, login fine, & no reboot after uninstall
15. ForceReboot + REMOVE<>ALL = no reboot after install, prompt to reboot after uninstall, login fine
16. ForceReboot + REMOVE>ALL = no reboot after install, prompt to reboot after uninstall, login fine
Thanks,
Rob
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
Trooper23
17 years ago
Hey Rob,
Thanks, I tried that also but it reboots after install. I deploy MSI’s via Novell NAL and I can make the PC reboot after install no biggy. But we just need it to reboot after uninstall only and yes the suppress would work there. Would you know what Standard Action that Property goes with?
Thanks,
Rob
Thanks, I tried that also but it reboots after install. I deploy MSI’s via Novell NAL and I can make the PC reboot after install no biggy. But we just need it to reboot after uninstall only and yes the suppress would work there. Would you know what Standard Action that Property goes with?
Thanks,
Rob
Posted by:
MSIPackager
17 years ago
Posted by:
spartacus
17 years ago
First, set the REBOOTPROMPT property to "Suppress", then create a custom action VB script containing a single line :
[font="Courier New"]session.mode(6) = TRUE 'set the msiRunModeRebootAtEnd flag to True
Add the condition REMOVE~="ALL" to the custom action and then it will only be run on an uninstallation.
Regards,
Spartacus
[font="Courier New"]session.mode(6) = TRUE 'set the msiRunModeRebootAtEnd flag to True
Add the condition REMOVE~="ALL" to the custom action and then it will only be run on an uninstallation.
Regards,
Spartacus
Posted by:
Trooper23
17 years ago
Posted by:
Trooper23
17 years ago
Posted by:
MSIPackager
17 years ago
I don't get why the REBOOTPROMPT property isn't working.
Have you got a UI with the install / uninstall?
If you set it with no UI (msiexec /qn etc etc) then it will reboot without prompting (see here) but if you need a UI then I guess this is not an option...
Good luck,
Rob.
Have you got a UI with the install / uninstall?
If you set it with no UI (msiexec /qn etc etc) then it will reboot without prompting (see here) but if you need a UI then I guess this is not an option...
Good luck,
Rob.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.