Archive: Header text for nsdialog


Header text for nsdialog
  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.


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.


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


What mistake do I not see?

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
>
-Pawel

I've already tried that before - I've moved the MUI_HEADER_TEXT through my whole code. But thanks anyway. :)