2002-12-14 00:15:41 +00:00
|
|
|
;NSIS Modern User Interface version 1.62
|
2002-10-26 21:51:39 +00:00
|
|
|
;Macro System
|
2002-10-07 19:58:15 +00:00
|
|
|
;Written by Joost Verburg
|
|
|
|
|
2002-11-29 19:44:51 +00:00
|
|
|
;Have a look the scripts in the 'Examples\Modern UI'
|
|
|
|
;directory for examples of usage.
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
;--------------------------------
|
2002-12-05 19:42:11 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
!ifndef MUI_MACROS_USED
|
|
|
|
|
|
|
|
!define MUI_MACROS_USED
|
|
|
|
|
2002-12-06 17:20:16 +00:00
|
|
|
!include "${NSISDIR}\Include\WinMessages.nsh"
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
!define MUI_TEMP1 $R0
|
|
|
|
!define MUI_TEMP2 $R1
|
2002-11-15 16:00:32 +00:00
|
|
|
!define MUI_TEMP3 $R2
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!macro MUI_INTERFACE
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
;User interface
|
2002-11-04 11:19:21 +00:00
|
|
|
|
|
|
|
!ifndef MUI_UI
|
|
|
|
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern.exe"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_ICON
|
|
|
|
!define MUI_ICON "${NSISDIR}\Contrib\Icons\modern-install.ico"
|
2002-10-26 12:25:02 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_UNICON
|
|
|
|
!define MUI_UNICON "${NSISDIR}\Contrib\Icons\modern-uninstall.ico"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_CHECKBITMAP
|
|
|
|
!define MUI_CHECKBITMAP "${NSISDIR}\Contrib\Icons\modern.bmp"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_FONT
|
2002-11-17 16:45:34 +00:00
|
|
|
!define MUI_FONT "MS Shell Dlg"
|
2002-10-26 17:39:56 +00:00
|
|
|
!endif
|
2002-11-18 15:43:21 +00:00
|
|
|
|
|
|
|
!ifndef MUI_FONTSIZE
|
|
|
|
!define MUI_FONTSIZE "8"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONT_HEADER
|
|
|
|
!define MUI_FONT_HEADER "MS Sans Serif"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONTSIZE_HEADER
|
|
|
|
!define MUI_FONTSIZE_HEADER "8"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONTSTYLE_HEADER
|
|
|
|
!define MUI_FONTSTYLE_HEADER "700"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONT_TITLE
|
|
|
|
!define MUI_FONT_TITLE "Verdana"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONTSIZE_TITLE
|
|
|
|
!define MUI_FONTSIZE_TITLE "12"
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FONTSTYLE_TITLE
|
|
|
|
!define MUI_FONTSTYLE_TITLE "700"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_INSTALLCOLORS
|
|
|
|
!define MUI_INSTALLCOLORS "/windows"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
!ifndef MUI_PROGRESSBAR
|
|
|
|
!define MUI_PROGRESSBAR "smooth"
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!ifndef MUI_SPECIALINI
|
|
|
|
!define MUI_SPECIALINI "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!ifndef MUI_SPECIALBITMAP
|
|
|
|
!define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Icons\modern-wizard.bmp"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_BGCOLOR
|
|
|
|
!define MUI_BGCOLOR "0xFFFFFF"
|
|
|
|
!endif
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!ifdef MUI_FINISHPAGE
|
2002-11-15 17:27:28 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOAUTOCLOSE
|
|
|
|
AutoCloseWindow true
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
XPStyle On
|
2002-10-26 17:39:56 +00:00
|
|
|
|
2002-11-04 11:19:21 +00:00
|
|
|
ChangeUI all "${MUI_UI}"
|
2002-10-26 17:39:56 +00:00
|
|
|
Icon "${MUI_ICON}"
|
2002-12-29 19:33:47 +00:00
|
|
|
|
|
|
|
!ifdef MUI_UNINSTALLER
|
|
|
|
UninstallIcon "${MUI_UNICON}"
|
|
|
|
!endif
|
|
|
|
|
2002-10-26 17:39:56 +00:00
|
|
|
CheckBitmap "${MUI_CHECKBITMAP}"
|
2002-11-18 15:43:21 +00:00
|
|
|
SetFont "${MUI_FONT}" "${MUI_FONTSIZE}"
|
2002-11-29 11:04:53 +00:00
|
|
|
InstallColors ${MUI_INSTALLCOLORS}
|
|
|
|
InstProgressFlags ${MUI_PROGRESSBAR}
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
!macro MUI_INNERDIALOG_TEXT CONTROL TEXT
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
;Set text on inner dialogs component
|
2002-10-07 19:58:15 +00:00
|
|
|
Push ${MUI_TEMP1}
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
FindWindow ${MUI_TEMP1} "#32770" "" $HWNDPARENT
|
|
|
|
GetDlgItem ${MUI_TEMP1} ${MUI_TEMP1} ${CONTROL}
|
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${TEXT}"
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
Pop ${MUI_TEMP1}
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
!macro MUI_HEADER_TEXT TEXT SUBTEXT
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
;Set text on the white rectangle
|
2002-10-07 19:58:15 +00:00
|
|
|
Push ${MUI_TEMP1}
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 12:25:02 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1037
|
2002-11-01 20:45:53 +00:00
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${TEXT}"
|
2002-10-26 12:25:02 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1038
|
2002-11-01 20:45:53 +00:00
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${SUBTEXT}"
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-26 12:25:02 +00:00
|
|
|
Pop ${MUI_TEMP1}
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macro MUI_DESCRIPTION_BEGIN
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
|
|
|
|
FindWindow ${MUI_TEMP1} "#32770" "" $HWNDPARENT
|
|
|
|
GetDlgItem ${MUI_TEMP1} ${MUI_TEMP1} 1043
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-07 19:58:15 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_DESCRIPTION_TEXT VAR TEXT
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
;Set text on the Description frame
|
|
|
|
|
|
|
|
StrCmp $0 ${VAR} "" +3
|
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} 0 "STR:${TEXT}"
|
|
|
|
Goto done
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_DESCRIPTION_END
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
done:
|
|
|
|
Pop ${MUI_TEMP1}
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-10-27 11:56:12 +00:00
|
|
|
!macro MUI_FINISHHEADER
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
|
|
|
;Finish text on the header (white rectangle)
|
2002-11-15 16:00:32 +00:00
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_FINISH_TITLE) $(MUI_TEXT_FINISH_SUBTITLE)
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_UNFINISHHEADER
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!define MUI_NOVERBOSE
|
|
|
|
|
2002-10-27 11:56:12 +00:00
|
|
|
;Finish text on the header (white rectangle)
|
2002-12-20 20:18:56 +00:00
|
|
|
!insertmacro MUI_HEADER_TEXT $(un.MUI_UNTEXT_FINISHED_TITLE) $(un.MUI_UNTEXT_FINISHED_SUBTITLE)
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!undef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macro MUI_ABORTWARNING
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
;Warning when Cancel button is pressed
|
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
MessageBox MB_YESNO|MB_ICONEXCLAMATION "$(MUI_TEXT_ABORTWARNING)" IDYES quit
|
2002-10-07 19:58:15 +00:00
|
|
|
Abort
|
|
|
|
quit:
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
!macro MUI_GUIINIT
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
!ifdef MUI_WELCOMEPAGE
|
|
|
|
!insertmacro MUI_WELCOMEFINISHPAGE_INIT
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_WELCOMEPAGE
|
|
|
|
!ifdef MUI_FINISHPAGE
|
|
|
|
!insertmacro MUI_WELCOMEFINISHPAGE_INIT
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
Push ${MUI_TEMP2}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1037
|
2002-11-18 15:43:21 +00:00
|
|
|
CreateFont ${MUI_TEMP2} "${MUI_FONT_HEADER}" "${MUI_FONTSIZE_HEADER}" "${MUI_FONTSTYLE_HEADER}"
|
2002-11-16 21:56:35 +00:00
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETFONT} ${MUI_TEMP2} 0
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1038
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1034
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1039
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
2003-01-27 15:05:50 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
SetStaticBkColor ${MUI_TEMP1} -1
|
|
|
|
GetWindowText ${MUI_TEMP2} ${MUI_TEMP1}
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
SetStaticBkColor ${MUI_TEMP1} -1
|
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} ${NSIS_MAX_STRLEN} "STR:${MUI_TEMP2}"
|
|
|
|
|
2002-11-16 21:56:35 +00:00
|
|
|
Pop ${MUI_TEMP2}
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_UNGUIINIT
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
Push ${MUI_TEMP2}
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1037
|
2002-11-18 15:43:21 +00:00
|
|
|
CreateFont ${MUI_TEMP2} "${MUI_FONT_HEADER}" "${MUI_FONTSIZE_HEADER}" "${MUI_FONTSTYLE_HEADER}"
|
2002-11-01 20:45:53 +00:00
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETFONT} ${MUI_TEMP2} 0
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-01 20:45:53 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1038
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1034
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-01 20:45:53 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1039
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2003-01-28 16:48:05 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
SetStaticBkColor ${MUI_TEMP1} -1
|
|
|
|
GetWindowText ${MUI_TEMP2} ${MUI_TEMP1}
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
SetStaticBkColor ${MUI_TEMP1} -1
|
|
|
|
SendMessage ${MUI_TEMP1} ${WM_SETTEXT} ${NSIS_MAX_STRLEN} "STR:${MUI_TEMP2}"
|
|
|
|
|
2002-11-02 10:54:45 +00:00
|
|
|
Pop ${MUI_TEMP2}
|
2002-11-01 20:45:53 +00:00
|
|
|
Pop ${MUI_TEMP1}
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macro MUI_WELCOMEFINISHPAGE_INIT
|
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
;Extract InstallOptions INI Files
|
2003-01-08 15:06:25 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_SPECIALINI}" "ioSpecial.ini"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_EXTRACT_AS "${MUI_SPECIALBITMAP}" "modern-wizard.bmp"
|
2003-01-24 19:40:20 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
;Write bitmap location
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 1" "Text" "$PLUGINSDIR\modern-wizard.bmp"
|
2003-01-24 19:40:20 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
;Write Welcome text
|
|
|
|
!ifdef MUI_WELCOMEPAGE
|
2002-11-29 19:44:51 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_TEXT_WELCOME_INFO_TITLE)"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_TEXT_WELCOME_INFO_TEXT)"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
2003-01-24 19:40:20 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_LANGUAGE LANGUAGE
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!include "${NSISDIR}\Contrib\Modern UI\Language files\${LANGUAGE}.nsh"
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGDLL_PUSH LANGUAGE
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-03 19:57:32 +00:00
|
|
|
|
|
|
|
Push "${LANG_${LANGUAGE}}"
|
|
|
|
Push "${MUI_${LANGUAGE}_LANGNAME}"
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-12-03 19:57:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macro MUI_STARTMENU_WRITE_BEGIN
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
|
|
|
|
StrCpy ${MUI_TEMP1} ${MUI_STARTMENU_VARIABLE} 1
|
2002-11-17 17:54:53 +00:00
|
|
|
StrCmp ${MUI_TEMP1} ">" no_startmenu_shortcuts
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Pop ${MUI_TEMP1}
|
2002-11-22 22:16:54 +00:00
|
|
|
|
|
|
|
!verbose 4
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_STARTMENU_WRITE_END
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
no_startmenu_shortcuts:
|
2002-11-22 22:16:54 +00:00
|
|
|
|
|
|
|
!verbose 4
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;PAGE COMMANDS
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macro MUI_PAGECOMMANDS
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 12:50:06 +00:00
|
|
|
|
|
|
|
!ifndef MUI_CUSTOMPAGECOMMANDS
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!insertmacro MUI_PAGECOMMAND_WELCOME
|
2002-11-03 12:50:06 +00:00
|
|
|
!insertmacro MUI_PAGECOMMAND_LICENSE
|
|
|
|
!insertmacro MUI_PAGECOMMAND_COMPONENTS
|
|
|
|
!insertmacro MUI_PAGECOMMAND_DIRECTORY
|
2002-11-09 17:58:22 +00:00
|
|
|
!insertmacro MUI_PAGECOMMAND_STARTMENU
|
2002-11-03 12:50:06 +00:00
|
|
|
!insertmacro MUI_PAGECOMMAND_INSTFILES
|
2002-11-15 16:00:32 +00:00
|
|
|
!insertmacro MUI_PAGECOMMAND_FINISH
|
|
|
|
|
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 12:50:06 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_PAGECOMMAND_WELCOME
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!ifdef MUI_WELCOMEPAGE
|
|
|
|
Page custom SetWelcome "" "MUI_INSTALLBUTTON_WELCOME"
|
2002-11-03 12:50:06 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_PAGECOMMAND_LICENSE
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!ifdef MUI_LICENSEPAGE
|
|
|
|
Page license SetLicense SetLicenseDialog
|
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_PAGECOMMAND_COMPONENTS
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!ifdef MUI_COMPONENTSPAGE
|
2003-01-24 19:40:20 +00:00
|
|
|
Page components SetComponents SetComponentsDialog "" "MUI_INSTALLBUTTON_COMPONENTS"
|
2002-11-03 00:01:40 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_PAGECOMMAND_DIRECTORY
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!ifdef MUI_DIRECTORYPAGE
|
2003-01-24 19:40:20 +00:00
|
|
|
Page directory SetDirectory SetDirectoryDialog "" "MUI_INSTALLBUTTON_DIRECTORY"
|
2002-11-03 00:01:40 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
!macro MUI_PAGECOMMAND_STARTMENU
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-09 17:58:22 +00:00
|
|
|
|
|
|
|
!ifdef MUI_STARTMENUPAGE
|
2002-11-15 16:00:32 +00:00
|
|
|
Page custom SetStartmenu "$(MUI_TEXT_STARTMENU_WINDOWTITLE)" "MUI_INSTALLBUTTON_STARTMENU"
|
2002-11-09 17:58:22 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-09 17:58:22 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macro MUI_PAGECOMMAND_INSTFILES
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
Page instfiles SetInstFiles
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macro MUI_PAGECOMMAND_FINISH
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!ifdef MUI_FINISHPAGE
|
|
|
|
Page custom SetFinish "$(MUI_TEXT_FINISH_WINDOWTITLE)"
|
|
|
|
!endif
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macro MUI_UNPAGECOMMANDS
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 12:50:06 +00:00
|
|
|
|
|
|
|
!ifndef MUI_UNCUSTOMPAGECOMMANDS
|
|
|
|
!insertmacro MUI_UNPAGECOMMAND_CONFIRM
|
|
|
|
!insertmacro MUI_UNPAGECOMMAND_INSTFILES
|
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_UNPAGECOMMAND_CONFIRM
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!ifdef MUI_UNCONFIRMPAGE
|
2003-01-24 19:40:20 +00:00
|
|
|
UninstPage uninstConfirm un.SetUninstConfirm "" "" "MUI_UNINSTALLBUTTON_CONFIRM"
|
2002-12-06 21:56:28 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_UNPAGECOMMAND_INSTFILES
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
UninstPage instfiles un.SetInstFiles
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
;--------------------------------
|
|
|
|
;INSTALL OPTIONS
|
|
|
|
|
|
|
|
!macro MUI_INSTALLOPTIONS_EXTRACT FILE
|
2002-11-04 16:40:35 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-04 16:40:35 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
;Init plugin system
|
2002-11-20 14:18:41 +00:00
|
|
|
InitPluginsDir
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
File "/oname=$PLUGINSDIR\${FILE}" "${FILE}"
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-04 16:40:35 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
2002-11-01 20:45:53 +00:00
|
|
|
|
2003-01-08 15:06:25 +00:00
|
|
|
!macro MUI_INSTALLOPTIONS_EXTRACT_AS FILE FILENAME
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
;Init plugin system
|
2002-11-20 14:18:41 +00:00
|
|
|
InitPluginsDir
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
File "/oname=$PLUGINSDIR\${FILENAME}" "${FILE}"
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macro MUI_INSTALLOPTIONS_DISPLAY FILE
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-09 17:58:22 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
InstallOptions::dialog "$PLUGINSDIR\${FILE}"
|
|
|
|
Pop ${MUI_TEMP1}
|
2002-12-15 21:43:38 +00:00
|
|
|
|
|
|
|
Pop ${MUI_TEMP1}
|
2002-10-07 19:58:15 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-07 19:58:15 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macro MUI_INSTALLOPTIONS_INITDIALOG FILE
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
InstallOptions::initDialog /NOUNLOAD "$PLUGINSDIR\${FILE}"
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_INSTALLOPTIONS_SHOW
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
InstallOptions::show
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-10-26 22:09:54 +00:00
|
|
|
!macro MUI_INSTALLOPTIONS_READ VAR FILE SECTION KEY
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-26 22:09:54 +00:00
|
|
|
ReadIniStr ${VAR} "$PLUGINSDIR\${FILE}" "${SECTION}" "${KEY}"
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-26 22:09:54 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_INSTALLOPTIONS_WRITE FILE SECTION KEY VALUE
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-26 22:09:54 +00:00
|
|
|
WriteIniStr "$PLUGINSDIR\${FILE}" "${SECTION}" "${KEY}" "${VALUE}"
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-26 22:09:54 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-04 11:19:21 +00:00
|
|
|
;--------------------------------
|
|
|
|
;SECTIONS
|
|
|
|
|
|
|
|
!macro MUI_SECTIONS_FINISHHEADER
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!define MUI_NOVERBOSE
|
2002-11-04 11:19:21 +00:00
|
|
|
|
|
|
|
Section ""
|
|
|
|
|
|
|
|
;Invisible section to display the Finish header
|
|
|
|
!insertmacro MUI_FINISHHEADER
|
|
|
|
|
|
|
|
SectionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!undef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-04 11:19:21 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-10-26 12:25:02 +00:00
|
|
|
;--------------------------------
|
2002-11-02 23:06:46 +00:00
|
|
|
;FUNCTIONS
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_GUIINIT
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 16:17:34 +00:00
|
|
|
!ifndef MUI_CUSTOMGUIINIT
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
Function .onGUIInit
|
|
|
|
!insertmacro MUI_GUIINIT
|
|
|
|
FunctionEnd
|
|
|
|
|
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macroend
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macro MUI_FUNCTIONS_PAGES
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!ifdef MUI_WELCOMEPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_WELCOMEPAGE SetWelcome
|
|
|
|
!endif
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!ifdef MUI_LICENSEPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_LICENSEPAGE SetLicense SetLicenseDialog
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifdef MUI_COMPONENTSPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_COMPONENTSPAGE SetComponents SetComponentsDialog
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifdef MUI_DIRECTORYPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_DIRECTORYPAGE SetDirectory SetDirectoryDialog
|
|
|
|
!endif
|
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
!ifdef MUI_STARTMENUPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_STARTMENUPAGE SetStartmenu
|
|
|
|
!endif
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!insertmacro MUI_FUNCTIONS_INSTFILESPAGE SetInstFiles
|
2002-11-15 17:27:28 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!ifdef MUI_FINISHPAGE
|
|
|
|
!insertmacro MUI_FUNCTIONS_FINISHPAGE SetFinish
|
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macro MUI_FUNCTIONS_WELCOMEPAGE SETWELCOME
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Function "${SETWELCOME}"
|
|
|
|
|
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
Push ${MUI_TEMP2}
|
|
|
|
Push ${MUI_TEMP3}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
2003-01-28 14:02:41 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1035
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1045
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioSpecial.ini"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1201
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-18 15:43:21 +00:00
|
|
|
CreateFont ${MUI_TEMP3} "${MUI_FONT_TITLE}" "${MUI_FONTSIZE_TITLE}" "${MUI_FONTSTYLE_TITLE}"
|
2002-11-15 16:00:32 +00:00
|
|
|
SendMessage ${MUI_TEMP2} ${WM_SETFONT} ${MUI_TEMP3} 0
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1202
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_SHOW
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2003-01-28 14:02:41 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1035
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1045
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
|
|
|
Pop ${MUI_TEMP3}
|
|
|
|
Pop ${MUI_TEMP2}
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_LICENSEPAGE SETLICENSE SETLICENSEDIALOG
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${SETLICENSE}"
|
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_LICENSE_TITLE) $(MUI_TEXT_LICENSE_SUBTITLE)
|
|
|
|
FunctionEnd
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${SETLICENSEDIALOG}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!insertmacro MUI_INNERDIALOG_TEXT 1040 $(MUI_INNERTEXT_LICENSE_BOTTOM)
|
2002-11-02 23:06:46 +00:00
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
!macroend
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_COMPONENTSPAGE SETCOMPONENTS SETCOMPONENTSDIALOG
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${SETCOMPONENTS}"
|
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_COMPONENTS_TITLE) $(MUI_TEXT_COMPONENTS_SUBTITLE)
|
2002-11-01 20:45:53 +00:00
|
|
|
FunctionEnd
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${SETCOMPONENTSDIALOG}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!insertmacro MUI_INNERDIALOG_TEXT 1042 $(MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE)
|
|
|
|
!insertmacro MUI_INNERDIALOG_TEXT 1043 $(MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO)
|
2002-11-01 20:45:53 +00:00
|
|
|
FunctionEnd
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
!macroend
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
!macro MUI_FUNCTIONS_DIRECTORYPAGE SETDIRECTORY SETDIRECTORYDIALOG
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
Function "${SETDIRECTORY}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_DIRECTORY_TITLE) $(MUI_TEXT_DIRECTORY_SUBTITLE)
|
2002-11-02 23:06:46 +00:00
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
Function "${SETDIRECTORYDIALOG}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!insertmacro MUI_INNERDIALOG_TEXT 1041 $(MUI_INNERTEXT_DIRECTORY_DESTINATION)
|
2002-11-02 23:06:46 +00:00
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
!macro MUI_FUNCTIONS_STARTMENUPAGE SETSTARTMENU
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-09 17:58:22 +00:00
|
|
|
|
|
|
|
;Check defines
|
|
|
|
!ifndef MUI_STARTMENU_VARIABLE
|
|
|
|
!define MUI_STARTMENU_VARIABLE "$9"
|
|
|
|
!endif
|
|
|
|
!ifndef MUI_STARTMENU_DEFAULTFOLDER
|
|
|
|
!define MUI_STARTMENU_DEFAULTFOLDER "${MUI_PRODUCT}"
|
|
|
|
!endif
|
2003-01-15 12:39:34 +00:00
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
Function "${SETSTARTMENU}"
|
|
|
|
|
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_STARTMENU_TITLE) $(MUI_TEXT_STARTMENU_SUBTITLE)
|
|
|
|
|
2003-01-15 12:39:34 +00:00
|
|
|
!ifdef MUI_STARTMENU_REGISTRY_ROOT
|
|
|
|
!ifdef MUI_STARTMENU_REGISTRY_KEY
|
|
|
|
!ifdef MUI_STARTMENU_REGISTRY_VALUENAME
|
|
|
|
|
|
|
|
StrCmp "${MUI_STARTMENU_VARIABLE}" "" "" +6
|
|
|
|
|
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
ReadRegStr ${MUI_TEMP1} "${MUI_STARTMENU_REGISTRY_ROOT}" "${MUI_STARTMENU_REGISTRY_KEY}" "${MUI_STARTMENU_REGISTRY_VALUENAME}"
|
|
|
|
StrCmp ${MUI_TEMP1} "" +2
|
|
|
|
StrCpy "${MUI_STARTMENU_VARIABLE}" ${MUI_TEMP1}
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
!endif
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
StartMenu::Select /noicon /autoadd /text "$(MUI_INNERTEXT_STARTMENU_TOP)" /lastused "${MUI_STARTMENU_VARIABLE}" /checknoshortcuts "$(MUI_INNERTEXT_STARTMENU_CHECKBOX)" "${MUI_STARTMENU_DEFAULTFOLDER}"
|
2002-11-11 18:02:15 +00:00
|
|
|
Pop "${MUI_STARTMENU_VARIABLE}"
|
2002-11-09 17:58:22 +00:00
|
|
|
|
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-09 17:58:22 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_INSTFILESPAGE SETINSTFILES
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${SETINSTFILES}"
|
|
|
|
!insertmacro MUI_HEADER_TEXT $(MUI_TEXT_INSTALLING_TITLE) $(MUI_TEXT_INSTALLING_SUBTITLE)
|
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macro MUI_FUNCTIONS_FINISHPAGE SETFINISH
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Function "${SETFINISH}"
|
|
|
|
|
|
|
|
Push ${MUI_TEMP1}
|
|
|
|
Push ${MUI_TEMP2}
|
|
|
|
Push ${MUI_TEMP3}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
2003-01-28 17:55:22 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1035
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1045
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2002-11-29 19:44:51 +00:00
|
|
|
;Write Finish text
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 2" "Text" "$(MUI_TEXT_FINISH_INFO_TITLE)"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Bottom" "80"
|
2002-11-15 22:16:27 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
|
|
|
|
|
|
|
IfRebootFlag "" noreboot_init
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_TEXT_FINISH_INFO_REBOOT)"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Settings" "Numfields" "5"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Type" "RadioButton"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "$(MUI_TEXT_FINISH_REBOOTNOW)"
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "321"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "85"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "95"
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Type" "RadioButton"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Text" "$(MUI_TEXT_FINISH_REBOOTLATER)"
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Left" "120"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Right" "321"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Top" "105"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "115"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
Goto init
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
noreboot_init:
|
|
|
|
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Text" "$(MUI_TEXT_FINISH_INFO_TEXT)"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!ifdef MUI_FINISHPAGE_RUN
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_SHOWREADME
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Settings" "Numfields" "4"
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Type" "CheckBox"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "$(MUI_TEXT_FINISH_RUN)"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "315"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "85"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "95"
|
|
|
|
!ifndef MUI_FINISHPAGE_RUN_NOTCHECKED
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
|
2002-12-14 00:15:41 +00:00
|
|
|
!endif
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!ifdef MUI_FINISHPAGE_SHOWREADME
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Settings" "Numfields" "5"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Type" "CheckBox"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Text" "$(MUI_TEXT_FINISH_SHOWREADME)"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Left" "120"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Right" "315"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Top" "105"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "Bottom" "115"
|
|
|
|
!ifndef MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 5" "State" "1"
|
2002-11-15 18:46:11 +00:00
|
|
|
!endif
|
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!else ifdef MUI_FINISHPAGE_SHOWREADME
|
|
|
|
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Settings" "Numfields" "4"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Type" "CheckBox"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "$(MUI_TEXT_FINISH_SHOWREADME)"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "315"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "85"
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "95"
|
|
|
|
!ifndef MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "1"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
2002-12-14 00:15:41 +00:00
|
|
|
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
|
|
|
init:
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_INITDIALOG "ioSpecial.ini"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP1} "${MUI_BGCOLOR}"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1201
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-18 15:43:21 +00:00
|
|
|
CreateFont ${MUI_TEMP3} "${MUI_FONT_TITLE}" "${MUI_FONTSIZE_TITLE}" "${MUI_FONTSTYLE_TITLE}"
|
2002-11-15 16:00:32 +00:00
|
|
|
SendMessage ${MUI_TEMP2} ${WM_SETFONT} ${MUI_TEMP3} 0
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1202
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
IfRebootFlag "" noreboot_show
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1203
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1204
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
Goto show
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
noreboot_show:
|
|
|
|
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!ifdef MUI_FINISHPAGE_RUN
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1203
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
!ifdef MUI_FINISHPAGE_SHOWREADME
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1204
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
!endif
|
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!else ifdef MUI_FINISHPAGE_SHOWREADME
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP2} ${MUI_TEMP1} 1203
|
2002-12-15 21:43:38 +00:00
|
|
|
SetStaticBkColor ${MUI_TEMP2} "${MUI_BGCOLOR}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
|
|
|
show:
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!insertmacro MUI_INSTALLOPTIONS_SHOW
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1028
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2003-01-28 17:55:22 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1256
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1035
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_NORMAL}
|
|
|
|
|
|
|
|
GetDlgItem ${MUI_TEMP1} $HWNDPARENT 1045
|
|
|
|
ShowWindow ${MUI_TEMP1} ${SW_HIDE}
|
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
IfRebootFlag "" noreboot_end
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ ${MUI_TEMP1} "ioSpecial.ini" "Field 4" "State"
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
StrCmp ${MUI_TEMP1} "1" "" +2
|
|
|
|
Reboot
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
Goto done
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
noreboot_end:
|
|
|
|
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
2002-11-15 17:27:28 +00:00
|
|
|
!ifdef MUI_FINISHPAGE_RUN
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ ${MUI_TEMP1} "ioSpecial.ini" "Field 4" "State"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-11-22 12:50:15 +00:00
|
|
|
StrCmp ${MUI_TEMP1} "1" "" +3
|
2002-12-06 16:13:20 +00:00
|
|
|
!ifndef MUI_FINISHPAGE_RUN_PARAMETERS
|
|
|
|
StrCpy ${MUI_TEMP1} "$\"${MUI_FINISHPAGE_RUN}$\""
|
|
|
|
!else
|
|
|
|
StrCpy ${MUI_TEMP1} "$\"${MUI_FINISHPAGE_RUN}$\" ${MUI_FINISHPAGE_RUN_PARAMETERS}"
|
|
|
|
!endif
|
|
|
|
Exec "${MUI_TEMP1}"
|
2002-11-15 17:27:28 +00:00
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!ifdef MUI_FINISHPAGE_SHOWREADME
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ ${MUI_TEMP1} "ioSpecial.ini" "Field 5" "State"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
StrCmp ${MUI_TEMP1} "1" "" +2
|
|
|
|
ExecShell "open" "${MUI_FINISHPAGE_SHOWREADME}"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
|
|
|
!endif
|
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
!else ifdef MUI_FINISHPAGE_SHOWREADME
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!insertmacro MUI_INSTALLOPTIONS_READ ${MUI_TEMP1} "ioSpecial.ini" "Field 4" "State"
|
2002-11-15 18:46:11 +00:00
|
|
|
|
2002-12-14 00:15:41 +00:00
|
|
|
StrCmp ${MUI_TEMP1} "1" "" +2
|
|
|
|
ExecShell "open" "${MUI_FINISHPAGE_SHOWREADME}"
|
|
|
|
|
2002-11-15 18:46:11 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifndef MUI_FINISHPAGE_NOREBOOTSUPPORT
|
|
|
|
done:
|
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
Pop ${MUI_TEMP3}
|
|
|
|
Pop ${MUI_TEMP2}
|
|
|
|
Pop ${MUI_TEMP1}
|
|
|
|
|
|
|
|
FunctionEnd
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:00:32 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macro MUI_FUNCTIONS_DESCRIPTION_BEGIN
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!define MUI_NOVERBOSE
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
Function .onMouseOverSection
|
2002-11-08 21:08:27 +00:00
|
|
|
!insertmacro MUI_DESCRIPTION_BEGIN
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!undef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
|
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_DESCRIPTION_END
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
!insertmacro MUI_DESCRIPTION_END
|
|
|
|
FunctionEnd
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_FUNCTIONS_ABORTWARNING
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!ifdef MUI_ABORTWARNING
|
|
|
|
Function .onUserAbort
|
|
|
|
!insertmacro MUI_ABORTWARNING
|
|
|
|
FunctionEnd
|
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-10-17 21:22:21 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_UNFUNCTIONS_GUIINIT
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-15 16:17:34 +00:00
|
|
|
|
|
|
|
!ifndef MUI_UNCUSTOMGUIINIT
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-15 16:17:34 +00:00
|
|
|
Function un.onGUIInit
|
2002-11-16 21:56:35 +00:00
|
|
|
!insertmacro MUI_UNGUIINIT
|
2002-11-15 16:17:34 +00:00
|
|
|
FunctionEnd
|
|
|
|
|
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-27 11:56:12 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macro MUI_UNFUNCTIONS_PAGES
|
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!ifdef MUI_UNCONFIRMPAGE
|
|
|
|
!insertmacro MUI_UNFUNCTIONS_CONFIRMPAGE un.SetUninstConfirm
|
|
|
|
!endif
|
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!insertmacro MUI_UNFUNCTIONS_INSTFILESPAGE un.SetInstFiles
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
!macro MUI_UNFUNCTIONS_CONFIRMPAGE UNSETUNINSTCONFIRM
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
Function "${UNSETUNINSTCONFIRM}"
|
2002-12-20 20:18:56 +00:00
|
|
|
!insertmacro MUI_HEADER_TEXT $(un.MUI_UNTEXT_INTRO_TITLE) $(un.MUI_UNTEXT_INTRO_SUBTITLE)
|
2002-11-01 20:45:53 +00:00
|
|
|
FunctionEnd
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_UNFUNCTIONS_INSTFILESPAGE UNSETINSTFILES
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
Function ${UNSETINSTFILES}
|
2002-12-20 20:18:56 +00:00
|
|
|
!insertmacro MUI_HEADER_TEXT $(un.MUI_UNTEXT_UNINSTALLING_TITLE) $(un.MUI_UNTEXT_UNINSTALLING_SUBTITLE)
|
2002-11-01 20:45:53 +00:00
|
|
|
FunctionEnd
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
|
|
|
!macroend
|
2002-11-02 10:54:45 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
;--------------------------------
|
|
|
|
;RESERVE FILES
|
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!macro MUI_RESERVEFILE_WELCOMEFINISHPAGE
|
2002-11-22 22:16:54 +00:00
|
|
|
|
|
|
|
!verbose 3
|
2002-12-15 21:43:38 +00:00
|
|
|
|
|
|
|
!define MUI_NOVERBOSE
|
|
|
|
|
|
|
|
!insertmacro MUI_RESERVEFILE_SPECIALINI
|
|
|
|
!insertmacro MUI_RESERVEFILE_SPECIALBITMAP
|
|
|
|
!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS
|
|
|
|
|
|
|
|
!undef MUI_NOVERBOSE
|
|
|
|
|
|
|
|
!verbose 4
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_RESERVEFILE_INSTALLOPTIONS
|
|
|
|
|
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll"
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!macro MUI_RESERVEFILE_SPECIALINI
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
ReserveFile "${NSISDIR}\Contrib\Modern UI\ioSpecial.ini"
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-18 15:43:21 +00:00
|
|
|
!macro MUI_RESERVEFILE_SPECIALBITMAP
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
ReserveFile "${NSISDIR}\Contrib\Icons\modern-wizard.bmp"
|
2002-11-22 22:16:54 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-12-15 21:43:38 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_RESERVEFILE_LANGDLL
|
|
|
|
|
|
|
|
!verbose 3
|
|
|
|
|
|
|
|
ReserveFile "${NSISDIR}\Plugins\LangDLL.dll"
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!verbose 4
|
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-11-02 23:06:46 +00:00
|
|
|
;--------------------------------
|
2002-11-03 13:21:09 +00:00
|
|
|
;BASIC MACRO'S
|
2002-10-17 21:22:21 +00:00
|
|
|
|
2002-11-03 13:21:09 +00:00
|
|
|
!macro MUI_SYSTEM
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
2002-12-06 21:56:28 +00:00
|
|
|
!endif
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!define MUI_NOVERBOSE
|
|
|
|
|
|
|
|
!insertmacro MUI_INTERFACE
|
2002-11-03 13:21:09 +00:00
|
|
|
!insertmacro MUI_BASIC
|
2002-11-05 19:36:55 +00:00
|
|
|
!insertmacro MUI_UNBASIC
|
2002-11-03 13:21:09 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!undef MUI_NOVERBOSE
|
2002-12-06 21:56:28 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-03 13:21:09 +00:00
|
|
|
|
|
|
|
!macroend
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-03 13:21:09 +00:00
|
|
|
!macro MUI_BASIC
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 13:21:09 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!insertmacro MUI_PAGECOMMANDS
|
2002-11-03 00:01:40 +00:00
|
|
|
!insertmacro MUI_FUNCTIONS_PAGES
|
|
|
|
!insertmacro MUI_FUNCTIONS_GUIINIT
|
|
|
|
!insertmacro MUI_FUNCTIONS_ABORTWARNING
|
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-03 00:01:40 +00:00
|
|
|
!macroend
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-03 13:21:09 +00:00
|
|
|
!macro MUI_UNBASIC
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 3
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-05 19:36:55 +00:00
|
|
|
|
|
|
|
!ifdef MUI_UNINSTALLER
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!insertmacro MUI_UNPAGECOMMANDS
|
2002-11-05 19:36:55 +00:00
|
|
|
!insertmacro MUI_UNFUNCTIONS_PAGES
|
|
|
|
!insertmacro MUI_UNFUNCTIONS_GUIINIT
|
|
|
|
|
|
|
|
!endif
|
2002-11-02 23:06:46 +00:00
|
|
|
|
2002-11-22 22:16:54 +00:00
|
|
|
!ifndef MUI_NOVERBOSE
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|
2002-11-22 22:16:54 +00:00
|
|
|
!endif
|
2002-11-03 00:01:40 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
;--------------------------------
|
|
|
|
;LANGUAGE FILES
|
|
|
|
|
|
|
|
!macro MUI_LANGUAGEFILE_BEGIN LANGUAGE
|
|
|
|
|
|
|
|
!ifndef "MUI_LANGUAGEFILE_${LANGUAGE}_USED"
|
|
|
|
|
|
|
|
!define "MUI_LANGUAGEFILE_${LANGUAGE}_USED"
|
|
|
|
|
|
|
|
LoadLanguageFile "${NSISDIR}\Contrib\Language files\${LANGUAGE}.nlf"
|
2002-11-16 15:40:07 +00:00
|
|
|
|
|
|
|
!else
|
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!error "Modern UI language file ${LANGUAGE} included twice!"
|
2002-11-16 15:40:07 +00:00
|
|
|
|
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_STRING NAME VALUE
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!ifndef "${NAME}"
|
|
|
|
!define "${NAME}" "${VALUE}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
2002-11-22 12:50:15 +00:00
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_LANGSTRING NAME
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
LangString "${NAME}" 0 "${${NAME}}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!undef "${NAME}"
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_LANGSTRING_CONTINUE NAME INSTALLBUTTON
|
2002-11-16 21:56:35 +00:00
|
|
|
|
2002-11-10 14:58:59 +00:00
|
|
|
!ifndef "${INSTALLBUTTON}"
|
2003-01-09 16:49:09 +00:00
|
|
|
LangString "${NAME}" 0 "${${NAME}}${MUI_TEXT_CONTINUE_NEXT}"
|
2002-12-06 21:56:28 +00:00
|
|
|
!else
|
2003-01-09 16:49:09 +00:00
|
|
|
LangString "${NAME}" 0 "${${NAME}}${MUI_TEXT_CONTINUE_INSTALL}"
|
2002-11-10 14:58:59 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!undef "${NAME}"
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_UNLANGSTRING NAME
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
LangString "un.${NAME}" 0 "${${NAME}}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!undef "${NAME}"
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_NSISCOMMAND COMMAND NAME
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
${COMMAND} "${${NAME}}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!undef "${NAME}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 20:16:30 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_NSISCOMMAND_MULTIPARAMETER COMMAND NAME VALUE
|
2002-11-16 21:56:35 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
${COMMAND} ${VALUE}
|
2002-11-16 21:56:35 +00:00
|
|
|
!undef "${NAME}"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_NSISCOMMAND_CONTINUE COMMAND NAME INSTALLBUTTON
|
2002-11-10 14:58:59 +00:00
|
|
|
|
|
|
|
!ifndef "${INSTALLBUTTON}"
|
2003-01-09 16:49:09 +00:00
|
|
|
${COMMAND} "${${NAME}} ${MUI_TEXT_CONTINUE_NEXT}"
|
2002-12-06 21:56:28 +00:00
|
|
|
!else
|
2003-01-09 16:49:09 +00:00
|
|
|
${COMMAND} "${${NAME}} ${MUI_TEXT_CONTINUE_INSTALL}"
|
2002-11-10 14:58:59 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!undef "${NAME}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
2002-11-10 14:58:59 +00:00
|
|
|
!macroend
|
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_UNNSISCOMMAND_CONTINUE COMMAND NAME INSTALLBUTTON
|
|
|
|
|
|
|
|
!ifndef "${INSTALLBUTTON}"
|
2003-01-09 16:49:09 +00:00
|
|
|
${COMMAND} "${${NAME}} ${MUI_TEXT_CONTINUE_NEXT}"
|
2002-12-06 21:56:28 +00:00
|
|
|
!else
|
2003-01-13 21:01:25 +00:00
|
|
|
!ifdef MUI_UNTEXT_CONTINUE_UNINSTALL
|
|
|
|
${COMMAND} "${${NAME}} ${MUI_UNTEXT_CONTINUE_UNINSTALL}"
|
|
|
|
!else
|
|
|
|
;Modern UI 1.61 Language File compatibility
|
|
|
|
${COMMAND} "${${NAME}}"
|
|
|
|
!endif
|
2002-12-06 21:56:28 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!undef "${NAME}"
|
|
|
|
|
|
|
|
!macroend
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!macro MUI_LANGUAGEFILE_DEFINE DEFINE NAME
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!ifndef "${DEFINE}"
|
2002-12-03 19:57:32 +00:00
|
|
|
!define "${DEFINE}" "${${NAME}}"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
!undef "${NAME}"
|
2002-11-16 21:56:35 +00:00
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
!macro MUI_LANGUAGEFILE_END
|
2002-12-06 21:56:28 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_DEFINE "MUI_${LANGUAGE}_LANGNAME" "MUI_LANGNAME"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-15 21:43:38 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND "Name" "MUI_NAME"
|
|
|
|
|
|
|
|
!ifndef MUI_BRANDINGTEXT
|
|
|
|
!define MUI_BRANDINGTEXT ""
|
|
|
|
!endif
|
2003-01-24 19:40:20 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND "BrandingText" "MUI_BRANDINGTEXT"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!ifdef MUI_WELCOMEPAGE
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_WELCOME_INFO_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING_CONTINUE "MUI_TEXT_WELCOME_INFO_TEXT" "MUI_INSTALLBUTTON_WELCOME"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!ifdef MUI_LICENSEPAGE
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_LICENSE_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_LICENSE_SUBTITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND "LicenseText" "MUI_INNERTEXT_LICENSE_TOP"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_INNERTEXT_LICENSE_BOTTOM"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifdef MUI_COMPONENTSPAGE
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_COMPONENTS_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_COMPONENTS_SUBTITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND_CONTINUE "ComponentText" "MUI_INNERTEXT_COMPONENTS_TOP" "MUI_INSTALLBUTTON_COMPONENTS"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_INNERTEXT_COMPONENTS_DESCRIPTION_INFO"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
!ifdef MUI_DIRECTORYPAGE
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_DIRECTORY_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_DIRECTORY_SUBTITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND_CONTINUE "DirText" "MUI_INNERTEXT_DIRECTORY_TOP" "MUI_INSTALLBUTTON_DIRECTORY"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_INNERTEXT_DIRECTORY_DESTINATION"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
|
2002-11-09 17:58:22 +00:00
|
|
|
!ifdef MUI_STARTMENUPAGE
|
2002-12-24 22:38:54 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_STARTMENU_WINDOWTITLE"
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_STARTMENU_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_STARTMENU_SUBTITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING_CONTINUE "MUI_INNERTEXT_STARTMENU_TOP" "MUI_INSTALLBUTTON_STARTMENU"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_INNERTEXT_STARTMENU_CHECKBOX"
|
2002-11-09 17:58:22 +00:00
|
|
|
!endif
|
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_INSTALLING_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_INSTALLING_SUBTITLE"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-11-29 19:44:51 +00:00
|
|
|
!ifdef MUI_TEXT_FINISH_INFO_TITLE
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_TITLE"
|
2002-11-29 19:44:51 +00:00
|
|
|
!else
|
2003-01-09 16:49:09 +00:00
|
|
|
;Modern UI 1.61 Language File compatibility
|
2002-12-03 19:57:32 +00:00
|
|
|
LangString "MUI_TEXT_FINISH_TITLE" 0 "${MUI_TEXT_FINISH_TITLE}"
|
2002-11-29 19:44:51 +00:00
|
|
|
!endif
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_SUBTITLE"
|
2002-11-22 12:50:15 +00:00
|
|
|
|
2002-11-15 16:00:32 +00:00
|
|
|
!ifdef MUI_FINISHPAGE
|
2002-12-03 20:16:30 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_NSISCOMMAND_MULTIPARAMETER "MiscButtonText" "MUI_TEXT_FINISH_BUTTON" '"" "" "" "${MUI_TEXT_FINISH_BUTTON}"'
|
2002-12-24 22:38:54 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_WINDOWTITLE"
|
2003-01-09 16:49:09 +00:00
|
|
|
!ifdef MUI_TEXT_FINISH_INFO_TITLE
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_INFO_TITLE"
|
|
|
|
!else
|
|
|
|
;Modern UI 1.61 Language File compatibility
|
2002-12-03 19:57:32 +00:00
|
|
|
LangString "MUI_TEXT_FINISH_INFO_TITLE" 0 "${MUI_TEXT_FINISH_TITLE}"
|
2002-11-29 19:44:51 +00:00
|
|
|
!undef MUI_TEXT_FINISH_TITLE
|
2002-12-24 22:38:54 +00:00
|
|
|
!endif
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_INFO_TEXT"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_INFO_REBOOT"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_REBOOTNOW"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_REBOOTLATER"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_RUN"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_FINISH_SHOWREADME"
|
2002-11-15 16:00:32 +00:00
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
|
|
|
!ifdef MUI_ABORTWARNING
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_LANGSTRING "MUI_TEXT_ABORTWARNING"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
|
|
!ifdef MUI_UNINSTALLER
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_INTRO_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_INTRO_SUBTITLE"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!ifdef MUI_UNCONFIRMPAGE
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNNSISCOMMAND_CONTINUE "UninstallText" "MUI_UNINNERTEXT_INTRO" "MUI_UNINSTALLBUTTON_CONFIRM"
|
|
|
|
!endif
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_UNINSTALLING_SUBTITLE"
|
2002-11-08 21:08:27 +00:00
|
|
|
|
2002-12-03 19:57:32 +00:00
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_FINISHED_TITLE"
|
|
|
|
!insertmacro MUI_LANGUAGEFILE_UNLANGSTRING "MUI_UNTEXT_FINISHED_SUBTITLE"
|
2002-11-08 21:08:27 +00:00
|
|
|
!endif
|
|
|
|
|
2003-01-13 21:01:25 +00:00
|
|
|
!undef MUI_TEXT_CONTINUE_NEXT
|
|
|
|
!undef MUI_TEXT_CONTINUE_INSTALL
|
2002-11-10 14:58:59 +00:00
|
|
|
|
2002-12-06 21:56:28 +00:00
|
|
|
!ifdef MUI_UNTEXT_CONTINUE_UNINSTALL
|
|
|
|
!undef MUI_UNTEXT_CONTINUE_UNINSTALL
|
|
|
|
!endif
|
|
|
|
|
2002-11-08 21:08:27 +00:00
|
|
|
!macroend
|
|
|
|
|
|
|
|
;--------------------------------
|
|
|
|
;END
|
|
|
|
|
2002-10-26 21:51:39 +00:00
|
|
|
!endif
|
|
|
|
|
2002-12-20 20:18:56 +00:00
|
|
|
!ifndef MUI_MANUALVERBOSE
|
|
|
|
!verbose 4
|
|
|
|
!endif
|