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 make a reboot dialog on basic msi


3 replies to this topic

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 30 January 2007 - 04:35

i want to make a dialog like in the installscript and installscript msi project.

how can i make it?

i will make a custom dialog and 2 radio button...
what are the needed commands in the radio button to restart my system?

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 30 January 2007 - 08:46

In order to restart the computer insert one of these standard actions in the sequence:
ForceReboot (for immediate reboot)
ScheduleReboot ( for reboot at the end)
Specify a condition for these actions, based on the radio button selection.

haroldxious

haroldxious
  • Full Members
  • 70 posts

Posted 31 January 2007 - 01:39

where will i put this?

what will i put on the dialog behavior.

Events Arguments Condition


nesesser

nesesser
  • Full Members
  • 62 posts

Posted 31 January 2007 - 08:17

You should make a radiobutton (e.g. PROP property) on your dialog.
In the Events of Next button add next events:

Event Arguments Condition
-----------------------------------------------
DoAction ScheduleReboot PROP=1
DoAction ForceReboot PROP=2