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:
parent
4e69178ba4
commit
d82951674b
1 changed files with 11 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
;InstallOptions Test Script
|
||||
;Written by Joost Verburg
|
||||
;--------------------------
|
||||
|
||||
!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!)
|
||||
;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 "test.ini"
|
||||
|
@ -27,7 +28,7 @@ ComponentText "Choose components"
|
|||
|
||||
;Order of pages
|
||||
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 directory
|
||||
Page instfiles
|
||||
|
@ -55,7 +56,6 @@ Function .onInit
|
|||
;$PLUGINSDIR will automatically be removed when the installer closes
|
||||
|
||||
InitPluginsDir
|
||||
|
||||
File /oname=$PLUGINSDIR\test.ini "test.ini"
|
||||
|
||||
FunctionEnd
|
||||
|
@ -69,4 +69,6 @@ Function SetCustom
|
|||
InstallOptions::dialog "$PLUGINSDIR\test.ini"
|
||||
Pop ${TEMP1}
|
||||
|
||||
Pop ${TEMP1}
|
||||
|
||||
FunctionEnd
|
Loading…
Add table
Add a link
Reference in a new issue