|
Everything is in the forum, see this thread for instance:
http://forums.winamp.com/showthread.php?threadid=254694
EXAMPLE:
code: !define APP_NAME 'Test'
name ${APP_NAME}
outfile '${APP_NAME}.exe'
showinstdetails show
InstallDir '$PROGRAMFILES\${APP_NAME}'
!include 'mui.nsh'
!insertmacro MUI_PAGE_WELCOME
!define MUI_PAGE_CUSTOMFUNCTION_PRE ChangeSubtitleFont
!insertmacro MUI_PAGE_LICENSE '${NSISDIR}\License.txt'
!define MUI_PAGE_CUSTOMFUNCTION_PRE ChangeSubtitleFont
!insertmacro MUI_PAGE_COMPONENTS
!define MUI_PAGE_CUSTOMFUNCTION_PRE ChangeSubtitleFont
!insertmacro MUI_PAGE_DIRECTORY
!define MUI_PAGE_CUSTOMFUNCTION_PRE ChangeSubtitleFont
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_LANGUAGE "English"
function ChangeSubtitleFont
GetDlgItem $1 $HWNDPARENT 1038
CreateFont $0 "Tahoma" "9" "500"
SendMessage $1 0x0030 $0 0
functionend
section !Required Section
SectionIn RO
sectionend
Section /o Optional
SectionEnd
EDIT: Concluded that there is no need to call the ChangeSubtitleFont function in every page pre function. If you call it from license page pre function, it changes the subtitles in all following pages.
__________________
Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Last edited by Red Wine on 12-16-2006 at 11:04 AM
Quick Link | Report this post to a moderator | IP: Logged
|