Added negative errorlevels warning

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7247 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-01-15 16:27:50 +00:00
parent 320bff39d5
commit 9a5e574e62

View file

@ -65,6 +65,10 @@ Sets the error level of the installer or uninstaller to \e{error_level}. See \R{
\c IfRebootFlag 0 +2
\c SetErrorLevel 4
\NsisWarnBlockContainerBegin
\\<b\\>Warning:\\</b\\> -1 is reserved for internal use. Negative numbers should be avoided for compatibility with batch scripts.
\NsisWarnBlockContainerEnd
\S2{setshellvarcontext} SetShellVarContext
\c \\<b\\>current\\</b\\>|all