stack fix

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1956 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-12-15 19:03:34 +00:00
parent 4e69178ba4
commit d82951674b

View file

@ -1,5 +1,6 @@
;InstallOptions Test Script ;InstallOptions Test Script
;Written by Joost Verburg ;Written by Joost Verburg
;--------------------------
!define TEMP1 $R0 ;Temp variable !define TEMP1 $R0 ;Temp variable
@ -14,7 +15,7 @@ InstallDir "$PROGRAMFILES\IOTest"
;Things that need to be extracted on startup (keep these lines before any File command!) ;Things that need to be extracted on startup (keep these lines before any File command!)
;Only useful for BZIP2 compression ;Only useful for BZIP2 compression
;Use ReserveFile for your own Install Options ini files too! ;Use ReserveFile for your own InstallOptions INI files too!
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
ReserveFile "test.ini" ReserveFile "test.ini"
@ -27,7 +28,7 @@ ComponentText "Choose components"
;Order of pages ;Order of pages
Page license Page license
Page custom SetCustom ": Testing Installer Options" ;Custom page. Install Options gets called in SetCustom. Page custom SetCustom ": Testing InstallOptions" ;Custom page. InstallOptions gets called in SetCustom.
Page components Page components
Page directory Page directory
Page instfiles Page instfiles
@ -55,7 +56,6 @@ Function .onInit
;$PLUGINSDIR will automatically be removed when the installer closes ;$PLUGINSDIR will automatically be removed when the installer closes
InitPluginsDir InitPluginsDir
File /oname=$PLUGINSDIR\test.ini "test.ini" File /oname=$PLUGINSDIR\test.ini "test.ini"
FunctionEnd FunctionEnd
@ -69,4 +69,6 @@ Function SetCustom
InstallOptions::dialog "$PLUGINSDIR\test.ini" InstallOptions::dialog "$PLUGINSDIR\test.ini"
Pop ${TEMP1} Pop ${TEMP1}
Pop ${TEMP1}
FunctionEnd FunctionEnd