diff --git a/Contrib/Modern UI/System.nsh b/Contrib/Modern UI/System.nsh index c01aff54..881d7d1d 100644 --- a/Contrib/Modern UI/System.nsh +++ b/Contrib/Modern UI/System.nsh @@ -1,10 +1,12 @@ -;Modern UI Macro System 1.3 +;NSIS Modern User Interface version 1.3 +;Macro System ;Written by Joost Verburg ;See Basic.nsi, Multilanguage.nsi and InstallOptions.nsi ;in the Examples\Modern UI directory for examples of usage. ;-------------------------------- +!verbose 3 !ifndef MUI_MACROS_USED @@ -625,4 +627,7 @@ FunctionEnd !macroend -!endif \ No newline at end of file +!endif + +!verbose 4 +;-------------------------------- \ No newline at end of file diff --git a/Examples/Modern UI/Basic.nsi b/Examples/Modern UI/Basic.nsi index a6a740c1..294e94c7 100644 --- a/Examples/Modern UI/Basic.nsi +++ b/Examples/Modern UI/Basic.nsi @@ -5,9 +5,7 @@ !define NAME "Test Software" ;Define your own software name here !define VERSION "1.0" ;Define your own software version here -!verbose 3 - !include "${NSISDIR}\Contrib\Modern UI\System.nsh" -!verbose 4 +!include "${NSISDIR}\Contrib\Modern UI\System.nsh" ;$9 is the variable used to store the current page, do not use this var! diff --git a/Examples/Modern UI/InstallOptions.nsi b/Examples/Modern UI/InstallOptions.nsi index 29c19ec3..19029c34 100644 --- a/Examples/Modern UI/InstallOptions.nsi +++ b/Examples/Modern UI/InstallOptions.nsi @@ -5,9 +5,7 @@ !define NAME "Test Software" ;Define your own software name here !define VERSION "1.0" ;Define your own software version here -!verbose 3 - !include "${NSISDIR}\Contrib\Modern UI\System.nsh" -!verbose 4 +!include "${NSISDIR}\Contrib\Modern UI\System.nsh" ;-------------------------------- ;Configuration diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi index 80d163be..be687c07 100644 --- a/Examples/Modern UI/MultiLanguage.nsi +++ b/Examples/Modern UI/MultiLanguage.nsi @@ -5,9 +5,7 @@ !define NAME "Test Software" ;Define your own software name here !define VERSION "1.0" ;Define your own software version here -!verbose 3 - !include "${NSISDIR}\Contrib\Modern UI\System.nsh" -!verbose 4 +!include "${NSISDIR}\Contrib\Modern UI\System.nsh" ;$9 is the variable used to store the current page, do not use this var!