From 669521a03dd3c390bf719bdfe968c7bc086ff99a Mon Sep 17 00:00:00 2001
From: joostverburg
Date: Sun, 22 Sep 2002 13:33:53 +0000
Subject: [PATCH] version 1.20
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1144 212acab6-be3b-0410-9dea-997c60f758d6
---
Examples/Modern UI/Example.nsi | 3 ++-
Examples/Modern UI/InstallOptions.nsi | 10 +++++++++-
Examples/Modern UI/ModernUI.nsh | 2 +-
Examples/Modern UI/MultiLanguage.nsi | 6 +++++-
Examples/Modern UI/Readme.html | 24 ++++++++++++++++--------
5 files changed, 33 insertions(+), 12 deletions(-)
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.
- - Working on the following things
+
- 1.20 - September 22, 2002
+ - Lots of macro system updates & fixes
- InstallOptions support in macro system
-
- Added Modern UI + InstallOptions example
-
- Macro system updates & fixes
+
- Added Modern UI + InstallOptions example (InstallOptions.nsi)
+
- MUI_NEXTPAGE_OUTER integrated in MUI_NEXTPAGE
+
- No hard-coded function names anymore (you should give MUI_PREVPAGE a parameter
+ with the set page function name (for example, MUI_PREVPAGE SetPage)
+
- Examples use ReserveFile for faster startup
- 1.19 - Semtember 19, 2002
@@ -144,12 +151,13 @@ table
- 1.16 - Semtember 6, 2002
- - Change text 'Scroll down' on license page to 'Press Page Down', because the RichEdit control has
- focus by default now
+
- Change text 'Scroll down' on license page to 'Press Page Down',
+ because the RichEdit control has focus by default now
- 1.15 - Semtember 4, 2002
- - Multilanguage example: changed LangDialog to LangDLL::LangDialog (using the DLL name is now required)
+
- Multilanguage example: changed LangDialog to LangDLL::LangDialog
+ (using the DLL name is now required)
- 1.14 - Semtember 3, 2002
@@ -224,4 +232,4 @@ table