Archive: MUI Custom Page & Changing it's Custom Text?


MUI Custom Page & Changing it's Custom Text?
Anyone know how to change the main & sub text that appears in a custom MUI page?

I have this basically...
------------------------
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\license.txt"

Page custom SetCustom

!insertmacro MUI_PAGE_COMPONENTS
--------------------------

Now, if I insert !define MUI_PAGE_HEADER_SUBTEXT "Text to appear" and !define MUI_PAGE_HEADER_TEXT "Main Text"

------------------------
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\license.txt"

!define MUI_PAGE_HEADER_SUBTEXT "Text to appear"
!define MUI_PAGE_HEADER_TEXT "Main Text"
Page custom SetCustom

!insertmacro MUI_PAGE_COMPONENTS
--------------------------

It does not change my custom page header text and sub text but it changes the text of the next MUI page which is the components page but not the CUSTOM PAGE? Thanks for any help.


Use:

!insertmacro MUI_HEADER_TEXT "EXT_IO_TITLE" "TEXT_IO_SUBTITLE"

inside custom page function (it shows you this in MUI readme!!!)

-Stu