right position for .onInit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1584 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
9c3d74cb66
commit
ae3de07d72
1 changed files with 19 additions and 19 deletions
|
@ -78,25 +78,6 @@
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Installer Sections
|
;Installer Sections
|
||||||
|
|
||||||
Function .onInit
|
|
||||||
|
|
||||||
;Extract Install Options INI Files
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioA.ini"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioB.ini"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioC.ini"
|
|
||||||
|
|
||||||
;Titles for Install Options dialogs
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioA.ini" "$(TEXT_IO_PAGETITLE_A)"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioB.ini" "$(TEXT_IO_PAGETITLE_B)"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioC.ini" "$(TEXT_IO_PAGETITLE_C)"
|
|
||||||
|
|
||||||
;Abort warnings for Install Options dialogs
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioA.ini"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioB.ini"
|
|
||||||
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioC.ini"
|
|
||||||
|
|
||||||
FunctionEnd
|
|
||||||
|
|
||||||
Section "modern.exe" SecCopyUI
|
Section "modern.exe" SecCopyUI
|
||||||
|
|
||||||
;Add your stuff here
|
;Add your stuff here
|
||||||
|
@ -120,6 +101,25 @@ SectionEnd
|
||||||
;--------------------------------
|
;--------------------------------
|
||||||
;Installer Functions
|
;Installer Functions
|
||||||
|
|
||||||
|
Function .onInit
|
||||||
|
|
||||||
|
;Extract Install Options INI Files
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioA.ini"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioB.ini"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT "ioC.ini"
|
||||||
|
|
||||||
|
;Titles for Install Options dialogs
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioA.ini" "$(TEXT_IO_PAGETITLE_A)"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioB.ini" "$(TEXT_IO_PAGETITLE_B)"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITETITLE "ioC.ini" "$(TEXT_IO_PAGETITLE_C)"
|
||||||
|
|
||||||
|
;Abort warnings for Install Options dialogs
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioA.ini"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioB.ini"
|
||||||
|
!insertmacro MUI_INSTALLOPTIONS_WRITEABORTWARNING "ioC.ini"
|
||||||
|
|
||||||
|
FunctionEnd
|
||||||
|
|
||||||
Function SetCustomA
|
Function SetCustomA
|
||||||
!insertmacro MUI_HEADER_TEXT $(TEXT_IO_TITLE) $(TEXT_IO_SUBTITLE)
|
!insertmacro MUI_HEADER_TEXT $(TEXT_IO_TITLE) $(TEXT_IO_SUBTITLE)
|
||||||
!insertmacro MUI_INSTALLOPTIONS_SHOW "ioA.ini"
|
!insertmacro MUI_INSTALLOPTIONS_SHOW "ioA.ini"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue