Fix problem on Script.cpp that allowed VAR declarations inside Functions and Sections, no more differences between installer uservars and unistaller user vars (even if name start with un. ), changed example too

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2720 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
ramon18 2003-07-15 23:40:34 +00:00
parent cd2eacc81e
commit 1883dc3a19
4 changed files with 15 additions and 54 deletions

View file

@ -15,8 +15,7 @@
Var "Name"
Var "Serial"
Var "un.Info" ; this one can only be used in the uninstaller
Var "Info"
;--------------------------------
; Installer
@ -38,7 +37,7 @@ SectionEnd
Section "Uninstall"
StrCpy $un.Info "User variables test uninstalled successfully."
StrCpy $Info "User variables test uninstalled successfully."
Delete "$INSTDIR\Uninst.exe"
RmDir $INSTDIR
@ -47,6 +46,6 @@ SectionEnd
Function un.OnUninstSuccess
HideWindow
MessageBox MB_OK "$un.Info"
MessageBox MB_OK "$Info"
FunctionEnd
FunctionEnd