Skip to content

Commit

Permalink
Updated installer to make it look more modern
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgammon committed Nov 7, 2010
1 parent 4ec9cb2 commit 25d0a76
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
33 changes: 27 additions & 6 deletions install/mushclient.nsi
Expand Up @@ -16,10 +16,34 @@ Caption "MUSHclient Installer"
; BGGradient FE8100 FCFC04 771F0E
; InstallColors FF8080 000030

; Use compression
SetCompressor /SOLID lzma


; The file to write
OutFile mushclient40x.exe

; Modern interface settings
!include "MUI.nsh"

!define MUI_ABORTWARNING
!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install-colorful.ico"
!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall-colorful.ico"

!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "..\docs\agreement.txt"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_FINISH

!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES

; Set languages (first is default language)
!insertmacro MUI_LANGUAGE "English"
!insertmacro MUI_RESERVEFILE_LANGDLL


; The default installation directory
InstallDir $PROGRAMFILES\MUSHclient

Expand All @@ -40,14 +64,8 @@ ShowInstDetails show
SetOverwrite on
;SetOverwrite ifnewer
SetCompress auto
SetCompressor lzma
SetDateSave on

; license

LicenseText "Please read the following agreement and click on 'Next' if you agree to it:"
LicenseData "..\docs\agreement.txt"

; install types

InstType Typical ; 1
Expand Down Expand Up @@ -248,6 +266,7 @@ Section "Documentation"
File "..\docs\RegularExpressions.txt"
File "..\docs\gpl.txt"
File "..\docs\lpeg.html"
File "..\docs\lpeg-128.gif"
File "..\docs\lsqlite3.html"
File "..\docs\lua_license.txt"
File "..\docs\luacom.pdf"
Expand Down Expand Up @@ -625,6 +644,8 @@ Section Uninstall
Delete "$INSTDIR\docs\RegularExpressions.txt"
Delete "$INSTDIR\docs\gpl.txt"
Delete "$INSTDIR\docs\lpeg.html"
Delete "$INSTDIR\docs\lpeg-128.gif"

Delete "$INSTDIR\docs\lsqlite3.html"
Delete "$INSTDIR\docs\lua_license.txt"
Delete "$INSTDIR\docs\luacom.pdf"
Expand Down
2 changes: 2 additions & 0 deletions scripting/lpeg.c
Expand Up @@ -3,6 +3,7 @@

// Implements:

// lpeg.B
// lpeg.C
// lpeg.Carg
// lpeg.Cb
Expand All @@ -20,6 +21,7 @@
// lpeg.locale
// lpeg.match
// lpeg.print
// lpeg.setmaxstack
// lpeg.span
// lpeg.type
// lpeg.version
Expand Down

0 comments on commit 25d0a76

Please sign in to comment.