diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-05 08:42:37 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2008-06-05 08:42:37 +0000 |
commit | 9672cc07a1f52176f7c39f6a570f182b7b835e04 (patch) | |
tree | 0974153166ad4b357a69a43e1062fdd251550c59 | |
parent | 33f2e471dc18355ca7471422f0783115d1d1bfdd (diff) | |
download | ioquake3-aero-9672cc07a1f52176f7c39f6a570f182b7b835e04.tar.gz ioquake3-aero-9672cc07a1f52176f7c39f6a570f182b7b835e04.zip |
nsis: use modern ui
git-svn-id: svn://svn.icculus.org/quake3/trunk@1368 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r-- | misc/nsis/ioquake3.nsi.in | 24 |
1 files changed, 18 insertions, 6 deletions
diff --git a/misc/nsis/ioquake3.nsi.in b/misc/nsis/ioquake3.nsi.in index a2244d5..cdbfd29 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
+
+!define MUI_ABORTWARNING
-; Pages
+;--------------------------------
+;Pages
-Page components
-Page directory
-Page instfiles
+#!insertmacro MUI_PAGE_LICENSE "${NSISDIR}\Docs\Modern UI\License.txt"
+!insertmacro MUI_PAGE_COMPONENTS
+!insertmacro MUI_PAGE_DIRECTORY
+!insertmacro MUI_PAGE_INSTFILES
-UninstPage uninstConfirm
-UninstPage instfiles
+!insertmacro MUI_UNPAGE_CONFIRM
+!insertmacro MUI_UNPAGE_INSTFILES
+
+;--------------------------------
+;Languages
+
+!insertmacro MUI_LANGUAGE "English"
;--------------------------------
|