ElArZ
4th July 2008 06:55 UTC
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.
pospec
4th July 2008 07:28 UTC
If you are using MUI then you should use !insertmacro MUI_HEADER_TEXT $Title $Subtitle
ChocJunkie
7th October 2009 08:50 UTC
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
    
      Pawel
      7th October 2009 09:50 UTC
      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
    
 
    
      ChocJunkie
      7th October 2009 09:54 UTC
      I've already tried that before - I've moved the MUI_HEADER_TEXT through my whole code. But thanks anyway. :)