Modern UI 1.67
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3042 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7787f4cb4b
commit
8442558574
15 changed files with 434 additions and 371 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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."
|
||||
!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?"
|
|
@ -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
|
|
@ -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
|
|
@ -174,17 +174,6 @@ will also help you to learn more about the Modern UI.</p>
|
|||
<div class="margin">
|
||||
<p class="text">For UI elements that are enabled by default, the default value will be used when a setting
|
||||
has not been defined.</p>
|
||||
<p class="text"><span class="bold">MUI_UI </span><span class="parameter">ui_file</span><br />
|
||||
The interface file with the dialog resources. Change this if you have made your own customized UI.<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\UIs\modern.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_HEADERBITMAP </span><span class="parameter">ui_file</span><br />
|
||||
<span class="bold">MUI_UI_HEADERBITMAP_RIGHT </span><span class="parameter">ui_file</span><br />
|
||||
The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
|
||||
the header bitmap.<br /><i>Defaults: ${NSISDIR}\Contrib\UIs\modern-headerbmp.exe,
|
||||
${NSISDIR}\Contrib\UIs\modern-headerbmpr.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_SMALLDESCRIPTION<br />MUI_UI_NODESCRIPTION</span><br />
|
||||
The interface files with a customized dialog resource IDD_SELCOM for a small or no description area.<br />
|
||||
<i>Defaults: {NSISDIR}\Contrib\UIs\modern-smalldesc.exe, {NSISDIR}\Contrib\UIs\modern-nodesc.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_ICON </span><span class="parameter">icon_file</span><br />
|
||||
The icon of the installer.<br /><i>Default: ${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico</i></p>
|
||||
<p class="text"><span class="bold">MUI_UNICON </span><span class="parameter">icon_file</span><br />
|
||||
|
@ -192,32 +181,77 @@ will also help you to learn more about the Modern UI.</p>
|
|||
<p class="text"><span class="bold">MUI_CHECKBITMAP </span><span class="parameter">bitmap_file</span><br />
|
||||
The bitmap with images for the checks of the component select treeview.<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Graphics\Checks\modern.bmp</i></p>
|
||||
<p class="text"><span class="bold">MUI_HEADERBITMAP </span><span class="parameter">bmp_file</span><br />
|
||||
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.</p>
|
||||
<p class="text"><span class="bold">MUI_HEADERIMAGE</span><br />
|
||||
Display an image on the header of page.</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_HEADERBITMAP_RIGHT</span><br />
|
||||
<p class="text"><span class="bold">MUI_HEADERIMAGE_BITMAP </span><span class="parameter">bmp_file</span><br />
|
||||
Bitmap image to display on the header of the page (recommended size: 150x57 pixels).<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Graphics\Header\nsis.bmp</i></p>
|
||||
<p class="text"><span class="bold">MUI_HEADERIMAGE_RIGHT</span><br />
|
||||
Display the header image on the right side instead of the left side.</p>
|
||||
<p class="text"><span class="bold">MUI_HEADERBITMAP_NOSTRETCH</span><br />
|
||||
<p class="text"><span class="bold">MUI_HEADERIMAGE_NOSTRETCH</span><br />
|
||||
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.</p>
|
||||
</div>
|
||||
<p class="text"><span class="bold">MUI_SPECIALINI </span><span class="parameter">ini_file</span><br />
|
||||
InstallOptions INI file for the Welcome and Finish page.<br />
|
||||
<p class="text"><span class="bold">MUI_BGCOLOR </span><span class="parameter">(color: RRGGBBR hexadecimal)</span><br />
|
||||
Background color for the header, Welcome- and Finish page.<br /><i>Default: FFFFFF</i></p>
|
||||
</div>
|
||||
<p class="sub2header">User Interface Resource Settings</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_UI </span><span class="parameter">ui_file</span><br />
|
||||
The interface file with the dialog resources. Change this if you have made your own customized UI.<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\UIs\modern.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_HEADERIMAGE </span><span class="parameter">ui_file</span><br />
|
||||
The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
|
||||
the header bitmap.<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\UIs\modern-headerbmp.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_HEADERIMAGE_RIGHT </span><span class="parameter">ui_file</span><br />
|
||||
The interface files with the dialog resource IDD_INST that contains a bitmap control and space for
|
||||
the header bitmap on the right side.<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\UIs\modern-headerbmpr.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_COMPONENTSPAGE_SMALLDESC </span><span class="parameter">ui_file</span><br />
|
||||
The interface files with a customized dialog resource IDD_SELCOM with a small description area.<br />
|
||||
<i>Default: {NSISDIR}\Contrib\UIs\modern-smalldesc.exe</i></p>
|
||||
<p class="text"><span class="bold">MUI_UI_COMPONENTSPAGE_NODESC </span><span class="parameter">ui_file</span><br />
|
||||
The interface files with a customized dialog resource IDD_SELCOM without a description area.<br />
|
||||
<i>Default: {NSISDIR}\Contrib\UIs\modern-nodesc.exe</i></p>
|
||||
</div>
|
||||
<p class="sub2header">Welcome/Finish Page Interface Settings</p>
|
||||
<p class="text"><span class="bold">MUI_WELCOMEFINISHPAGE_3LINES </span><span class="parameter">ini_file</span><br />
|
||||
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.</p>
|
||||
<p class="text"><span class="bold">MUI_WELCOMEFINISHPAGE_INI </span><span class="parameter">ini_file</span><br />
|
||||
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).<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Modern UI\ioSpecial.ini</i></p>
|
||||
<p class="text"><span class="bold">MUI_SPECIALBITMAP </span><span class="parameter">bmp_file</span><br />
|
||||
Bitmap for the Welcome and Finish page (recommended size: 164x314 pixels).<br />
|
||||
<p class="text"><span class="bold">MUI_WELCOMEFINISHPAGE_BITMAP </span><span class="parameter">bmp_file</span><br />
|
||||
Bitmap for the Welcome- and Finish page (recommended size: 164x314 pixels).<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp</i></p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_SPECIALBITMAP_NOSTRETCH</span><br />
|
||||
<p class="text"><span class="bold">MUI_WELCOMEFINISHPAGE_NOSTRETCH</span><br />
|
||||
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.</p>
|
||||
</div>
|
||||
<p class="text"><span class="bold">MUI_BGCOLOR </span><span class="parameter">(color: RRGGBBR hexadecimal)</span><br />
|
||||
Background color for the header, Welcome- and Finish page.<br /><i>Default: FFFFFF</i></p>
|
||||
<p class="sub2header">Uninstaller Welcome/Finish Page Interface Settings</p>
|
||||
<p class="text"><span class="bold">MUI_UNWELCOMEFINISHPAGE_3LINES </span><span class="parameter">ini_file</span><br />
|
||||
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.</p>
|
||||
<p class="text"><span class="bold">MUI_UNWELCOMEFINISHPAGE_INI </span><span class="parameter">ini_file</span><br />
|
||||
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).<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Modern UI\ioSpecial.ini</i></p>
|
||||
<p class="text"><span class="bold">MUI_UNWELCOMEFINISHPAGE_BITMAP </span><span class="parameter">bmp_file</span><br />
|
||||
Bitmap for the Welcome- and Finish page (recommended size: 164x314 pixels).<br />
|
||||
<i>Default: ${NSISDIR}\Contrib\Graphics\Wizard\win.bmp</i></p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_UNWELCOMEFINISHPAGE_NOSTRETCH</span><br />
|
||||
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.</p>
|
||||
</div>
|
||||
<p class="sub2header">License Page Interface Settings</p>
|
||||
<div class="margin">
|
||||
|
@ -226,7 +260,6 @@ will also help you to learn more about the Modern UI.</p>
|
|||
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).<br /><i>Default: /windows</i></p>
|
||||
</div>
|
||||
<p class="sub2header">Components Page Interface Settings</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_COMPONENTSPAGE_SMALLDESC</span><br />
|
||||
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.</p>
|
|||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_FINISHPAGE_NOAUTOCLOSE</span><br />
|
||||
Do not automatically jump to the finish page, to allow the user to
|
||||
check the log.</p>
|
||||
check the install log.</p>
|
||||
</div>
|
||||
<p class="sub2header">Abort Warning Message Settings</p>
|
||||
<p class="sub2header">Uninstaller Finish Page Interface Settings</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_FINISHPAGE_NOAUTOCLOSE</span><br />
|
||||
Do not automatically jump to the finish page, to allow the user to
|
||||
check the uninstall log.</p>
|
||||
</div>
|
||||
<p class="sub2header">Abort Warning Settings</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_ABORTWARNING</span><br />
|
||||
Show a message box with a warning when the user wants to close the installer.</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_ABORTWARNING_TEXT </span><span class="parameter">text </span><br />
|
||||
Texts to display next to the abort warning messagebox.</p>
|
||||
Texts to display on the abort warning messagebox.</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="sub2header">Uninstaller Abort Warning Settings</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_UNABORTWARNING</span><br />
|
||||
Show a message box with a warning when the user wants to close the uninstaller.</p>
|
||||
<div class="margin">
|
||||
<p class="text"><span class="bold">MUI_UNABORTWARNING_TEXT </span><span class="parameter">text </span><br />
|
||||
Texts to display on the abort warning messagebox.</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="subheader">3. Pages</p>
|
||||
<p class="text">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.</p>
|
|||
</p>
|
||||
<p class="text">
|
||||
<span class="bold">Uninstaller Pages</span><br />
|
||||
MUI_UNPAGE_WELCOME<br />
|
||||
MUI_UNPAGE_CONFIRM<br />
|
||||
MUI_UNPAGE_LICENSE <span class="parameter">text/rtf_file</span><br />
|
||||
MUI_UNPAGE_COMPONENTS<br />
|
||||
MUI_UNPAGE_DIRECTORY<br />
|
||||
MUI_UNPAGE_INSTFILES<br />
|
||||
MUI_UNPAGE_FINISH<br />
|
||||
</p>
|
||||
<p class="sub2header">Page Settings</p>
|
||||
<div class="margin">
|
||||
|
@ -690,7 +742,8 @@ FunctionEnd
|
|||
<p class="text">These defines should be set before inserting a the language macros.</p>
|
||||
<p class="text"><span class="bold">MUI_CUSTOMFUNCTION_GUIINIT </span><span class="parameter">function </span><br />
|
||||
<span class="bold">MUI_CUSTOMFUNCTION_UNGUIINIT </span><span class="parameter">function </span><br />
|
||||
<span class="bold">MUI_CUSTOMFUNCTION_ABORT </span><span class="parameter">function </span></p>
|
||||
<span class="bold">MUI_CUSTOMFUNCTION_ABORT </span><span class="parameter">function </span><br />
|
||||
<span class="bold">MUI_CUSTOMFUNCTION_UNABORT </span><span class="parameter">function </span></p>
|
||||
</div>
|
||||
<p class="sub2header">Page Custom Functions</p>
|
||||
<div class="margin">
|
||||
|
@ -708,6 +761,17 @@ FunctionEnd
|
|||
</div>
|
||||
<p class="header">Version history</p>
|
||||
<ul>
|
||||
<li>1.67 - October 27, 2003
|
||||
<ul>
|
||||
<li>Support for uninstaller Welcome- and Finish pages</li>
|
||||
<li>Renamed a few settings</li>
|
||||
<li>Default header image</li>
|
||||
<li>Support for uninstaller abort warning</li>
|
||||
<li>Setting for 3 line text on Welcome- and Finish page</li>
|
||||
<li>Langauge file backwards compatibility: English for missing strings</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<ul>
|
||||
<li>1.66 - October 7, 2003
|
||||
<ul>
|
||||
<li>New system for page settings and custom pages</li>
|
||||
|
|
|
@ -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
|
||||
!endif
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
;--------------------------------
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue