Reference/SetRebootFlag: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
mNo edit summary
 
Line 8: Line 8:
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>
''Command introduced with NSIS v1.70''

Latest revision as of 20:43, 4 June 2013

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"

Command introduced with NSIS v1.70