View Single Post
Old 16th December 2008, 22:06   #6
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
seems to work fine for me..

code:

!include mui.nsh
!include WinMessages.nsh

!define MUI_PAGE_CUSTOMFUNCTION_SHOW wel_show
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_WELCOME

!insertmacro MUI_LANGUAGE "English"

OutFile "c:\testsetup.exe"

Function wel_show
FindWindow $0 "#32770" "" $HWNDPARENT
GetDlgItem $1 $0 1202
CreateFont $0 "$(^Font)" "10" ""
SendMessage $1 ${WM_SETFONT} $0 0
FunctionEnd

Section
SectionEnd



It's not really that many hoops - you can easily abstract the function to something like ${SetTextSize} <control> <size>. Of course if you just want to define your Welcome page using e.g. Word and define the markup of elements there... perhaps NSIS is not the most appropriate solution.
Animaether is offline   Reply With Quote