macro system updates

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1467 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-10-26 12:25:02 +00:00
parent 278b2c6bb6
commit 9585e78fcf
5 changed files with 127 additions and 40 deletions

View file

@ -12,6 +12,8 @@
;--------------------------------
;Configuration
!insertmacro MUI_BASICFUNCTIONS_INIT
!define MUI_LICENSEPAGE
!define MUI_COMPONENTPAGE
!define MUI_DIRSELECTPAGE
@ -142,7 +144,7 @@ Section ""
;Invisible section to display the Finish header & write the language to the registry
WriteRegStr HKCU "Software\${NAME}" "Installer Language" $LANGUAGE
!insertmacro MUI_FINISHHEADER SetPage
!insertmacro MUI_FINISHHEADER
SectionEnd
@ -212,7 +214,7 @@ Section "Uninstall"
DeleteRegValue HKCU "Software\${NAME}" "Installer Language"
;Display the Finish header
!insertmacro MUI_FINISHHEADER un.SetPage
!insertmacro MUI_UNFINISHHEADER
SectionEnd