Var can now be used in sections and functions, but only with the /GLOBAL flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4211 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
f5105a50b1
commit
68dc7f9f7e
4 changed files with 36 additions and 7 deletions
|
@ -40,6 +40,14 @@ Section "Dummy Section" SecDummy
|
|||
|
||||
SectionEnd
|
||||
|
||||
Section "Another Section"
|
||||
|
||||
Var /GLOBAL "AnotherVar"
|
||||
|
||||
StrCpy $AnotherVar "test"
|
||||
|
||||
SectionEnd
|
||||
|
||||
;--------------------------------
|
||||
; Uninstaller
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue