git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1486 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2002-10-27 17:17:46 +00:00
parent 910f4fc4bd
commit d173b1d376

View file

@ -2,17 +2,15 @@
!define VER_MINOR 0b0 !define VER_MINOR 0b0
!define NAME "NSIS" !define NAME "NSIS"
!ifdef CLASSIC_UI ;Modern UI already includes WinMessages Name "NSIS"
!verbose 3 Caption "Nullsoft Install System - Setup"
!include "${NSISDIR}\Examples\WinMessages.nsh" OutFile ..\nsis${VER_MAJOR}${VER_MINOR}.exe
!verbose 4 SetCompressor bzip2
!endif
!ifndef CLASSIC_UI !ifndef CLASSIC_UI
!include "${NSISDIR}\Contrib\Modern UI\System.nsh" !include "${NSISDIR}\Contrib\Modern UI\System.nsh"
!endif
!ifndef CLASSIC_UI
!insertmacro MUI_BASICFUNCTIONS_INIT !insertmacro MUI_BASICFUNCTIONS_INIT
!define MUI_LICENSEPAGE !define MUI_LICENSEPAGE
@ -21,19 +19,11 @@
!define MUI_ABORTWARNING !define MUI_ABORTWARNING
!define MUI_UNINSTALLER !define MUI_UNINSTALLER
;Language
LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf"
!include "${NSISDIR}\Contrib\Modern UI\Language Files\English.nsh" !include "${NSISDIR}\Contrib\Modern UI\Language Files\English.nsh"
!endif
Name "NSIS"
Caption "Nullsoft Install System - Setup"
OutFile ..\nsis${VER_MAJOR}${VER_MINOR}.exe
SetCompressor bzip2
!ifndef CLASSIC_UI
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe" !define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe"
!insertmacro MUI_INTERFACE !insertmacro MUI_INTERFACE
!endif !endif
LicenseData ..\license.txt LicenseData ..\license.txt