Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

How to reboot the machine


2 replies to this topic

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 13 January 2006 - 12:09

Hi,

In MSI project, at the setupCompleteSuccess dialog,

There is radio button group,

one radio button--

"Yes , to restart the machine"

the another radio button--

"No, restart it later"


Now I want that when Radio button "Yes , to restart the machine" is selected, then click on "Finish" button should reboot the machine.

how to do that.

Do I need to write custom actions for that.

Is there any sample code related to this ?


thanks,
Priya

Edited by epriya2003, 15 January 2006 - 12:13.


lavocat

lavocat
  • Full Members
  • 158 posts

Posted 20 January 2006 - 08:32

Remove the radio button group and set the REBOOT property to "Force" so the installer will always prompt for a reboot at the end of the installation.

Attention: in this way, if there is no user interface the system automatically reboots at the end of the installation.

epriya2003

epriya2003
  • Members
  • 22 posts

Posted 20 January 2006 - 10:03

yup , got it. Thanks.