diff --git a/Contrib/InstallOptions/Readme.html b/Contrib/InstallOptions/Readme.html index 4b59f022..c17be120 100644 --- a/Contrib/InstallOptions/Readme.html +++ b/Contrib/InstallOptions/Readme.html @@ -399,7 +399,7 @@ numbers from 1 to NumFields. Each Field section can contain the following values one to allow navigation between groups with the Tab key.
How to use
Modern UI
@@ -520,9 +520,11 @@ FunctionEnd1. Include the header file
!include "MUI.nsh"
MUI.nsh is in the Include directory, so you don't have - to specify a path. + to specify a path.
2. Define the name and version of your software
!define MUI_PRODUCT "Test Software" ;Define your own software name here @@ -177,13 +177,12 @@ follow these steps: Show the Start Menu Folder selection page.
If you did not disable the 'Do not create shortcuts' checkbox, put the script code to write the shortcuts between these macro's, - because the creation can be disabled by the user: + because the creation can be disabled by the user:!insertmacro MUI_STARTMENU_WRITE_BEGIN ...create the shortcuts... !insertmacro MUI_STARTMENU_WRITE_END-MUI_STARTMENUPAGE_VARIABLE variable
MUI_FONTSTYLE_HEADER weight [/ITALIC] [/UNDERLINE] [/STRIKE]
Variable to store the current Start Menu Folder. Default is $9. @@ -278,7 +277,7 @@ follow these steps:
The font for the title in the header.
Defaults: MS Shell Dlg, 8, 700MUI_FONT_TITLE font_name
- MUI_FONTSIZE_TITLE font_size + MUI_FONTSIZE_TITLE font_size
MUI_FONTSTYLE_TITLE weight [/ITALIC] [/UNDERLINE] [/STRIKE]
The font for the title on the Welcome and Finish page.
Defaults: Verdana, 12, 700MUI_INSTALLCOLORS (/windows | (foreground color: RRBBGG) @@ -286,7 +285,7 @@ follow these steps:
The colors of the details screen. Use /windows instead of the colors to use the Windows colors (the default).
Default: /windowsMUI_PROGRESSBAR ("" | colored | smooth)
+ The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.
- The style of the progress bar. Colored makes it use the MUI_INSTALLCOLORS.Default: smooth
Default: smoothMUI_HEADERBITMAP bmp_file
Bitmap to display in the white header. With the default DPI, a bitmap with a size 150x57 won't have to be resized. The NSIS Setup uses the ${NSISDIR}\Contrib\Icons\modern-header.bmp bitmap, @@ -511,7 +510,7 @@ ReserveFile "ioFile.ini" ;Your own InstallOptions INI filesTo modify the Welcome and Finish dialog, edit the Install Options INI File ioWizard.ini in the 'Contrib\Modern UI' directory.
Customize Modern UI Functions
-If you want add your own code to functions +
If you want add your own code to functions inserted by the Modern UI, such as the .onGUIInit function and the Page functions, create your own function and let the Modern UI functions call them. Use the defines to define the name of your functions.
@@ -524,64 +523,63 @@ Function myGUIInit FunctionEnd-GUI Init
-MUI_CUSTOMFUNCTION_GUIINIT
+GUI Init
+MUI_CUSTOMFUNCTION_GUIINIT
MUI_CUSTOMFUNCTION_UNGUIINIT-Welcome Page
-MUI_CUSTOMFUNCTION_WELCOME_PRE
+Welcome Page
+MUI_CUSTOMFUNCTION_WELCOME_PRE
MUI_CUSTOMFUNCTION_WELCOME_SHOW - ${MUI_TEMP1} contains HWND of Welcome dialog-License Page
-MUI_CUSTOMFUNCTION_LICENSE_PRE
-MUI_CUSTOMFUNCTION_LICENSE_SHOW
+License Page
+MUI_CUSTOMFUNCTION_LICENSE_PRE
+MUI_CUSTOMFUNCTION_LICENSE_SHOW
MUI_CUSTOMFUNCTION_LICENSE_LEAVE-Components Page
-MUI_CUSTOMFUNCTION_COMPONENTS_PRE
-MUI_CUSTOMFUNCTION_COMPONENTS_SHOW
+Components Page
+MUI_CUSTOMFUNCTION_COMPONENTS_PRE
+MUI_CUSTOMFUNCTION_COMPONENTS_SHOW
MUI_CUSTOMFUNCTION_COMPONENTS_LEAVE-Directory Page
-MUI_CUSTOMFUNCTION_DIRECTORY_PRE
-MUI_CUSTOMFUNCTION_DIRECTORY_SHOW
+Directory Page
+MUI_CUSTOMFUNCTION_DIRECTORY_PRE
+MUI_CUSTOMFUNCTION_DIRECTORY_SHOW
MUI_CUSTOMFUNCTION_DIRECTORY_LEAVE-Start Menu Folder Page
+Start Menu Folder Page
MUI_CUSTOMFUNCTION_STARTMENU_PRE MUI_CUSTOMFUNCTION_STARTMENU_LEAVE-Install Files Page
-MUI_CUSTOMFUNCTION_INSTFILES_PRE
-MUI_CUSTOMFUNCTION_INSTFILES_SHOW
+Install Files Page
+MUI_CUSTOMFUNCTION_INSTFILES_PRE
+MUI_CUSTOMFUNCTION_INSTFILES_SHOW
MUI_CUSTOMFUNCTION_INSTFILES_LEAVE-Finish Page
-
-MUI_CUSTOMFUNCTION_FINISH_PRE
+Finish Page
+MUI_CUSTOMFUNCTION_FINISH_PRE
MUI_CUSTOMFUNCTION_FINISH_SHOW - ${MUI_TEMP1} contains HWND of Finish dialog-Installer Abort
+Installer Abort
MUI_CUSTOMFUNCTION_ABORT-Uninstaller - Confirm Page
-MUI_UNCUSTOMFUNCTION_CONFIRM_PRE
-MUI_UNCUSTOMFUNCTION_CONFIRM_SHOW
+Uninstaller - Confirm Page
+MUI_UNCUSTOMFUNCTION_CONFIRM_PRE
+MUI_UNCUSTOMFUNCTION_CONFIRM_SHOW
MUI_UNCUSTOMFUNCTION_CONFIRM_LEAVE-Uninstaller - Uninstall Files Page
-MUI_UNCUSTOMFUNCTION_INSTFILES_PRE
-MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW
+Uninstaller - Uninstall Files Page
+MUI_UNCUSTOMFUNCTION_INSTFILES_PRE
+MUI_UNCUSTOMFUNCTION_INSTFILES_SHOW
MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVEVersion history
@@ -607,7 +605,9 @@ MUI_UNCUSTOMFUNCTION_INSTFILES_LEAVE- Minor fixes
- No changed language strings
+ +
- 1.62 - February 2, 2003
- Final version for NSIS 2 beta 1