Reference/SetRebootFlag

From NSIS Wiki
Jump to navigationJump to search

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