PDA

View Full Version : Reboot AFTER installation complete



ISNoob
12-17-2008, 06:14 PM
Hi

I would like to reboot the machine after the install completes. How can I do this?
I need to prompt the user with something like
"To complete the install process, you must restart your machine. Would you like to install now?" With Yes and a No button. User must select either.
Any one know how to do this?

RobertDickau
12-17-2008, 07:09 PM
Perhaps look into the values of the REBOOT property, or look into using the ScheduleReboot action?

ISNoob
12-17-2008, 07:48 PM
Thanks, I'll try Schedule Reboot. When does this action appear? I have set it after Install Finalize..

In the Custom Action Sequences I have set the ScheduleReboot custom action under the following areas (Yes means I have it there, no means I have no action there)
Installation - User Interface - No
- Execute - Yes


Advertisement - User Interface - No
- Execute - Yes


Administration - User Interface - No
- Execute - Yes
I have not built my project yet. Does this look OK? Will my system reboot after the installation completes?

ISNoob
12-17-2008, 10:05 PM
I am using the basic MSI project

RobertDickau
12-18-2008, 09:51 AM
Please see the help topic "ScheduleReboot Action".