r1368 - trunk/misc/nsis

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Jun 5 04:42:53 EDT 2008


Author: ludwig
Date: 2008-06-05 04:42:37 -0400 (Thu, 05 Jun 2008)
New Revision: 1368

Modified:
   trunk/misc/nsis/ioquake3.nsi.in
Log:
nsis: use modern ui


Modified: trunk/misc/nsis/ioquake3.nsi.in
===================================================================
--- trunk/misc/nsis/ioquake3.nsi.in	2008-06-04 23:29:37 UTC (rev 1367)
+++ trunk/misc/nsis/ioquake3.nsi.in	2008-06-05 08:42:37 UTC (rev 1368)
@@ -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,18 +23,28 @@
 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"
 
+;--------------------------------
+
 ; The stuff to install
 Section "ioquake3 (required)"
 




More information about the quake3-commits mailing list