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...") |
mNo edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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> | ||
''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