Hi,
How can i change the header text and subtext of a nsdialog custom page?
The normal method doesn't work: (since obviously it's not a MUI page)
!define MUI_PAGE_HEADER_TEXT text
!define MUI_PAGE_HEADER_SUBTEXT text
Thank you.
Header text for nsdialog
5 posts
If you are using MUI then you should use !insertmacro MUI_HEADER_TEXT $Title $Subtitle
I'm using MUI2, my custom page is working, but the header text is not changed.
Thanks 🙂
CJ
What mistake do I not see?
Page custom nsDialogsPage nsDialogsEnd
!insertmacro MUI_PAGE_LICENSE ".\license.txt"
!insertmacro MUI_PAGE_INSTFILES
Function nsDialogsPage
nsDialogs::Create 1018
!insertmacro MUI_HEADER_TEXT "Title" "Subtitle"
...
nsDialogs::Show
FunctionEnd
Thanks 🙂
CJ
Try this:
Page custom nsDialogsPage nsDialogsEnd
!insertmacro MUI_PAGE_LICENSE ".\license.txt"
!insertmacro MUI_PAGE_INSTFILES
Function nsDialogsPage
!insertmacro MUI_HEADER_TEXT "Title" "Subtitle"
nsDialogs::Create 1018
...
nsDialogs::Show
FunctionEnd -PawelI've already tried that before - I've moved the MUI_HEADER_TEXT through my whole code. But thanks anyway. 🙂