From 86c42edf6b74bad6c79ffde0b0eaa183c6508d7b Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 5 Jun 2008 08:42:37 +0000 Subject: [PATCH] nsis: use modern ui --- misc/nsis/ioquake3.nsi.in | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/misc/nsis/ioquake3.nsi.in b/misc/nsis/ioquake3.nsi.in index a2244d50..cdbfd294 100644 --- a/misc/nsis/ioquake3.nsi.in +++ b/misc/nsis/ioquake3.nsi.in @@ -7,6 +7,8 @@ ; ; you have to copy SDL.dll and libcurl-4.dll here manually +!include "MUI2.nsh" + ; The name of the installer Name "ioquake3" @@ -21,15 +23,25 @@ InstallDir $PROGRAMFILES\ioquake3 InstallDirRegKey HKLM "Software\ioquake3" "Install_Dir" ;-------------------------------- +;Interface Settings -; Pages +!define MUI_ABORTWARNING -Page components -Page directory -Page instfiles +;-------------------------------- +;Pages -UninstPage uninstConfirm -UninstPage instfiles +#!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt" +!insertmacro MUI_PAGE_COMPONENTS +!insertmacro MUI_PAGE_DIRECTORY +!insertmacro MUI_PAGE_INSTFILES + +!insertmacro MUI_UNPAGE_CONFIRM +!insertmacro MUI_UNPAGE_INSTFILES + +;-------------------------------- +;Languages + +!insertmacro MUI_LANGUAGE "English" ;--------------------------------