nsis: use modern ui

This commit is contained in:
Ludwig Nussel 2008-06-05 08:42:37 +00:00
parent f65a956c81
commit 86c42edf6b

View file

@ -7,6 +7,8 @@
; ;
; you have to copy SDL.dll and libcurl-4.dll here manually ; you have to copy SDL.dll and libcurl-4.dll here manually
!include "MUI2.nsh"
; The name of the installer ; The name of the installer
Name "ioquake3" Name "ioquake3"
@ -21,15 +23,25 @@ InstallDir $PROGRAMFILES\ioquake3
InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir" InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir"
;-------------------------------- ;--------------------------------
;Interface Settings
!define MUI_ABORTWARNING
;--------------------------------
;Pages ;Pages
Page components #!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
Page directory !insertmacro MUI_PAGE_COMPONENTS
Page instfiles !insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
UninstPage uninstConfirm !insertmacro MUI_UNPAGE_CONFIRM
UninstPage instfiles !insertmacro MUI_UNPAGE_INSTFILES
;--------------------------------
;Languages
!insertmacro MUI_LANGUAGE "English"
;-------------------------------- ;--------------------------------