diff --git a/Contrib/Language files/Dutch.nlf b/Contrib/Language files/Dutch.nlf
index 7bd712cc..53ee2526 100644
--- a/Contrib/Language files/Dutch.nlf
+++ b/Contrib/Language files/Dutch.nlf
@@ -115,7 +115,7 @@ Selecteer de map om $(^Name) uit te verwijderen:
# ^SpaceRequired
"Vereiste ruimte: "
# ^UninstallingText
-Deze wizard zal $(^Name) van uw systeem verwijderen. $_CLICK
+$(^Name) zal uit de volgende map worden verwijderd. $_CLICK
# ^UninstallingSubText
Verwijderen uit:
# ^FileError
diff --git a/Contrib/Language files/English.nlf b/Contrib/Language files/English.nlf
index cdd586e4..6dca5ad1 100644
--- a/Contrib/Language files/English.nlf
+++ b/Contrib/Language files/English.nlf
@@ -116,7 +116,7 @@ Select the folder to uninstall $(^Name) from:
# ^SpaceRequired
"Space required: "
# ^UninstallingText
-This wizard will uninstall $(^Name) from your computer. $_CLICK
+$(^Name) will be uninstalled from the following folder. $_CLICK
# ^UninstallingSubText
Uninstalling from:
# ^FileError
diff --git a/Contrib/Modern UI/Changelog.txt b/Contrib/Modern UI/Changelog.txt
index 5c1e0f1b..cd113898 100644
--- a/Contrib/Modern UI/Changelog.txt
+++ b/Contrib/Modern UI/Changelog.txt
@@ -1,5 +1,13 @@
NSIS Modern User Interface - VERSION HISTORY
+1.67 - October 27, 2003
+* Support for uninstaller Welcome- and Finish pages
+* Renamed a few settings
+* Default header image
+* Support for uninstaller abort warning
+* Setting for 3 line text on Welcome- and Finish page
+* Langauge file backwards compatibility: English for missing strings
+
1.66 - October 7, 2003
* New system for page settings and custom pages
* Support for uninstaller components page
diff --git a/Contrib/Modern UI/Language files/Default.nsh b/Contrib/Modern UI/Language files/Default.nsh
index 259cb326..d1b0e601 100644
--- a/Contrib/Modern UI/Language files/Default.nsh
+++ b/Contrib/Modern UI/Language files/Default.nsh
@@ -47,6 +47,9 @@
!insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_TEXT_ABORTWARNING "Are you sure you want to quit $(^Name) Setup?"
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_WELCOME_INFO_TITLE "Welcome to the $(^Name) Uninstall Wizard"
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_WELCOME_INFO_TEXT "This wizard will guide you through the uninstallation of $(^Name) components.\r\n\r\nBefore starting the uninstallation, make sure $(^Name) is not running.\r\n\r\n$_CLICK"
+
!insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_CONFIRM_TITLE "Uninstall $(^Name)"
!insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_CONFIRM_SUBTITLE "Remove $(^Name) from your computer."
@@ -69,4 +72,9 @@
!insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_FINISH_SUBTITLE "Uninstall was completed successfully."
!insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_ABORT_TITLE "Uninstallation Aborted"
- !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_ABORT_SUBTITLE "Uninstall was not completed successfully."
\ No newline at end of file
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_ABORT_SUBTITLE "Uninstall was not completed successfully."
+
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_FINISH_INFO_TITLE "Completing the $(^Name) Uninstall Wizard"
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_FINISH_INFO_TEXT "$(^Name) components have been uninstalled from your computer.\r\n\r\nClick Finish to close this wizard."
+
+ !insertmacro MUI_LANGUAGEFILE_DEFAULT MUI_UNTEXT_ABORTWARNING "Are you sure you want to quit $(^Name) Uninstall?"
\ No newline at end of file
diff --git a/Contrib/Modern UI/Language files/Dutch.nsh b/Contrib/Modern UI/Language files/Dutch.nsh
index 7d65bf73..5c8f5032 100644
--- a/Contrib/Modern UI/Language files/Dutch.nsh
+++ b/Contrib/Modern UI/Language files/Dutch.nsh
@@ -1,5 +1,5 @@
;NSIS Modern User Interface - Language File
-;Compatible with Modern UI 1.66
+;Compatible with Modern UI 1.67
;Language: Dutch (1043)
;By Joost Verburg
@@ -54,6 +54,9 @@
!define MUI_TEXT_ABORTWARNING "Weet u zeker dat u $(^Name) Setup wilt afsluiten?"
+ !define MUI_UNTEXT_WELCOME_INFO_TITLE "Welkom bij de $(^Name) Deïnstallatie Wizard"
+ !define MUI_UNTEXT_WELCOME_INFO_TEXT "Deze wizard zal $(^Name) van uw syteem verwijderen.\r\n\r\nControleer voordat u begint met verwijderen dat $(^Name) is afgesloten.\r\n\r\n$_CLICK"
+
!define MUI_UNTEXT_CONFIRM_TITLE "Verwijder $(^Name)"
!define MUI_UNTEXT_CONFIRM_SUBTITLE "Verwijder $(^Name) van uw system."
@@ -72,10 +75,15 @@
!define MUI_UNTEXT_UNINSTALLING_TITLE "Bezig met verwijderen"
!define MUI_UNTEXT_UNINSTALLING_SUBTITLE "Een ogenblik geduld a.u.b. terwijl $(^Name) van uw systeem wordt verwijderd."
- !define MUI_UNTEXT_FINISH_TITLE "Verwijderen Gereed"
+ !define MUI_UNTEXT_FINISH_TITLE "Deïnstallatie Gereed"
!define MUI_UNTEXT_FINISH_SUBTITLE "$(^Name) is verwijderd van uw systeem."
- !define MUI_UNTEXT_ABORT_TITLE "Verwijderen Afgebroken"
+ !define MUI_UNTEXT_ABORT_TITLE "Deïnstallatie Afgebroken"
!define MUI_UNTEXT_ABORT_SUBTITLE "$(^Name) is niet volledig verwijderd van uw systeem."
+ !define MUI_UNTEXT_FINISH_INFO_TITLE "Voltooien van de $(^Name) Deïnstallatie Wizard"
+ !define MUI_UNTEXT_FINISH_INFO_TEXT "$(^Name) zijn verwijderd van uw systeem.\r\n\r\nKlik op Voltooien om deze wizard te sluiten."
+
+ !define MUI_UNTEXT_ABORTWARNING "Weet u zeker dat u $(^Name) Deïnstallatie wilt afsluiten?"
+
!insertmacro MUI_LANGUAGEFILE_END
\ No newline at end of file
diff --git a/Contrib/Modern UI/Language files/English.nsh b/Contrib/Modern UI/Language files/English.nsh
index ab58a3c7..f4fd4a17 100644
--- a/Contrib/Modern UI/Language files/English.nsh
+++ b/Contrib/Modern UI/Language files/English.nsh
@@ -54,6 +54,9 @@
!define MUI_TEXT_ABORTWARNING "Are you sure you want to quit $(^Name) Setup?"
+ !define MUI_UNTEXT_WELCOME_INFO_TITLE "Welcome to the $(^Name) Uninstall Wizard"
+ !define MUI_UNTEXT_WELCOME_INFO_TEXT "This wizard will guide you through the uninstallation of $(^Name).\r\n\r\nBefore starting the uninstallation, make sure $(^Name) is not running.\r\n\r\n$_CLICK"
+
!define MUI_UNTEXT_CONFIRM_TITLE "Uninstall $(^Name)"
!define MUI_UNTEXT_CONFIRM_SUBTITLE "Remove $(^Name) from your computer."
@@ -78,4 +81,9 @@
!define MUI_UNTEXT_ABORT_TITLE "Uninstallation Aborted"
!define MUI_UNTEXT_ABORT_SUBTITLE "Uninstall was not completed successfully."
+ !define MUI_UNTEXT_FINISH_INFO_TITLE "Completing the $(^Name) Uninstall Wizard"
+ !define MUI_UNTEXT_FINISH_INFO_TEXT "$(^Name) has been uninstalled from your computer.\r\n\r\nClick Finish to close this wizard."
+
+ !define MUI_UNTEXT_ABORTWARNING "Are you sure you want to quit $(^Name) Uninstall?"
+
!insertmacro MUI_LANGUAGEFILE_END
\ No newline at end of file
diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html
index 16ae1cff..e5ce80f2 100644
--- a/Contrib/Modern UI/Readme.html
+++ b/Contrib/Modern UI/Readme.html
@@ -174,17 +174,6 @@ will also help you to learn more about the Modern UI.
For UI elements that are enabled by default, the default value will be used when a setting
has not been defined.
-
MUI_UI ui_file
- The interface file with the dialog resources. Change this if you have made your own customized UI.
- Default: ${NSISDIR}\Contrib\UIs\modern.exe
-
MUI_UI_HEADERBITMAP ui_file
- MUI_UI_HEADERBITMAP_RIGHT ui_file
- The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
- the header bitmap.
Defaults: ${NSISDIR}\Contrib\UIs\modern-headerbmp.exe,
- ${NSISDIR}\Contrib\UIs\modern-headerbmpr.exe
-
MUI_UI_SMALLDESCRIPTION
MUI_UI_NODESCRIPTION
- The interface files with a customized dialog resource IDD_SELCOM for a small or no description area.
- Defaults: {NSISDIR}\Contrib\UIs\modern-smalldesc.exe, {NSISDIR}\Contrib\UIs\modern-nodesc.exe
MUI_ICON icon_file
The icon of the installer.
Default: ${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico
MUI_UNICON icon_file
@@ -192,32 +181,77 @@ will also help you to learn more about the Modern UI.
MUI_CHECKBITMAP bitmap_file
The bitmap with images for the checks of the component select treeview.
Default: ${NSISDIR}\Contrib\Graphics\Checks\modern.bmp
-
MUI_HEADERBITMAP bmp_file
- Bitmap to display in the white header (recommended size: 150x57 pixels). The NSIS Setup uses the bitmap
- ${NSISDIR}\Contrib\Graphics\Header\nsis.bmp, but can also make one with your own logo.
+
MUI_HEADERIMAGE
+ Display an image on the header of page.
-
MUI_HEADERBITMAP_RIGHT
+
MUI_HEADERIMAGE_BITMAP bmp_file
+ Bitmap image to display on the header of the page (recommended size: 150x57 pixels).
+ Default: ${NSISDIR}\Contrib\Graphics\Header\nsis.bmp
+
MUI_HEADERIMAGE_RIGHT
Display the header image on the right side instead of the left side.
-
MUI_HEADERBITMAP_NOSTRETCH
+
MUI_HEADERIMAGE_NOSTRETCH
Do not stretch the header bitmap to fit the size of the field. Use this option only if you have an
image that does not use the whole space. If you have a full size bitmap that fits exactly, you should
not use this option because the size of the field will be different if the user has a custom DPI setting.
-
MUI_SPECIALINI ini_file
- InstallOptions INI file for the Welcome and Finish page.
+
MUI_BGCOLOR (color: RRGGBBR hexadecimal)
+ Background color for the header, Welcome- and Finish page.
Default: FFFFFF
+
+
+
+
MUI_UI ui_file
+ The interface file with the dialog resources. Change this if you have made your own customized UI.
+ Default: ${NSISDIR}\Contrib\UIs\modern.exe
+
MUI_UI_HEADERIMAGE ui_file
+ The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
+ the header bitmap.
+ Default: ${NSISDIR}\Contrib\UIs\modern-headerbmp.exe
+
MUI_UI_HEADERIMAGE_RIGHT ui_file
+ The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
+ the header bitmap on the right side.
+ Default: ${NSISDIR}\Contrib\UIs\modern-headerbmpr.exe
+
MUI_UI_COMPONENTSPAGE_SMALLDESC ui_file
+ The interface files with a customized dialog resource IDD_SELCOM with a small description area.
+ Default: {NSISDIR}\Contrib\UIs\modern-smalldesc.exe
+
MUI_UI_COMPONENTSPAGE_NODESC ui_file
+ The interface files with a customized dialog resource IDD_SELCOM without a description area.
+ Default: {NSISDIR}\Contrib\UIs\modern-nodesc.exe
+
+
+ MUI_WELCOMEFINISHPAGE_3LINES ini_file
+ Create a bigger area for the title on the Welcome- and Finish page, to allow displaying 3 lines of text
+ (with the default font). This setting has no effect when using a custom INI file.
+ MUI_WELCOMEFINISHPAGE_INI ini_file
+ InstallOptions INI file for the Welcome- and Finish page. You can create your own modified copy of
+ ioSpecial.ini or ioSpecial3.ini (for 3 lines title).
Default: ${NSISDIR}\Contrib\Modern UI\ioSpecial.ini
- MUI_SPECIALBITMAP bmp_file
- Bitmap for the Welcome and Finish page (recommended size: 164x314 pixels).
+
MUI_WELCOMEFINISHPAGE_BITMAP bmp_file
+ Bitmap for the Welcome- and Finish page (recommended size: 164x314 pixels).
Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp
-
MUI_SPECIALBITMAP_NOSTRETCH
+
MUI_WELCOMEFINISHPAGE_NOSTRETCH
Do not stretch the bitmap for the Welcome and Finish page to fit the size of the field.
Use this option only if you have an image that does not use the whole space. If you have a full size
bitmap that fits exactly, you should not use this option because the size of the field will be different
if the user has a custom DPI setting.
- MUI_BGCOLOR (color: RRGGBBR hexadecimal)
- Background color for the header, Welcome- and Finish page.
Default: FFFFFF
+
+ MUI_UNWELCOMEFINISHPAGE_3LINES ini_file
+ Create a bigger area for the title on the uninstaller Welcome- and Finish page, to allow displaying 3 lines of text
+ (with the default font). This setting has no effect when using a custom INI file.
+ MUI_UNWELCOMEFINISHPAGE_INI ini_file
+ InstallOptions INI file for the uninstaller Welcome- and Finish page. You can create your own modified copy of
+ ioSpecial.ini or ioSpecial3.ini (for 3 lines title).
+ Default: ${NSISDIR}\Contrib\Modern UI\ioSpecial.ini
+ MUI_UNWELCOMEFINISHPAGE_BITMAP bmp_file
+ Bitmap for the Welcome- and Finish page (recommended size: 164x314 pixels).
+ Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp
+
+
MUI_UNWELCOMEFINISHPAGE_NOSTRETCH
+ Do not stretch the bitmap for the Welcome and Finish page to fit the size of the field.
+ Use this option only if you have an image that does not use the whole space. If you have a full size
+ bitmap that fits exactly, you should not use this option because the size of the field will be different
+ if the user has a custom DPI setting.
@@ -226,7 +260,6 @@ will also help you to learn more about the Modern UI.
The background color for the license textbox. Use /windows for the default text background (usually white).
Use the /grey for the standard window background (usually grey).
Default: /windows
-
MUI_COMPONENTSPAGE_SMALLDESC
A small description area on the bottom of the page. Use this layout
@@ -248,14 +281,31 @@ will also help you to learn more about the Modern UI.
MUI_FINISHPAGE_NOAUTOCLOSE
Do not automatically jump to the finish page, to allow the user to
- check the log.
+ check the install log.
-
+
+
+
MUI_FINISHPAGE_NOAUTOCLOSE
+ Do not automatically jump to the finish page, to allow the user to
+ check the uninstall log.
+
+
MUI_ABORTWARNING
Show a message box with a warning when the user wants to close the installer.
+
MUI_ABORTWARNING_TEXT text
- Texts to display next to the abort warning messagebox.
+ Texts to display on the abort warning messagebox.
+
+
+
+
+
MUI_UNABORTWARNING
+ Show a message box with a warning when the user wants to close the uninstaller.
+
+
MUI_UNABORTWARNING_TEXT text
+ Texts to display on the abort warning messagebox.
+
Insert the following macros to set the pages you want to use.
@@ -280,11 +330,13 @@ will also help you to learn more about the Modern UI.
Uninstaller Pages
+ MUI_UNPAGE_WELCOME
MUI_UNPAGE_CONFIRM
MUI_UNPAGE_LICENSE text/rtf_file
MUI_UNPAGE_COMPONENTS
MUI_UNPAGE_DIRECTORY
MUI_UNPAGE_INSTFILES
+ MUI_UNPAGE_FINISH
@@ -690,7 +742,8 @@ FunctionEnd
These defines should be set before inserting a the language macros.
MUI_CUSTOMFUNCTION_GUIINIT function
MUI_CUSTOMFUNCTION_UNGUIINIT function
- MUI_CUSTOMFUNCTION_ABORT function
+
MUI_CUSTOMFUNCTION_ABORT function
+
MUI_CUSTOMFUNCTION_UNABORT function
@@ -708,6 +761,17 @@ FunctionEnd
+- 1.67 - October 27, 2003
+
+ - Support for uninstaller Welcome- and Finish pages
+ - Renamed a few settings
+ - Default header image
+ - Support for uninstaller abort warning
+ - Setting for 3 line text on Welcome- and Finish page
+ - Langauge file backwards compatibility: English for missing strings
+
+
+
- 1.66 - October 7, 2003
- New system for page settings and custom pages
diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh
index 9abe662c..420ed893 100644
--- a/Contrib/Modern UI/System.nsh
+++ b/Contrib/Modern UI/System.nsh
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Macro System
;Written by Joost Verburg
@@ -8,7 +8,7 @@
;License: License.txt
;Examples: Examples\Modern UI
-!echo "NSIS Modern User Interface version 1.66 - © 2002-2003 Joost Verburg"
+!echo "NSIS Modern User Interface version 1.67 - © 2002-2003 Joost Verburg"
;--------------------------------
;DECLARES
@@ -35,19 +35,19 @@ Var MUI_TEMP2
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern.exe"
!endif
- !ifndef MUI_UI_HEADERBITMAP
- !define MUI_UI_HEADERBITMAP "${NSISDIR}\Contrib\UIs\modern_headerbmp.exe"
+ !ifndef MUI_UI_HEADERIMAGE
+ !define MUI_UI_HEADERIMAGE "${NSISDIR}\Contrib\UIs\modern_headerbmp.exe"
!endif
- !ifndef MUI_UI_HEADERBITMAP_RIGHT
- !define MUI_UI_HEADERBITMAP_RIGHT "${NSISDIR}\Contrib\UIs\modern_headerbmpr.exe"
+ !ifndef MUI_UI_HEADERIMAGE_RIGHT
+ !define MUI_UI_HEADERIMAGE_RIGHT "${NSISDIR}\Contrib\UIs\modern_headerbmpr.exe"
!endif
- !ifndef MUI_UI_SMALLDESCRIPTION
- !define MUI_UI_SMALLDESCRIPTION "${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
+ !ifndef MUI_UI_COMPONENTSPAGE_SMALLDESC
+ !define MUI_UI_SMALLDESC "${NSISDIR}\Contrib\UIs\modern_smalldesc.exe"
!endif
- !ifndef MUI_UI_NODESCRIPTION
+ !ifndef MUI_UI_COMPONENTSPAGE_NODESC
!define MUI_UI_NODESCRIPTION "${NSISDIR}\Contrib\UIs\modern_nodesc.exe"
!endif
@@ -79,22 +79,44 @@ Var MUI_TEMP2
!define MUI_BGCOLOR "FFFFFF"
!endif
- !ifndef MUI_SPECIALINI
- !define MUI_SPECIALINI "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini"
+ !ifndef MUI_WELCOMEFINISHPAGE_INI
+ !ifndef MUI_WELCOMEFINISHPAGE_3LINES
+ !define MUI_WELCOMEFINISHPAGE_INI "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini"
+ !else
+ !define MUI_WELCOMEFINISHPAGE_INI "${NSISDIR}\Contrib\Modern UI\ioSpecial3.ini"
+ !endif
!endif
- !ifndef MUI_SPECIALBITMAP
- !define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
+ !ifndef MUI_UNWELCOMEFINISHPAGE_INI
+ !ifndef MUI_UNWELCOMEFINISHPAGE_3LINES
+ !define MUI_UNWELCOMEFINISHPAGE_INI "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini"
+ !else
+ !define MUI_UNWELCOMEFINISHPAGE_INI "${NSISDIR}\Contrib\Modern UI\ioSpecial3.ini"
+ !endif
+ !endif
+
+ !ifndef MUI_WELCOMEFINISHPAGE_BITMAP
+ !define MUI_WELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
+ !endif
+
+ !ifndef MUI_UNWELCOMEFINISHPAGE_BITMAP
+ !define MUI_UNWELCOMEFINISHPAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Wizard\win.bmp"
+ !endif
+
+ !ifdef MUI_HEADERIMAGE
+ !ifndef MUI_HEADERIMAGE_BITMAP
+ !define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp"
+ !endif
!endif
XPStyle On
ChangeUI all "${MUI_UI}"
- !ifdef MUI_HEADERBITMAP
- !ifndef MUI_HEADERBITMAP_RIGHT
- ChangeUI IDD_INST "${MUI_UI_HEADERBITMAP}"
+ !ifdef MUI_HEADERIMAGE
+ !ifndef MUI_HEADERIMAGE_RIGHT
+ ChangeUI IDD_INST "${MUI_UI_HEADERIMAGE}"
!else
- ChangeUI IDD_INST "${MUI_UI_HEADERBITMAP_RIGHT}"
+ ChangeUI IDD_INST "${MUI_UI_HEADERIMAGE_RIGHT}"
!endif
!endif
!ifdef MUI_COMPONENTSPAGE_SMALLDESC
@@ -282,10 +304,23 @@ Var MUI_TEMP2
!macroend
+!macro MUI_UNABORTWARNING
+
+ !ifdef MUI_UNABORTWARNING_TEXT
+ MessageBox MB_YESNO|MB_ICONEXCLAMATION "${MUI_UNABORTWARNING_TEXT}" IDYES mui.quit
+ !else
+ MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(MUI_UNTEXT_ABORTWARNING)" IDYES mui.quit
+ !endif
+
+ Abort
+ mui.quit:
+
+!macroend
+
!macro MUI_GUIINIT
!insertmacro MUI_WELCOMEFINISHPAGE_INIT
- !insertmacro MUI_HEADERBITMAP_INIT
+ !insertmacro MUI_HEADERIMAGE_INIT
!insertmacro MUI_GUIINIT_BASIC
@@ -293,10 +328,15 @@ Var MUI_TEMP2
!macro MUI_UNGUIINIT
- !insertmacro MUI_HEADERBITMAP_INIT
+ !insertmacro MUI_UNWELCOMEFINISHPAGE_INIT
+ !insertmacro MUI_HEADERIMAGE_INIT
!insertmacro MUI_UNGUIINIT_BASIC
+ !ifndef MUI_UNFINISHPAGE_NOAUTOCLOSE
+ SetAutoClose true
+ !endif
+
!macroend
!macro MUI_GUIINIT_BASIC
@@ -351,12 +391,12 @@ Var MUI_TEMP2
!ifdef MUI_WELCOMEPAGE | MUI_FINISHPAGE
- !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_SPECIALINI}" "ioSpecial.ini"
- File "/oname=$PLUGINSDIR\modern-wizard.bmp" "${MUI_SPECIALBITMAP}"
+ !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_WELCOMEFINISHPAGE_INI}" "ioSpecial.ini"
+ File "/oname=$PLUGINSDIR\modern-wizard.bmp" "${MUI_WELCOMEFINISHPAGE_BITMAP}"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\modern-wizard.bmp"
- !ifdef MUI_SPECIALBITMAP_NOSTRETCH
+ !ifdef MUI_WELCOMEFINISHPAGE_BITMAP_NOSTRETCH
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Flags" ""
!endif
@@ -364,12 +404,30 @@ Var MUI_TEMP2
!macroend
-!macro MUI_HEADERBITMAP_INIT
+!macro MUI_UNWELCOMEFINISHPAGE_INIT
- !ifdef MUI_HEADERBITMAP
+ !ifdef MUI_UNWELCOMEPAGE | UNMUI_FINISHPAGE
+
+ !insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_UNWELCOMEFINISHPAGE_INI}" "ioSpecial.ini"
+ File "/oname=$PLUGINSDIR\modern-wizard.bmp" "${MUI_UNWELCOMEFINISHPAGE_BITMAP}"
+
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\modern-wizard.bmp"
+
+ !ifdef MUI_UNWELCOMEFINISHPAGE_BITMAP_NOSTRETCH
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Flags" ""
+ !endif
+
+ !endif
+
+!macroend
+
+
+!macro MUI_HEADERIMAGE_INIT
+
+ !ifdef MUI_HEADERIMAGE
InitPluginsDir
- File "/oname=$PLUGINSDIR\modern-header.bmp" "${MUI_HEADERBITMAP}"
- !ifndef MUI_HEADERBITMAP_NOSTRETCH
+ File "/oname=$PLUGINSDIR\modern-header.bmp" "${MUI_HEADERIMAGE_BITMAP}"
+ !ifndef MUI_HEADERIMAGE_NOSTRETCH
SetBrandingImage /IMGID=1046 /RESIZETOFIT "$PLUGINSDIR\modern-header.bmp"
!else
SetBrandingImage /IMGID=1046 "$PLUGINSDIR\modern-header.bmp"
@@ -535,6 +593,14 @@ Var MUI_TEMP2
!define MUI_INSERT_INTERFACE
!endif
+ !ifndef MUI_PAGE_UNINSTALLER
+ !define MUI_PAGE_UNINSTALLER ""
+ !endif
+
+ !ifndef MUI_PAGE_UNINSTALLER_PREFIX
+ !define MUI_PAGE_UNINSTALLER_PREFIX ""
+ !endif
+
!ifdef MUI_UNIQUEID
!undef MUI_UNIQUEID
!endif
@@ -543,24 +609,50 @@ Var MUI_TEMP2
!macroend
+!macro MUI_UNPAGE_INIT
+
+ !ifndef MUI_UNINSTALLER
+ !define MUI_UNINSTALLER
+ !endif
+
+ !ifdef MUI_PAGE_UNINSTALLER
+ !undef MUI_PAGE_UNINSTALLER
+ !endif
+
+ !ifdef MUI_PAGE_UNINSTALLER_PREFIX
+ !undef MUI_PAGE_UNINSTALLER_PREFIX
+ !endif
+
+ !define MUI_PAGE_UNINSTALLER "UN"
+ !define MUI_PAGE_UNINSTALLER_PREFIX "un."
+
+!macroend
+
+!macro MUI_UNPAGE_END
+
+ !undef MUI_PAGE_UNINSTALLER
+ !undef MUI_PAGE_UNINSTALLER_PREFIX
+
+!macroend
+
!macro MUI_PAGE_WELCOME
!verbose push
!verbose 3
- !ifndef MUI_WELCOMEPAGE
- !define MUI_WELCOMEPAGE
+ !insertmacro MUI_PAGE_INIT
+
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}WELCOMEPAGE
!endif
- !insertmacro MUI_PAGE_INIT
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}custom
- PageEx custom
-
- PageCallbacks mui.WelcomePre_${MUI_UNIQUEID} mui.WelcomeLeave_${MUI_UNIQUEID}
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.WelcomePre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.WelcomeLeave_${MUI_UNIQUEID}
PageExEnd
- !insertmacro MUI_FUNCTION_WELCOMEPAGE mui.WelcomePre_${MUI_UNIQUEID} mui.WelcomeLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_WELCOMEPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.WelcomePre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.WelcomeLeave_${MUI_UNIQUEID}
!verbose pop
@@ -571,15 +663,15 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_LICENSEPAGE
- !define MUI_LICENSEPAGE
+ !insertmacro MUI_PAGE_INIT
+
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}LICENSEPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}LICENSEPAGE
!endif
- !insertmacro MUI_PAGE_INIT
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}license
- PageEx license
-
- PageCallbacks mui.LicensePre_${MUI_UNIQUEID} mui.LicenseShow_${MUI_UNIQUEID} mui.LicenseLeave_${MUI_UNIQUEID}
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicensePre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicenseShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicenseLeave_${MUI_UNIQUEID}
Caption " "
@@ -587,11 +679,11 @@ Var MUI_TEMP2
!ifndef MUI_LICENSEPAGE_TEXT
!ifndef MUI_LICENSEPAGE_CHECKBOX & MUI_LICENSEPAGE_RADIOBUTTONS
- LicenseText "$(MUI_INNERTEXT_LICENSE_BOTTOM)"
+ LicenseText "$(MUI_${MUI_PAGE_UNINSTALLER}INNERTEXT_LICENSE_BOTTOM)"
!else ifdef MUI_LICENSEPAGE_CHECKBOX
- LicenseText "$(MUI_INNERTEXT_LICENSE_BOTTOM_CHECKBOX)"
+ LicenseText "$(MUI_${MUI_PAGE_UNINSTALLER}INNERTEXT_LICENSE_BOTTOM_CHECKBOX)"
!else
- LicenseText "$(MUI_INNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS)"
+ LicenseText "$(MUI_${MUI_PAGE_UNINSTALLER}INNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS)"
!endif
!else
LicenseText ${MUI_LICENSEPAGE_TEXT}
@@ -627,7 +719,7 @@ Var MUI_TEMP2
PageExEnd
- !insertmacro MUI_FUNCTION_LICENSEPAGE mui.LicensePre_${MUI_UNIQUEID} mui.LicenseShow_${MUI_UNIQUEID} mui.LicenseLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_LICENSEPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicensePre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicenseShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.LicenseLeave_${MUI_UNIQUEID}
!verbose pop
@@ -638,15 +730,15 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_COMPONENTSPAGE
- !define MUI_COMPONENTSPAGE
+ !insertmacro MUI_PAGE_INIT
+
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}COMPONENTSPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}COMPONENTSPAGE
!endif
- !insertmacro MUI_PAGE_INIT
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}components
- PageEx components
-
- PageCallbacks mui.ComponentsPre_${MUI_UNIQUEID} mui.ComponentsShow_${MUI_UNIQUEID} mui.ComponentsLeave_${MUI_UNIQUEID}
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsLeave_${MUI_UNIQUEID}
Caption " "
@@ -657,7 +749,7 @@ Var MUI_TEMP2
PageExEnd
- !insertmacro MUI_FUNCTION_COMPONENTSPAGE mui.ComponentsPre_${MUI_UNIQUEID} mui.ComponentsShow_${MUI_UNIQUEID} mui.ComponentsLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_COMPONENTSPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.ComponentsLeave_${MUI_UNIQUEID}
!verbose pop
@@ -668,15 +760,15 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_DIRECTORYPAGE
- !define MUI_DIRECTORYPAGE
- !endif
-
!insertmacro MUI_PAGE_INIT
-
- PageEx directory
+
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}DIRECTORYPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}DIRECTORYPAGE
+ !endif
- PageCallbacks mui.DirectoryPre_${MUI_UNIQUEID} mui.DirectoryShow_${MUI_UNIQUEID} mui.DirectoryLeave_${MUI_UNIQUEID}
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}directory
+
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryLeave_${MUI_UNIQUEID}
Caption " "
@@ -692,7 +784,7 @@ Var MUI_TEMP2
PageExEnd
- !insertmacro MUI_FUNCTION_DIRECTORYPAGE mui.DirectoryPre_${MUI_UNIQUEID} mui.DirectoryShow_${MUI_UNIQUEID} mui.DirectoryLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_DIRECTORYPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.DirectoryLeave_${MUI_UNIQUEID}
!verbose pop
@@ -703,21 +795,21 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_STARTMENUPAGE
- !define MUI_STARTMENUPAGE
+ !insertmacro MUI_PAGE_INIT
+
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}STARTMENUPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}STARTMENUPAGE
!endif
- !insertmacro MUI_PAGE_INIT
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}custom
- PageEx custom
-
- PageCallbacks mui.StartmenuPre_${MUI_UNIQUEID} mui.StartmenuLeave_${MUI_UNIQUEID}
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.StartmenuPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.StartmenuLeave_${MUI_UNIQUEID}
Caption " "
PageExEnd
- !insertmacro MUI_FUNCTION_STARTMENUPAGE mui.StartmenuPre_${MUI_UNIQUEID} mui.StartmenuLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_STARTMENUPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.StartmenuPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.StartmenuLeave_${MUI_UNIQUEID}
!verbose pop
@@ -728,21 +820,17 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_INSTFILESPAGE
- !define MUI_INSTFILESPAGE
- !endif
-
!insertmacro MUI_PAGE_INIT
- PageEx instfiles
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}instfiles
- PageCallbacks mui.InstFilesPre_${MUI_UNIQUEID} mui.InstFilesShow_${MUI_UNIQUEID} mui.InstFilesLeave_${MUI_UNIQUEID}
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesLeave_${MUI_UNIQUEID}
Caption " "
PageExEnd
- !insertmacro MUI_FUNCTION_INSTFILESPAGE mui.InstFilesPre_${MUI_UNIQUEID} mui.InstFilesShow_${MUI_UNIQUEID} mui.InstFilesLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_INSTFILESPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesShow_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.InstFilesLeave_${MUI_UNIQUEID}
!verbose pop
@@ -753,26 +841,41 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_FINISHPAGE
- !define MUI_FINISHPAGE
- !endif
-
!insertmacro MUI_PAGE_INIT
- PageEx custom
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}FINISHPAGE
+ !define MUI_${MUI_PAGE_UNINSTALLER}FINISHPAGE
+ !endif
- PageCallbacks mui.FinishPre_${MUI_UNIQUEID} mui.FinishLeave_${MUI_UNIQUEID}
+ PageEx ${MUI_PAGE_UNINSTALLER_PREFIX}custom
+
+ PageCallbacks ${MUI_PAGE_UNINSTALLER_PREFIX}mui.FinishPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.FinishLeave_${MUI_UNIQUEID}
Caption " "
PageExEnd
- !insertmacro MUI_FUNCTION_FINISHPAGE mui.FinishPre_${MUI_UNIQUEID} mui.FinishLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_FUNCTION_FINISHPAGE ${MUI_PAGE_UNINSTALLER_PREFIX}mui.FinishPre_${MUI_UNIQUEID} ${MUI_PAGE_UNINSTALLER_PREFIX}mui.FinishLeave_${MUI_UNIQUEID}
!verbose pop
!macroend
+!macro MUI_UNPAGE_WELCOME
+
+ !verbose push
+ !verbose 3
+
+ !insertmacro MUI_UNPAGE_INIT
+
+ !insertmacro MUI_PAGE_WELCOME
+
+ !insertmacro MUI_UNPAGE_END
+
+ !verbose pop
+
+!macroend
+
!macro MUI_UNPAGE_CONFIRM
!verbose push
@@ -812,44 +915,11 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_UNLICENSEPAGE
- !define MUI_UNLICENSEPAGE
- !endif
+ !insertmacro MUI_UNPAGE_INIT
- !insertmacro MUI_PAGE_INIT
+ !insertmacro MUI_PAGE_LICENSE "${LICENSEDATA}"
- PageEx un.license
-
- PageCallbacks un.mui.LicensePre_${MUI_UNIQUEID} un.mui.LicenseShow_${MUI_UNIQUEID} un.mui.LicenseLeave_${MUI_UNIQUEID}
-
- Caption " "
-
- LicenseData "${LICENSEDATA}"
-
- !ifndef MUI_LICENSEPAGE_TEXT
- !ifndef MUI_LICENSEPAGE_CHECKBOX & MUI_LICENSEPAGE_RADIOBUTTONS
- LicenseText "$(MUI_UNINNERTEXT_LICENSE_BOTTOM)"
- !else ifdef MUI_LICENSEPAGE_CHECKBOX
- LicenseText "$(MUI_UNINNERTEXT_LICENSE_BOTTOM_CHECKBOX)"
- !else
- LicenseText "$(MUI_UNINNERTEXT_LICENSE_BOTTOM_RADIOBUTTONS)"
- !endif
- !else
- LicenseText ${MUI_LICENSEPAGE_TEXT}
- !undef MUI_LICENSEPAGE_TEXT
- !endif
-
- !ifdef MUI_LICENSEPAGE_CHECKBOX
- LicenseForceSelection checkbox
- !undef MUI_LICENSEPAGE_CHECKBOX
- !else ifdef MUI_LICENSEPAGE_RADIOBUTTONS
- LicenseForceSelection radiobuttons
- !undef MUI_LICENSEPAGE_RADIOBUTTONS
- !endif
-
- PageExEnd
-
- !insertmacro MUI_UNFUNCTION_LICENSEPAGE un.mui.LicensePre_${MUI_UNIQUEID} un.mui.LicenseShow_${MUI_UNIQUEID} un.mui.LicenseLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_UNPAGE_END
!verbose pop
@@ -860,33 +930,14 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_UNINSTALLER
- !define MUI_UNINSTALLER
- !endif
-
- !ifndef MUI_UNCOMPONENTSPAGE
- !define MUI_UNCOMPONENTSPAGE
- !endif
+ !insertmacro MUI_UNPAGE_INIT
- !insertmacro MUI_PAGE_INIT
+ !insertmacro MUI_PAGE_COMPONENTS
- PageEx un.components
-
- PageCallbacks un.mui.ComponentsPre_${MUI_UNIQUEID} un.mui.ComponentsShow_${MUI_UNIQUEID} un.mui.ComponentsLeave_${MUI_UNIQUEID}
-
- Caption " "
-
- !ifdef MUI_COMPONENTSPAGE_TEXT
- ComponentText ${MUI_COMPONENTSPAGE_TEXT}
- !undef MUI_COMPONENTSPAGE_TEXT
- !endif
-
- PageExEnd
-
- !insertmacro MUI_UNFUNCTION_COMPONENTSPAGE un.mui.ComponentsPre_${MUI_UNIQUEID} un.mui.ComponentsShow_${MUI_UNIQUEID} un.mui.ComponentsLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_UNPAGE_END
!verbose pop
-
+
!macroend
!macro MUI_UNPAGE_DIRECTORY
@@ -894,31 +945,11 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_UNDIRECTORYPAGE
- !define MUI_UNDIRECTORYPAGE
- !endif
-
- !insertmacro MUI_PAGE_INIT
-
- PageEx un.directory
+ !insertmacro MUI_UNPAGE_INIT
- PageCallbacks un.mui.DirectoryPre_${MUI_UNIQUEID} un.mui.DirectoryShow_${MUI_UNIQUEID} un.mui.DirectoryLeave_${MUI_UNIQUEID}
-
- Caption " "
-
- !ifdef MUI_DIRECTORYPAGE_TEXT
- DirText ${MUI_DIRECTORYPAGE_TEXT}
- !undef MUI_DIRECTORYPAGE_TEXT
- !endif
-
- !ifdef MUI_DIRECTORYPAGE_VARIABLE
- DirVar "${MUI_DIRECTORYPAGE_VARIABLE}"
- !undef "MUI_DIRECTORYPAGE_VARAIBLE"
- !endif
-
- PageExEnd
+ !insertmacro MUI_PAGE_DIRECTORY
- !insertmacro MUI_UNFUNCTION_DIRECTORYPAGE un.mui.DirectoryPre_${MUI_UNIQUEID} un.mui.DirectoryShow_${MUI_UNIQUEID} un.mui.DirectoryLeave_${MUI_UNIQUEID}
+ !insertmacro MUI_UNPAGE_END
!verbose pop
@@ -929,28 +960,29 @@ Var MUI_TEMP2
!verbose push
!verbose 3
- !ifndef MUI_UNINSTALLER
- !define MUI_UNINSTALLER
- !endif
+ !insertmacro MUI_UNPAGE_INIT
- !ifndef MUI_UNINSTFILESPAGE
- !define MUI_UNINSTFILESPAGE
- !endif
+ !insertmacro MUI_PAGE_INSTFILES
- !insertmacro MUI_PAGE_INIT
+ !insertmacro MUI_UNPAGE_END
- PageEx un.instfiles
-
- PageCallbacks un.mui.InstFilesPre_${MUI_UNIQUEID} un.mui.InstFilesShow_${MUI_UNIQUEID} un.mui.InstFilesLeave_${MUI_UNIQUEID}
-
- Caption " "
-
- PageExEnd
-
- !insertmacro MUI_UNFUNCTION_INSTFILESPAGE un.mui.InstFilesPre_${MUI_UNIQUEID} un.mui.InstFilesShow_${MUI_UNIQUEID} un.mui.InstFilesLeave_${MUI_UNIQUEID}
-
!verbose pop
-
+
+!macroend
+
+!macro MUI_UNPAGE_FINISH
+
+ !verbose push
+ !verbose 3
+
+ !insertmacro MUI_UNPAGE_INIT
+
+ !insertmacro MUI_PAGE_FINISH
+
+ !insertmacro MUI_UNPAGE_END
+
+ !verbose pop
+
!macroend
;--------------------------------
@@ -1101,14 +1133,14 @@ Var MUI_TEMP2
Function "${PRE}"
!ifndef MUI_WELCOMEPAGE_TITLE
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_TEXT_WELCOME_INFO_TITLE)"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_WELCOME_INFO_TITLE)"
!else
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "${MUI_WELCOMEPAGE_TITLE}"
!undef MUI_WELCOMEPAGE_TITLE
!endif
!ifndef MUI_WELCOMEPAGE_TEXT
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_TEXT_WELCOME_INFO_TEXT)"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_WELCOME_INFO_TEXT)"
!else
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "${MUI_WELCOMEPAGE_TEXT}"
!undef MUI_WELCOMEPAGE_TEXT
@@ -1187,7 +1219,7 @@ Var MUI_TEMP2
Function "${PRE}"
!insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_TEXT_LICENSE_TITLE) $(MUI_TEXT_LICENSE_SUBTITLE)
+ !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_LICENSE_TITLE) $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_LICENSE_SUBTITLE)
FunctionEnd
@@ -1220,7 +1252,7 @@ Var MUI_TEMP2
Function "${PRE}"
!insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_TEXT_COMPONENTS_TITLE) $(MUI_TEXT_COMPONENTS_SUBTITLE)
+ !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_COMPONENTS_TITLE) $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_COMPONENTS_SUBTITLE)
FunctionEnd
Function "${SHOW}"
@@ -1260,7 +1292,7 @@ Var MUI_TEMP2
Function "${PRE}"
!insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_TEXT_DIRECTORY_TITLE) $(MUI_TEXT_DIRECTORY_SUBTITLE)
+ !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_DIRECTORY_TITLE) $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_DIRECTORY_SUBTITLE)
FunctionEnd
Function "${SHOW}"
@@ -1356,7 +1388,7 @@ Var MUI_TEMP2
Function "${PRE}"
!insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_TEXT_INSTALLING_TITLE) $(MUI_TEXT_INSTALLING_SUBTITLE)
+ !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_${MUI_PAGE_UNINSTALLER}INSTALLING_TITLE) $(MUI_${MUI_PAGE_UNINSTALLER}TEXT_${MUI_PAGE_UNINSTALLER}INSTALLING_SUBTITLE)
FunctionEnd
@@ -1425,7 +1457,7 @@ Var MUI_TEMP2
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "${MUI_FINISHPAGE_TITLE}"
!undef MUI_FINISHPAGE_TITLE
!else
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_TEXT_FINISH_INFO_TITLE)"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_INFO_TITLE)"
!endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Bottom" "85"
@@ -1452,8 +1484,13 @@ Var MUI_TEMP2
!endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "321"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "90"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "100"
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEFINISHPAGE_3LINES
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "90"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "100"
+ !else
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "100"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "110"
+ !endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Type" "RadioButton"
!ifdef MUI_FINISHPAGE_TEXT_REBOOTLATER
@@ -1464,8 +1501,13 @@ Var MUI_TEMP2
!endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Left" "120"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Right" "321"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Top" "110"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "120"
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEFINISHPAGE_3LINES
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Top" "110"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "120"
+ !else
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Top" "110"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "120"
+ !endif
Goto mui.finish_load
@@ -1477,7 +1519,7 @@ Var MUI_TEMP2
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "${MUI_FINISHPAGE_TEXT}"
!undef MUI_FINISHPAGE_TEXT
!else
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_TEXT_FINISH_INFO_TEXT)"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_${MUI_PAGE_UNINSTALLER}TEXT_FINISH_INFO_TEXT)"
!endif
!ifdef MUI_FINISHPAGE_RUN
@@ -1491,8 +1533,13 @@ Var MUI_TEMP2
!endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "315"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "90"
- !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "100"
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEFINISHPAGE_3LINES
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "90"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "100"
+ !else
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "100"
+ !insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "110"
+ !endif
!ifndef MUI_FINISHPAGE_RUN_NOTCHECKED
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
!endif
@@ -1507,12 +1554,22 @@ Var MUI_TEMP2
!ifndef MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_CURFIELD_NO 4
- !define MUI_FINISHPAGE_CURFIELD_TOP 90
- !define MUI_FINISHPAGE_CURFIELD_BOTTOM 100
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEFINISHPAGE_3LINES
+ !define MUI_FINISHPAGE_CURFIELD_TOP 90
+ !define MUI_FINISHPAGE_CURFIELD_BOTTOM 100
+ !else
+ !define MUI_FINISHPAGE_CURFIELD_TOP 100
+ !define MUI_FINISHPAGE_CURFIELD_BOTTOM 110
+ !endif
!else
!define MUI_FINISHPAGE_CURFIELD_NO 5
- !define MUI_FINISHPAGE_CURFIELD_TOP 110
- !define MUI_FINISHPAGE_CURFIELD_BOTTOM 120
+ !ifndef MUI_${MUI_PAGE_UNINSTALLER}WELCOMEFINISHPAGE_3LINES
+ !define MUI_FINISHPAGE_CURFIELD_TOP 110
+ !define MUI_FINISHPAGE_CURFIELD_BOTTOM 120
+ !else
+ !define MUI_FINISHPAGE_CURFIELD_TOP 120
+ !define MUI_FINISHPAGE_CURFIELD_BOTTOM 130
+ !endif
!endif
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field ${MUI_FINISHPAGE_CURFIELD_NO}" "Type" "CheckBox"
@@ -1577,21 +1634,20 @@ Var MUI_TEMP2
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioSpecial.ini"
Pop $MUI_HWND
-
SetCtlColors $MUI_HWND "" "${MUI_BGCOLOR}"
GetDlgItem $MUI_TEMP1 $MUI_HWND 1201
SetCtlColors $MUI_TEMP1 "" "${MUI_BGCOLOR}"
- GetDlgItem $MUI_TEMP1 $MUI_HWND 1201
- SetCtlColors $MUI_TEMP1 "" "${MUI_BGCOLOR}"
-
CreateFont $MUI_TEMP2 "$(MUI_FONT)" "12" "700"
SendMessage $MUI_TEMP1 ${WM_SETFONT} $MUI_TEMP2 0
GetDlgItem $MUI_TEMP1 $MUI_HWND 1202
SetCtlColors $MUI_TEMP1 "" "${MUI_BGCOLOR}"
+ GetDlgItem $MUI_TEMP1 $MUI_HWND 1200
+ SetCtlColors $MUI_TEMP1 "" "${MUI_BGCOLOR}"
+
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
IfRebootFlag 0 mui.finish_noreboot_show
@@ -1837,17 +1893,29 @@ Var MUI_TEMP2
!macro MUI_FUNCTION_ABORTWARNING
- !ifdef MUI_ABORTWARNING
- Function .onUserAbort
+ Function .onUserAbort
+ !ifdef MUI_ABORTWARNING
!insertmacro MUI_ABORTWARNING
!ifdef MUI_CUSTOMFUNCTION_ABORT
Call "${MUI_CUSTOMFUNCTION_ABORT}"
!endif
- FunctionEnd
- !endif
+ !endif
+ FunctionEnd
!macroend
+!macro MUI_FUNCTION_UNABORTWARNING
+
+ Function un.onUserAbort
+ !ifdef MUI_UNABORTWARNING
+ !insertmacro MUI_UNABORTWARNING
+ !ifdef MUI_CUSTOMFUNCTION_UNABORT
+ Call "${MUI_CUSTOMFUNCTION_UNABORT}"
+ !endif
+ !endif
+ FunctionEnd
+
+!macroend
!macro MUI_UNFUNCTION_GUIINIT
Function un.onGUIInit
@@ -1885,121 +1953,6 @@ Var MUI_TEMP2
!macroend
-!macro MUI_UNFUNCTION_LICENSEPAGE PRE SHOW LEAVE
-
- Function "${PRE}"
-
- !insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_UNTEXT_LICENSE_TITLE) $(MUI_UNTEXT_LICENSE_SUBTITLE)
-
- FunctionEnd
-
- Function "${SHOW}"
-
- !ifndef MUI_LICENSEPAGE_TEXT_TOP
- !insertmacro MUI_INNERDIALOG_TEXT 1040 $(MUI_INNERTEXT_LICENSE_TOP)
- !else
- !insertmacro MUI_INNERDIALOG_TEXT 1040 "${MUI_LICENSEPAGE_TEXT_TOP}"
- !undef MUI_LICENSEPAGE_TEXT_TOP
- !endif
- !insertmacro MUI_FUNCTION_CUSTOM SHOW
-
- FunctionEnd
-
- Function "${LEAVE}"
-
- !insertmacro MUI_FUNCTION_CUSTOM LEAVE
-
- FunctionEnd
-
-!macroend
-
-!macro MUI_UNFUNCTION_COMPONENTSPAGE PRE SHOW LEAVE
-
- !ifndef MUI_VAR_TEXT
- Var MUI_TEXT
- !define MUI_VAR_TEXT
- !endif
-
- Function "${PRE}"
- !insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_UNTEXT_COMPONENTS_TITLE) $(MUI_UNTEXT_COMPONENTS_SUBTITLE)
- FunctionEnd
-
- Function "${SHOW}"
-
- !ifdef MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE
- !insertmacro MUI_INNERDIALOG_TEXT 1042 "${MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE}"
- !undef MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE
- !else
- !insertmacro MUI_INNERDIALOG_TEXT 1042 "$(MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE)"
- !endif
-
- FindWindow $MUI_TEMP1 "#32770" "" $HWNDPARENT
- GetDlgItem $MUI_TEMP1 $MUI_TEMP1 1043
- EnableWindow $MUI_TEMP1 0
-
- !ifdef MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO
- !insertmacro MUI_INNERDIALOG_TEXT 1043 "${MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO}"
- StrCpy $MUI_TEXT "${MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO}"
- !undef MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO
- !else
- !insertmacro MUI_INNERDIALOG_TEXT 1043 "$(MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO)"
- StrCpy $MUI_TEXT "$(MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO)"
- !endif
- !insertmacro MUI_FUNCTION_CUSTOM SHOW
-
- FunctionEnd
-
- Function "${LEAVE}"
-
- !insertmacro MUI_FUNCTION_CUSTOM LEAVE
-
- FunctionEnd
-
-!macroend
-
-!macro MUI_UNFUNCTION_DIRECTORYPAGE PRE SHOW LEAVE
-
- Function "${PRE}"
- !insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_UNTEXT_DIRECTORY_TITLE) $(MUI_UNTEXT_DIRECTORY_SUBTITLE)
- FunctionEnd
-
- Function "${SHOW}"
- !insertmacro MUI_FUNCTION_CUSTOM SHOW
- FunctionEnd
-
- Function "${LEAVE}"
- !insertmacro MUI_FUNCTION_CUSTOM LEAVE
- FunctionEnd
-
-!macroend
-
-!macro MUI_UNFUNCTION_INSTFILESPAGE PRE SHOW LEAVE
-
- Function ${PRE}
-
- !insertmacro MUI_FUNCTION_CUSTOM PRE
- !insertmacro MUI_HEADER_TEXT_PAGE $(MUI_UNTEXT_UNINSTALLING_TITLE) $(MUI_UNTEXT_UNINSTALLING_SUBTITLE)
-
- FunctionEnd
-
- Function "${SHOW}"
-
- !insertmacro MUI_FUNCTION_CUSTOM SHOW
-
- FunctionEnd
-
- Function "${LEAVE}"
-
- !insertmacro MUI_FUNCTION_CUSTOM LEAVE
- !insertmacro MUI_UNFINISHHEADER
-
- FunctionEnd
-
-!macroend
-
;--------------------------------
;RESERVE FILES
@@ -2048,6 +2001,7 @@ Var MUI_TEMP2
!ifdef MUI_UNINSTALLER
!insertmacro MUI_UNFUNCTION_GUIINIT
+ !insertmacro MUI_FUNCTION_UNABORTWARNING
!endif
!macroend
@@ -2226,6 +2180,8 @@ Var MUI_TEMP2
!undef MUI_TEXT_ABORTWARNING
!endif
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE WELCOME "MUI_UNTEXT_WELCOME_INFO_TITLE"
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE WELCOME "MUI_UNTEXT_WELCOME_INFO_TEXT"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE CONFIRM "MUI_UNTEXT_CONFIRM_TITLE"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE CONFIRM "MUI_UNTEXT_CONFIRM_SUBTITLE"
@@ -2247,14 +2203,23 @@ Var MUI_TEMP2
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE DIRECTORY "MUI_UNTEXT_DIRECTORY_TITLE"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE DIRECTORY "MUI_UNTEXT_DIRECTORY_SUBTITLE"
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_TITLE"
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_SUBTITLE"
+
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_FINISH_TITLE"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_FINISH_SUBTITLE"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_ABORT_TITLE"
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_ABORT_SUBTITLE"
- !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_TITLE"
- !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_SUBTITLE"
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE FINISH "MUI_UNTEXT_FINISH_INFO_TITLE"
+ !insertmacro MUI_LANGUAGEFILE_UNLANGSTRING_PAGE FINISH "MUI_UNTEXT_FINISH_INFO_TEXT"
+
+ !ifdef MUI_UNABORTWARNING
+ !insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_UNTEXT_ABORTWARNING"
+ !else
+ !undef MUI_UNTEXT_ABORTWARNING
+ !endif
!macroend
@@ -2265,4 +2230,4 @@ Var MUI_TEMP2
!ifndef MUI_MANUALVERBOSE
!verbose 4
-!endif
\ No newline at end of file
+!endif
\ No newline at end of file
diff --git a/Examples/Modern UI/Basic.nsi b/Examples/Modern UI/Basic.nsi
index 1faa5d19..6e501262 100644
--- a/Examples/Modern UI/Basic.nsi
+++ b/Examples/Modern UI/Basic.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Basic Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "Basic.exe"
;Folder selection page
diff --git a/Examples/Modern UI/HeaderBitmap.nsi b/Examples/Modern UI/HeaderBitmap.nsi
index 33b0e7aa..8f4ecccc 100644
--- a/Examples/Modern UI/HeaderBitmap.nsi
+++ b/Examples/Modern UI/HeaderBitmap.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Header Bitmap Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "HeaderBitmap.exe"
;Folder selection page
@@ -23,7 +23,7 @@
;--------------------------------
;Modern UI Configuration
- !define MUI_HEADERBITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp"
+ !define MUI_HEADERIMAGE
!define MUI_ABORTWARNING
;--------------------------------
diff --git a/Examples/Modern UI/InstallOptions.nsi b/Examples/Modern UI/InstallOptions.nsi
index 78204e4b..c1fc5d76 100644
--- a/Examples/Modern UI/InstallOptions.nsi
+++ b/Examples/Modern UI/InstallOptions.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;InstallOptions Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "InstallOptions.exe"
;Folder selection page
diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi
index ed09cf13..d5de5ee8 100644
--- a/Examples/Modern UI/MultiLanguage.nsi
+++ b/Examples/Modern UI/MultiLanguage.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Multilingual Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "MultiLanguage.exe"
;Folder selection page
diff --git a/Examples/Modern UI/StartMenu.nsi b/Examples/Modern UI/StartMenu.nsi
index 319b658b..eede1995 100644
--- a/Examples/Modern UI/StartMenu.nsi
+++ b/Examples/Modern UI/StartMenu.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Start Menu Folder Selection Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "StartMenu.exe"
;Folder selection page
diff --git a/Examples/Modern UI/WelcomeFinish.nsi b/Examples/Modern UI/WelcomeFinish.nsi
index ba9b93bc..7a7c8d5d 100644
--- a/Examples/Modern UI/WelcomeFinish.nsi
+++ b/Examples/Modern UI/WelcomeFinish.nsi
@@ -1,4 +1,4 @@
-;NSIS Modern User Interface version 1.66
+;NSIS Modern User Interface version 1.67
;Welcome/Finish Page Example Script
;Written by Joost Verburg
@@ -11,7 +11,7 @@
;Configuration
;General
- Name "Modern UI Test 1.66"
+ Name "Modern UI Test 1.67"
OutFile "WelcomeFinish.exe"
;Folder selection page
@@ -35,8 +35,10 @@
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
+ !insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
+ !insertmacro MUI_UNPAGE_FINISH
;--------------------------------
;Languages
diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi
index 315da984..b42d8e69 100644
--- a/Examples/makensis.nsi
+++ b/Examples/makensis.nsi
@@ -42,7 +42,7 @@ Caption "NSIS ${VER_DISPLAY} Setup"
;Interface Settings
!define MUI_ABORTWARNING
-!define MUI_HEADERBITMAP "${NSISDIR}\Contrib\Graphics\Header\nsis.bmp"
+!define MUI_HEADERIMAGE
!define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Graphics\Wizard\nullsoft.bmp"
!define MUI_COMPONENTSPAGE_SMALLDESC