From 00798142b0a4fb1951247a31dca70a62850b2a4d Mon Sep 17 00:00:00 2001 From: joostverburg Date: Sun, 25 May 2003 20:26:28 +0000 Subject: [PATCH] compatible with Modern UI 1.65 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2572 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/makensis.nsi | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/Examples/makensis.nsi b/Examples/makensis.nsi index c443b9a9..38d9166b 100644 --- a/Examples/makensis.nsi +++ b/Examples/makensis.nsi @@ -35,28 +35,34 @@ InstallDirRegKey HKLM SOFTWARE\NSIS "" ;-------------------------------- ;Modern UI Configuration + ;Names !define MUI_PRODUCT "NSIS" !define MUI_VERSION "2.0b4 (CVS)" !define MUI_NAME "Nullsoft Install System ${MUI_VERSION}" ;Installer name - !define MUI_WELCOMEPAGE - !define MUI_LICENSEPAGE - !define MUI_COMPONENTSPAGE - !define MUI_COMPONENTSPAGE_SMALLDESC - !define MUI_DIRECTORYPAGE - !define MUI_FINISHPAGE - !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Docs\index.html" - !define MUI_FINISHPAGE_NOREBOOTSUPPORT + ;Pages + !insertmacro MUI_PAGE_WELCOME + !insertmacro MUI_PAGE_LICENSE + !insertmacro MUI_PAGE_COMPONENTS + !insertmacro MUI_PAGE_DIRECTORY + !insertmacro MUI_PAGE_INSTFILES + !insertmacro MUI_PAGE_FINISH - !define MUI_ABORTWARNING + !insertmacro MUI_UNPAGE_CONFIRM + !insertmacro MUI_UNPAGE_INSTFILES + + ;Settings + !define MUI_ABORTWARNING - !define MUI_UNINSTALLER - !define MUI_UNCONFIRMPAGE - !define MUI_HEADERBITMAP "${NSISDIR}\Contrib\Icons\modern-header.bmp" !define MUI_SPECIALBITMAP "${NSISDIR}\Contrib\Icons\modern-wizard nsis llama.bmp" + !define MUI_COMPONENTSPAGE_SMALLDESC + + !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Docs\index.html" + !define MUI_FINISHPAGE_NOREBOOTSUPPORT + ;-------------------------------- ;Languages