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
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Try the REBOOTPROMPT property.

Cheers,
Rob.
Answered 06/26/2006 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
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
Answered 06/26/2006 by: Trooper23
Orange Belt

Please log in to comment
0
Hey,

Can't you use the ScheduleReboot action with a condition of REMOVE="ALL" along with the REBOOTPROMPT property to get a reboot on uninstall only with no prompt..?

Cheers,
Rob.
Answered 06/26/2006 by: MSIPackager
Third Degree Black Belt

Please log in to comment
0
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
Answered 06/27/2006 by: spartacus
Black Belt

Please log in to comment
0
Hi Rob,

I'm still being prompted to reboot after uninstall. Any other ideas?
thanks,
Rob
Answered 06/28/2006 by: Trooper23
Orange Belt

Please log in to comment
0
Hi Spartacus,

Same thing, I'm still being prompted to reboot after uninstall. Any other ideas? What should the Return Processing and In-Script Execution be? I was using Deferred Execution in System Context.

thanks,
Rob
Answered 06/28/2006 by: Trooper23
Orange Belt

Please log in to comment
0
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.
Answered 06/28/2006 by: MSIPackager
Third Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity