Reference/SetErrorLevel
From NSIS Wiki
Jump to navigationJump to search
SetErrorLevel
error_level
Sets the error level of the installer or uninstaller to error_level. See Error Levels for more information.
IfRebootFlag 0 +2 SetErrorLevel 4
Command introduced with NSIS v2.02