NSIS Logic Library - dselkirk's original selectlib 1.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3272 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
c31682240d
commit
0530c41b6d
2 changed files with 133 additions and 0 deletions
16
Examples/LogicLib.nsi
Normal file
16
Examples/LogicLib.nsi
Normal file
|
@ -0,0 +1,16 @@
|
|||
name "Test"
|
||||
outfile "test.exe"
|
||||
silentinstall silent
|
||||
|
||||
!include "selectlib.nsh"
|
||||
|
||||
Section
|
||||
!insertmacro SELECT "TESTCASE" "test1"
|
||||
!insertmacro CASE "test1"
|
||||
MessageBox MB_OK "case test1"
|
||||
!insertmacro CASE "test 2;test3"
|
||||
MessageBox MB_OK "case test2 or test3"
|
||||
!insertmacro CASE_ELSE
|
||||
MessageBox MB_OK "case else"
|
||||
!insertmacro SELECTEND
|
||||
SectionEnd
|
Loading…
Add table
Add a link
Reference in a new issue