Archive: background color of MUI_FINISH page


background color of MUI_FINISH page
How can i make it not white?


MUI_BGCOLOR.


i have a MUI_WELCOMEFINISHPAGE_CUSTOMFUNCTION_INIT function
which just does a !define MUI_BGCOLOR "FF00FF"
but this affects it immediately, so all my pages have this color, not just the last one


If you want to affect just one specific page, use SetCtlColors yourself in the show function of the page.


is there an easy way for me to discover the ID of the white background part i need to change? i've tried some IDs but nothing seemed to work so far



!define MUI_PAGE_CUSTOMFUNCTION_SHOW FinishShow
...
Function FinishShow
SetCtlColors $HWNDPARENT "text color" "bgcolor|transparent"
FunctionEnd

goldy, this does not work. It does change the color of the bar where the back/finish/cancel buttons is, but does not change the big white main background of the page


You want to change the colour of the inner dialog and InstallOptions controls:


!include MUI.nsh

!define MUI_PAGE_CUSTOMFUNCTION_SHOW FinishShow
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_LANGUAGE English

Function FinishShow

FindWindow $R0 "#32770" "" $HWNDPARENT
SetCtlColors $R0 0xFFFFFF 0x000000

GetDlgItem $R0 $MUI_HWND 1200
SetCtlColors $R0 0xFFFFFF 0x000000

GetDlgItem $R0 $MUI_HWND 1201
SetCtlColors $R0 0xFFFFFF 0x000000

GetDlgItem $R0 $MUI_HWND 1202
SetCtlColors $R0 0xFFFFFF 0x000000

FunctionEnd


BLACK!!!

-Stu