Archive: Cant custumize MUI_PAGE_FINISH...


Cant custumize MUI_PAGE_FINISH...
  Hi

Im trying to customize MUI_PAGE_FINISH but without success :cry:

I already did it in MUI_PAGE_WELCOME and works fine.

This is a piece of my script:

   ; Setup Finish Page

Function fin_show
FindWindow$1 "#32770" "" $HWNDPARENT
SetCtlColors$1 '0x00FF00' '0xFF0000'
GetDlgItem $2 $1 1205 ; finish title label handle
SetCtlColors$2 '0x00FF00' '0xFF0000'
FunctionEnd

!define MUI_PAGE_CUSTOMFUNCTION_SHOW wel_show
!insertmacro MUI_PAGE_WELCOME ; Welcome page
!insertmacro MUI_PAGE_INSTFILES ; Installation page

!define MUI_PAGE_CUSTOMFUNCTION_SHOW fin_show
!insertmacro MUI_PAGE_FINISH ; Finish page


!insertmacro MUI_LANGUAGE "PortugueseBR"
!insertmacro MUI_LANGUAGE "English"
Please somebody help me!!!

You shouldn't use FindWindow to get the window. Use $mui.FinishPage for the window handle in MUI2 and $MUI_HWND in MUI1.