The following code works with WinXP Luna AND classic:
The following code works only with classic. The last ctl (highest ID) will get black background (unreadable). This occurs directly after starting the Installer. Similar problem with uninstaller welcome page.
Function showWelcomePage
Push $0
GetDlgItem $0 $MUI_HWND 1203
SetCtlColors $0 "000080" "${MUI_BGCOLOR}"
GetDlgItem $0 $MUI_HWND 1204
SetCtlColors $0 "" "${MUI_BGCOLOR}"
Pop $0
FunctionEnd
Of course those controls get added in preWelcomePage. 1204 is a checkbox and 1203 is a web link.
Function showWelcomePage
Push $0
GetDlgItem $0 $MUI_HWND 1203
SetCtlColors $0 "000080" "transparent"
GetDlgItem $0 $MUI_HWND 1204
SetCtlColors $0 "" "transparent"
Pop $0
FunctionEnd
ioSpecial.ini
[Settings]
Rect=1044
NumFields=5
RTL=0
NextButtonText=
CancelEnabled=
[Field 1]
Type=bitmap
Left=0
Right=109
Top=0
Bottom=193
Flags=RESIZETOFIT
Text=C:\Temp\nstB0.tmp\modern-wizard.bmp
HWND=1704972
[Field 2]
Type=label
Left=120
Right=315
Top=10
Text=Welcome...
Bottom=38
HWND=853212
[Field 3]
Type=label
Left=120
Right=315
Top=45
Bottom=140
Text=bla bla
HWND=853208
[Field 4]
Type=Link
Left=120
Right=315
Top=175
Bottom=185
State=http://nsis.sf.net
Text=Web page
HWND=1508514
[Field 5]
Type=Checkbox
Text=Express-Installation
Flags=NOTIFY
State=0
Left=120
Right=315
Top=145
Bottom=155
HWND=787520