diff --git a/Examples/Modern UI/Example.nsi b/Examples/Modern UI/Example.nsi index eed9a138..e4ea53b5 100644 --- a/Examples/Modern UI/Example.nsi +++ b/Examples/Modern UI/Example.nsi @@ -1,4 +1,4 @@ -;NSIS Modern Style UI version 1.19 +;NSIS Modern Style UI version 1.20 ;Example Script ;Written by Joost Verburg @@ -16,6 +16,7 @@ !define TEMP2 $R1 ;-------------------------------- +;Configuration ;General Name "${NAME} ${VERSION}" diff --git a/Examples/Modern UI/InstallOptions.nsi b/Examples/Modern UI/InstallOptions.nsi index 779c7cbd..5a24aa04 100644 --- a/Examples/Modern UI/InstallOptions.nsi +++ b/Examples/Modern UI/InstallOptions.nsi @@ -1,4 +1,4 @@ -;NSIS Modern Style UI version 1.19 +;NSIS Modern Style UI version 1.20 ;InstallOptions Example Script ;Written by Joost Verburg @@ -18,6 +18,7 @@ !define TEMP2 $R1 ;-------------------------------- +;Configuration ;General Name "${NAME} ${VERSION}" @@ -42,6 +43,13 @@ ;Uninstaller UninstallText "This will uninstall ${NAME} from your system." + ;Things that need to be extracted on startup (keep these lines before any File command!) + ;Use ReserveFile for your own Install Options ini files too! + ReserveFile "${NSISDIR}\Plugins\InstallOptions.dll" + ReserveFile "iniA.ini" + ReserveFile "iniB.ini" + ReserveFile "iniC.ini" + ;-------------------------------- ;Installer Sections diff --git a/Examples/Modern UI/ModernUI.nsh b/Examples/Modern UI/ModernUI.nsh index 7138071c..8e8fd7c1 100644 --- a/Examples/Modern UI/ModernUI.nsh +++ b/Examples/Modern UI/ModernUI.nsh @@ -1,4 +1,4 @@ -;Modern UI Header File version 1.19i +;Modern UI Header File version 1.20 ;Written by Joost Verburg ;See Example.nsi & Multilanguage.nsi for an example of usage diff --git a/Examples/Modern UI/MultiLanguage.nsi b/Examples/Modern UI/MultiLanguage.nsi index 0f7f824e..0e6f65a3 100644 --- a/Examples/Modern UI/MultiLanguage.nsi +++ b/Examples/Modern UI/MultiLanguage.nsi @@ -1,4 +1,4 @@ -;NSIS Modern Style UI version 1.19 +;NSIS Modern Style UI version 1.20 ;Multilanguage & LangDLL Example Script ;Written by Joost Verburg @@ -16,6 +16,7 @@ !define TEMP2 $R1 ;-------------------------------- +;Configuration ;Language Files LoadLanguageFile "${NSISDIR}\Contrib\Language files\English.nlf" @@ -49,6 +50,9 @@ UninstallText /LANG=1033 "This will uninstall ${NAME} from your system." UninstallText /LANG=1043 "Dit programma zal ${NAME} verwijderen van uw systeem." + ;Things that need to be extracted on startup (keep these lines before any File command!) + ReserveFile "${NSISDIR}\Plugins\LangDLL.dll" + ;-------------------------------- ;Installer Sections diff --git a/Examples/Modern UI/Readme.html b/Examples/Modern UI/Readme.html index 4e0f2cab..27dfafed 100644 --- a/Examples/Modern UI/Readme.html +++ b/Examples/Modern UI/Readme.html @@ -101,7 +101,10 @@ table
Have a look at the example script, Example.nsi. This is an example of how the use this interface for your NSIS installer. The macro system also has multilanguage support, - see Multilanguage.nsi for a multilanguage example.
+ see Multilanguage.nsi for a multilanguage example. And if you + want to use Install Options (for extra pages in your installer, + like Start Menu folder selection etc.) have a look at InstallOptions.nsi, + which is an example of the new Install Options macro system.If you have an installer with a lot of subsections or long section names, use the modern2.exe UI, which has a larger treeview for the component selection. To use modern2.exe, change @@ -123,11 +126,15 @@ table file and recompile NSIS.
Version history