From 9dc761c1168b064644392ef1b7855894b781dc65 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 6 Nov 2002 12:12:51 +0000 Subject: [PATCH] new Modern UI git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1605 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/makensis.nsi | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index 5ca64ec1..80fce986 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -1,10 +1,13 @@ +!define MUI_PRODUCT "NSIS" +!define MUI_VERSION "2.0b0" + +!define MUI_NAME "Nullsoft Install System ${MUI_VERSION}" ;Installer name + !define VER_MAJOR 2 !define VER_MINOR 0b0 -!define NAME "NSIS" -Name "NSIS" -Caption "Nullsoft Install System - Setup" OutFile ..\nsis${VER_MAJOR}${VER_MINOR}.exe + SetCompressor bzip2 !ifndef CLASSIC_UI @@ -17,10 +20,12 @@ SetCompressor bzip2 !define MUI_ABORTWARNING !define MUI_UNINSTALLER - !include "${NSISDIR}\Contrib\Modern UI\Language Files\English.nsh" + !insertmacro MUI_LANGUAGE "English" !define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe" + !insertmacro MUI_SYSTEM + !endif LicenseData ..\license.txt @@ -531,8 +536,6 @@ FunctionEnd !ifndef CLASSIC_UI -!insertmacro MUI_SYSTEM - !insertmacro MUI_FUNCTIONS_DESCRIPTION_START !insertmacro MUI_DESCRIPTION_TEXT ${SecCore} "The Core files required to use NSIS" !insertmacro MUI_DESCRIPTION_TEXT ${SecExample} "Example installation scripts that show you how to use NSIS"