From 64a97198cceef884e5a91e15da56928000f72617 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 7 Feb 2003 14:15:51 +0000 Subject: [PATCH] If we already have include directories, why not use them? git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2115 212acab6-be3b-0410-9dea-997c60f758d6 --- Examples/Modern UI/Basic.nsi | 2 +- Examples/Modern UI/InstallOptions.nsi | 2 +- Examples/Modern UI/MultiLanguage.nsi | 2 +- Examples/Modern UI/StartMenu.nsi | 2 +- Examples/Modern UI/WelcomeFinish.nsi | 2 +- Include/MUI.nsh | 1 + 6 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 Include/MUI.nsh diff --git a/Examples/Modern UI/Basic.nsi b/Examples/Modern UI/Basic.nsi index 0c487a39..6e228abb 100644 --- a/Examples/Modern UI/Basic.nsi +++ b/Examples/Modern UI/Basic.nsi @@ -5,7 +5,7 @@ !define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_VERSION "1.0" ;Define your own software version here -!include "${NSISDIR}\Contrib\Modern UI\System.nsh" +!include "MUI.nsh" ;-------------------------------- ;Configuration diff --git a/Examples/Modern UI/InstallOptions.nsi b/Examples/Modern UI/InstallOptions.nsi index d5c91cf9..d63bd2ca 100644 --- a/Examples/Modern UI/InstallOptions.nsi +++ b/Examples/Modern UI/InstallOptions.nsi @@ -5,7 +5,7 @@ !define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_VERSION "1.0" ;Define your own software version here -!include "${NSISDIR}\Contrib\Modern UI\System.nsh" +!include "MUI.nsh" !define TEMP $R0 diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi index 0d4763cd..e907246d 100644 --- a/Examples/Modern UI/MultiLanguage.nsi +++ b/Examples/Modern UI/MultiLanguage.nsi @@ -5,7 +5,7 @@ !define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_VERSION "1.0" ;Define your own software version here -!include "${NSISDIR}\Contrib\Modern UI\System.nsh" +!include "MUI.nsh" ;-------------------------------- ;Configuration diff --git a/Examples/Modern UI/StartMenu.nsi b/Examples/Modern UI/StartMenu.nsi index 5db00402..69f737d2 100644 --- a/Examples/Modern UI/StartMenu.nsi +++ b/Examples/Modern UI/StartMenu.nsi @@ -5,7 +5,7 @@ !define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_VERSION "1.0" ;Define your own software version here -!include "${NSISDIR}\Contrib\Modern UI\System.nsh" +!include "MUI.nsh" ;$9 is being used to store the Start Menu Folder. ;Do not use this variable in your script (or Push/Pop it)! diff --git a/Examples/Modern UI/WelcomeFinish.nsi b/Examples/Modern UI/WelcomeFinish.nsi index c26f962d..38bcc648 100644 --- a/Examples/Modern UI/WelcomeFinish.nsi +++ b/Examples/Modern UI/WelcomeFinish.nsi @@ -5,7 +5,7 @@ !define MUI_PRODUCT "Test Software" ;Define your own software name here !define MUI_VERSION "1.0" ;Define your own software version here -!include "${NSISDIR}\Contrib\Modern UI\System.nsh" +!include "MUI.nsh" ;-------------------------------- ;Configuration diff --git a/Include/MUI.nsh b/Include/MUI.nsh new file mode 100644 index 00000000..c2b2a71c --- /dev/null +++ b/Include/MUI.nsh @@ -0,0 +1 @@ +!include "${NSISDIR}\Contrib\Modern UI\System.nsh" \ No newline at end of file