From d173b1d37682e916ebb7b3d20128885cc9cf86e6 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 27 Oct 2002 17:17:46 +0000 Subject: [PATCH] cleanup git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1486 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/makensis.nsi | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index 199bf7ba..ec4c188a 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -2,17 +2,15 @@ !define VER_MINOR 0b0 !define NAME "NSIS" -!ifdef CLASSIC_UI ;Modern UI already includes WinMessages - !verbose 3 - !include "${NSISDIR}\Examples\WinMessages.nsh" - !verbose 4 -!endif +Name "NSIS" +Caption "Nullsoft Install System - Setup" +OutFile ..\nsis${VER_MAJOR}${VER_MINOR}.exe +SetCompressor bzip2 !ifndef CLASSIC_UI + !include "${NSISDIR}\Contrib\Modern UI\System.nsh" -!endif -!ifndef CLASSIC_UI !insertmacro MUI_BASICFUNCTIONS_INIT !define MUI_LICENSEPAGE @@ -21,19 +19,11 @@ !define MUI_ABORTWARNING !define MUI_UNINSTALLER - ;Language - LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf" !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" !insertmacro MUI_INTERFACE + !endif LicenseData ..\license.txt