version 1.19 - macro system changes

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1043 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-09-19 15:50:37 +00:00
parent 2c31e3a8e0
commit 00f8f07e95
4 changed files with 69 additions and 62 deletions

View file

@ -1,4 +1,4 @@
;NSIS Modern Style UI version 1.18
;NSIS Modern Style UI version 1.19
;Example Script
;Written by Joost Verburg
@ -62,7 +62,7 @@ SectionEnd
Section ""
;Invisible section to display the Finish header
!insertmacro MUI_FINISHHEADER SetHeader
!insertmacro MUI_FINISHHEADER SetPage
SectionEnd
@ -93,7 +93,7 @@ FunctionEnd
Function .onNextPage
!insertmacro MUI_NEXTPAGE_OUTER
!insertmacro MUI_NEXTPAGE SetHeader
!insertmacro MUI_NEXTPAGE SetPage
FunctionEnd
@ -103,31 +103,31 @@ Function .onPrevPage
FunctionEnd
Function SetHeader
Function SetPage
!insertmacro MUI_HEADER_INIT
!insertmacro MUI_PAGE_INIT
!insertmacro MUI_HEADER_START 1
!insertmacro MUI_PAGE_START 1
!insertmacro MUI_HEADER_TEXT 1033 "License Agreement" "Please review the license terms before installing ${NAME}."
!insertmacro MUI_HEADER_STOP 1
!insertmacro MUI_PAGE_STOP 1
!insertmacro MUI_HEADER_START 2
!insertmacro MUI_PAGE_START 2
!insertmacro MUI_HEADER_TEXT 1033 "Choose Components" "Choose the components you want to install."
!insertmacro MUI_HEADER_STOP 2
!insertmacro MUI_PAGE_STOP 2
!insertmacro MUI_HEADER_START 3
!insertmacro MUI_PAGE_START 3
!insertmacro MUI_HEADER_TEXT 1033 "Choose Install Location" "Choose the folder in which to install ${NAME}."
!insertmacro MUI_HEADER_STOP 3
!insertmacro MUI_PAGE_STOP 3
!insertmacro MUI_HEADER_START 4
!insertmacro MUI_PAGE_START 4
!insertmacro MUI_HEADER_TEXT 1033 "Installing" "Please wait while ${NAME} is being installed."
!insertmacro MUI_HEADER_STOP 4
!insertmacro MUI_PAGE_STOP 4
!insertmacro MUI_HEADER_START 5
!insertmacro MUI_PAGE_START 5
!insertmacro MUI_HEADER_TEXT 1033 "Finished" "Setup was completed successfully."
!insertmacro MUI_HEADER_STOP 5
!insertmacro MUI_PAGE_STOP 5
!insertmacro MUI_HEADER_END
!insertmacro MUI_PAGE_END
FunctionEnd
@ -161,7 +161,7 @@ Section "Uninstall"
RMDir "$INSTDIR"
!insertmacro MUI_FINISHHEADER un.SetHeader
!insertmacro MUI_FINISHHEADER un.SetPage
SectionEnd
@ -171,27 +171,27 @@ SectionEnd
Function un.onNextPage
!insertmacro MUI_NEXTPAGE_OUTER
!insertmacro MUI_NEXTPAGE un.SetHeader
!insertmacro MUI_NEXTPAGE un.SetPage
FunctionEnd
Function un.SetHeader
Function un.SetPage
!insertmacro MUI_HEADER_INIT
!insertmacro MUI_PAGE_INIT
!insertmacro MUI_HEADER_START 1
!insertmacro MUI_PAGE_START 1
!insertmacro MUI_HEADER_TEXT 1033 "Uninstall ${NAME}" "Remove ${NAME} from your system."
!insertmacro MUI_HEADER_STOP 1
!insertmacro MUI_PAGE_STOP 1
!insertmacro MUI_HEADER_START 2
!insertmacro MUI_PAGE_START 2
!insertmacro MUI_HEADER_TEXT 1033 "Uninstalling" "Please wait while ${NAME} is being uninstalled."
!insertmacro MUI_HEADER_STOP 2
!insertmacro MUI_PAGE_STOP 2
!insertmacro MUI_HEADER_START 3
!insertmacro MUI_PAGE_START 3
!insertmacro MUI_HEADER_TEXT 1033 "Finished" "${NAME} has been removed from your system."
!insertmacro MUI_HEADER_STOP 3
!insertmacro MUI_PAGE_STOP 3
!insertmacro MUI_HEADER_END
!insertmacro MUI_PAGE_END
FunctionEnd