
- Changed library name to Lib. - Allow for 5 statements deep without use of name variable. - Added If..ElseIf..Else..Endif statements. - Fixed maximum allow statements. - Now allows 10 statement depth. - Condensed code. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3274 212acab6-be3b-0410-9dea-997c60f758d6
22 lines
No EOL
421 B
NSIS
22 lines
No EOL
421 B
NSIS
Name "test"
|
|
OutFile "test.exe"
|
|
SilentInstall silent
|
|
|
|
!include "logiclib.nsh"
|
|
|
|
Section
|
|
${IF} "test" = "test2"
|
|
MessageBox MB_OK "test"
|
|
${ELSE}
|
|
${IF} "test" = "test"
|
|
${SELECT} 5
|
|
${CASE} 4
|
|
MessageBox MB_OK "case 4"
|
|
${CASE} 5;6
|
|
MessageBox MB_OK "case 5 or 6"
|
|
${CASE_ELSE}
|
|
MessageBox MB_OK "case else"
|
|
${ENDSELECT}
|
|
${ENDIF}
|
|
${ENDIF}
|
|
SectionEnd |