- Insert the following macros to set the pages you want to use. The pages will appear
- in the order in which you insert them in the script. You can also insert custom
- Page commands between the macros to add custom pages.
- You can add multiple pages of certain types (for example, if you want the user to
- specify multiple folders).
- You will need the page ID for the Start Menu folder page when using the Start Menu
- folder macros. The folder will be stored in the specified variable.
-
- Page settings apply to a single page and should be set before inserting a page macro.
- The same settings can be used for installer and uninstaller pages. You have to repeat
- the setting if you want it to apply to multiple pages. Example:
-
-;Add a directory page to let the user specify a plug-ins folder
-;Store the folder in $PluginsFolder
-
-Var PLUGINS_FOLDER
-!define MUI_DIRECTORYPAGE_VARIABLE $PluginsFolder
-!insertmacro MUI_PAGE_DIRECTORY
-
-
-
- All standard texts in the user interface are loaded from language files, which are
- available for all languages supported by NSIS. So you only need to define these
- texts if you want to change the default.
-
- If the parameter is a text that should be different for each language, define a
- language string using LangString and use $(LangStringName) as value. For a license
- text in multiple languages, LicenseLangString can be used. Refer the NSIS Users
- Manual for more information about installers with multiple languages.
-
- In all text settings, the doublequote character (") should be escaped in the
- following form: $\"
-
-
- General page settings
-
-
- MUI_PAGE_HEADER_TEXT text
- Text to display on the header of the page.
-
- MUI_PAGE_HEADER_SUBTEXT text
- Subtext to display on the header of the page.
-
-
-
- Welcome page settings
-
-
- To add a newline to any of these texts, use \r\n instead of $\r$\n.
-
- MUI_WELCOMEPAGE_TITLE title
- Title to display on the top of the page.
-
- MUI_WELCOMEPAGE_TITLE_3LINES
- Extra space for the title area.
-
- MUI_WELCOMEPAGE_TEXT text
- Text to display on the page.
-
-
-
- License page settings
-
-
- MUI_LICENSEPAGE_TEXT_TOP text
- Text to display on the top of the page.
-
- MUI_LICENSEPAGE_TEXT_BOTTOM text
- Text to display on the bottom of the page.
-
- MUI_LICENSEPAGE_BUTTON button_text
- Text to display on the 'I Agree' button.
-
- MUI_LICENSEPAGE_CHECKBOX
- Display a checkbox the user has to check to agree with the license terms.
-
-
- MUI_LICENSEPAGE_CHECKBOX_TEXT text
- Text to display next to the checkbox to agree with the license terms.
-
-
- MUI_LICENSEPAGE_RADIOBUTTONS
- Display two radio buttons to allow the user to choose between accepting the license
- terms or not.
-
-
- MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_ACCEPT text
- Text to display next to the checkbox to accept the license terms.
-
- MUI_LICENSEPAGE_RADIOBUTTONS_TEXT_DECLINE text
- Text to display next to the checkbox to decline the license terms.
-
-
-
-
- Components page settings
-
-
- MUI_COMPONENTSPAGE_TEXT_TOP text
- Text to display on the top of the page.
-
- MUI_COMPONENTSPAGE_TEXT_COMPLIST text
- Text to display on next to the components list.
-
- MUI_COMPONENTSPAGE_TEXT_INSTTYPE text
- Text to display on next to the installation type combo box.
-
- MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE text
- Text to display on the of the top of the description box.
-
- MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_INFO text
- Text to display inside the description box when no section is selected.
-
-
-
- Directory page settings
-
-
- MUI_DIRECTORYPAGE_TEXT_TOP text
- Text to display on top of the page.
-
- MUI_DIRECTORYPAGE_TEXT_DESTINATION text
- Text to display on the destination folder frame.
-
- MUI_DIRECTORYPAGE_VARIABLE variable
- Variable in which to store the selected folder.
- Default: $INSTDIR
-
- MUI_DIRECTORYPAGE_VERIFYONLEAVE
- Does not disable the Next button when a folder is invalid but allows you to use
- GetInstDirError in the leave function to handle an invalid folder.
-
-
-
- Start Menu folder page settings
-
-
- MUI_STARTMENUPAGE_TEXT_TOP text
- Text to display on the top of the page.
-
- MUI_STARTMENUPAGE_TEXT_CHECKBOX text
- Text to display next to the checkbox to disable the Start Menu folder creation.
-
- MUI_STARTMENUPAGE_DEFAULTFOLDER folder
- The default Start Menu Folder.
-
- MUI_STARTMENUPAGE_NODISABLE
- Do not display the checkbox to disable the creation of Start Menu shortcuts.
-
- MUI_STARTMENUPAGE_REGISTRY_ROOT root
- MUI_STARTMENUPAGE_REGISTRY_KEY key
- MUI_STARTMENUPAGE_REGISTRY_VALUENAME value_name
- The registry key to store the Start Menu folder. The page will use it to remember
- the users preference. You should also use for the uninstaller to remove the Start
- Menu folders. Don't forget to remove this key during uninstallation.
-
- For the uninstaller, use the MUI_STARTMENU_GETFOLDER macro to get the Start Menu
- folder:
-
-!insertmacro MUI_STARTMENU_GETFOLDER page_id $R0
- Delete "$SMPROGRAMS\$R0\Your Shortcut.lnk"
-
-
-
-
- Installation page settings
-
-
- MUI_INSTFILESPAGE_FINISHHEADER_TEXT text
- Text to display on the header of the installation page when the installation has
- been completed (won't be displayed when using a Finish page without MUI_(UN)FINISHPAGE_NOAUTOCLOSE).
-
- MUI_INSTFILESPAGE_FINISHHEADER_SUBTEXT text
- Subtext to display on the header of the installation page when the installation
- has been completed (won't be displayed when using a Finish page without MUI_(UN)FINISHPAGE_NOAUTOCLOSE).
-
- MUI_INSTFILESPAGE_ABORTHEADER_TEXT text
- Text to display on the header of the installation page when the installation has
- been aborted.
-
- MUI_INSTFILESPAGE_ABORTHEADER_SUBTEXT text
- Subext to display on the header of the installation page when the installation has
- been aborted.
-
-
-
- Finish page settings
-
-
- To add a newline to any of these texts, use \r\n instead of $\r$\n.
-
- MUI_FINISHPAGE_TITLE title
- Title to display on the top of the page.
-
- MUI_FINISHPAGE_TITLE_3LINES
- Extra space for the title area.
-
- MUI_FINISHPAGE_TEXT text
- Text to display on the page.
-
- MUI_FINISHPAGE_TEXT_LARGE
- Extra space for the text area (if using checkboxes).
-
- MUI_FINISHPAGE_BUTTON text
- Text to display on the Finish button.
-
- MUI_FINISHPAGE_CANCEL_ENABLED
- Enable the Cancel button so the user can skip any options displayed on the finish
- page.
-
- MUI_FINISHPAGE_TEXT_REBOOT text
- Text to display on the finish page when asking for a system reboot.
-
- MUI_FINISHPAGE_TEXT_REBOOTNOW text
- Text to display next to the 'Reboot now' option button.
-
- MUI_FINISHPAGE_TEXT_REBOOTLATER text
- Text to display next to the 'Reboot later' option button.
-
- MUI_FINISHPAGE_REBOOTLATER_DEFAULT
- Sets the 'Reboot later' option as the default option.
-
- MUI_FINISHPAGE_RUN exe_file
- Application which the user can select to run using a checkbox. You don't need to
- put quotes around the filename when it contains spaces.
-
-
- MUI_FINISHPAGE_RUN_TEXT text
- Texts to display next to the 'Run program' checkbox.
-
- MUI_FINISHPAGE_RUN_PARAMETERS parameters
- Parameters for the application to run. Don't forget to escape double quotes in the
- value (use $\").
-
- MUI_FINISHPAGE_RUN_NOTCHECKED
- Do not check the 'Run program' checkbox by default
-
- MUI_FINISHPAGE_RUN_FUNCTION function
- Call a function instead of executing an application (define MUI_FINISHPAGE_RUN without
- parameters). You can use the function to execute multiple applications or you can
- change the checkbox name and use it for other things.
-
-
- MUI_FINISHPAGE_SHOWREADME file/url
- File or website which the user can select to view using a checkbox. You don't need
- to put quotes around the filename when it contains spaces.
-
-
- MUI_FINISHPAGE_SHOWREADME_TEXT text
- Texts to display next to the 'Show Readme' checkbox.
-
- MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
- Do not check the 'Show Readme' checkbox by default
-
- MUI_FINISHPAGE_SHOWREADME_FUNCTION function
- Call a function instead of showing a file (define MUI_FINISHPAGE_SHOWREADME without
- parameters). You can use the function to show multiple files or you can change the
- checkbox name and use it for other things.
-
-
- MUI_FINISHPAGE_LINK link_text
- Text for a link on the which the user can click to view a website or file.
-
-
- MUI_FINISHPAGE_LINK_LOCATION file/url
- Website or file which the user can select to view using the link. You don't need
- to put quotes around the filename when it contains spaces.
-
- MUI_FINISHPAGE_LINK_COLOR (color: RRGGBB hexadecimal)
- Text color for the link on the Finish page.
- Default: 000080
-
-
- MUI_FINISHPAGE_NOREBOOTSUPPORT
- Disables support for the page that allows the user to reboot the system. Define
- this option to save some space if you are not using the /REBOOTOK flag or SetRebootFlag.
-
-
-
- Uninstall confirm page settings
-
-
- MUI_UNCONFIRMPAGE_TEXT_TOP text
- Text to display on the top of the page.
-
- MUI_UNCONFIRMPAGE_TEXT_LOCATION text
- Text to display next to the uninstall location text box.
-
-