Change text on components page
Are there any means to remove the "Or, select the optional components you wish to install" text on the MUI_PAGE_COMPONENTS page?
Kind regards,
Chris
Archive: Change text on components page
Change text on components page
Are there any means to remove the "Or, select the optional components you wish to install" text on the MUI_PAGE_COMPONENTS page?
Kind regards,
Chris
as written in the docs:
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.
Thanks for the immediate reply!
I don't understand where to put
MUI_COMPONENTSPAGE_TEXT_TOP textwhere do i put them and where do i put the costom txt i want it to show at ?
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.
From the MUI Readme (section 3: Pages):
Page Settings apply to a single page and should be set before inserting a page macro. If you have multiple pages of one type and you want to set a setting for all them, put the setting before each page macro. Example:
;Add a directory page to let the user specify a plug-ins folder
;Store the folder in $PLUGINS_FOLDER
Var PLUGINS_FOLDER
!define MUI_DIRECTORYPAGE_VARIABLE $PLUGINS_FOLDER
!insertmacro MUI_PAGE_DIRECTORY
Note: There is no diference between installer and uninstaller page settings.
I don't understand ? how do i get the costom txt on there.
I should tell you i am very new to nsi and am sorry if i ask a lot of questions.
I found the example scripts which come with NSIS were a great help in understanding how to use NSIS.
To change the text on one of the MUI pages, you use some "define" statements before the page macro.
For example, to change the text on the MUI components page you need something like this:
!define MUI_COMPONENTSPAGE_TEXT_TOP "My special text"
!insertmacro MUI_PAGE_COMPONENTS
!define MUI_COMPONENTSPAGE_TEXT_TOP "My custom text"
!define MUI_COMPONENTSPAGE_TEXT_DESCRIPTION_TITLE "more custom text"
!insertmacro MUI_PAGE_COMPONENTS
Thank you for your help.