Reference/SetRebootFlag: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=SetRebootFlag= true|false Sets the reboot flag to either true or false. The flag's value can be read using IfRebootFlag. <highlight-nsis>SetRebootFlag true IfRebootFlag 0 +2...")
 
Line 3: Line 3:
  true|false
  true|false


Sets the reboot flag to either true or false. The flag's value can be read using IfRebootFlag.
Sets the reboot flag to either true or false. The flag's value can be read using [[Reference/IfRebootFlag|IfRebootFlag]].


<highlight-nsis>SetRebootFlag true
<highlight-nsis>SetRebootFlag true
IfRebootFlag 0 +2
IfRebootFlag 0 +2
MessageBox MB_OK "this message box will always show"</highlight-nsis>
MessageBox MB_OK "this message box will always show"</highlight-nsis>

Revision as of 09:44, 28 November 2011

SetRebootFlag

true|false

Sets the reboot flag to either true or false. The flag's value can be read using IfRebootFlag.

SetRebootFlag true
IfRebootFlag 0 +2
MessageBox MB_OK "this message box will always show"