diff --git a/Contrib/Modern UI/Changelog.txt b/Contrib/Modern UI/Changelog.txt index f8e7e49b..fd1d9122 100644 --- a/Contrib/Modern UI/Changelog.txt +++ b/Contrib/Modern UI/Changelog.txt @@ -1,17 +1,23 @@ NSIS Modern User Interface - VERSION HISTORY +1.62 - December 14, 2002 +* No problems anymore when using both 'Run program' and 'Show Readme' on the finish page +* Default state of checkboxes on the finish page can be changed +* Welcome / Finish pages compatible with custom DPI settings +* Converted Install Options INI files to use dialog units + 1.61 - December 5, 2002 * Final version for NSIS 2 beta 0 * modern3.exe UI without description area * Added define to show uninstall confirm page * Added language string for finish page title and continue to uninstall -* Define for parameters for the application to run on the finishpage +* Define for parameters for the application to run on the finish page * Bugfixes 1.6 - November 18, 2002 * Welcome / Finish pages * Automatic ask for reboot on finish page -* Create no shortcut option on Start Menu Folder selection page +* Create no shortcut option on the Start Menu Folder selection page * Customizing GUIInit functions easier * Minor font / UI changes @@ -35,71 +41,71 @@ NSIS Modern User Interface - VERSION HISTORY * Modern UI Language Files load NLF language files * Renamed macro's and defines -1.3 - October 27, 2002 -* Easier macro system for basic scripts -* New MultiLanguage system using Modern UI Language Files -* New directory structure (header/language files in Contrib\Modern UI) -* Small bugfixes & typo corrections -* SetPage function should be set using defines -* Different NextPage/PrevPage/FinishHeader macro's for install/uninstall -* Interface settings can be definend (for example, MUI_ICON), no parameters for MUI_INTERFACE anymore -* New Install Options macro's to read/write IO INI file values +1.3 - October 27, 2002 +* Easier macro system for basic scripts +* New MultiLanguage system using Modern UI Language Files +* New directory structure (header/language files in Contrib\Modern UI) +* Small bugfixes & typo corrections +* SetPage function should be set using defines +* Different NextPage/PrevPage/FinishHeader macro's for install/uninstall +* Interface settings can be definend (for example, MUI_ICON), no parameters for MUI_INTERFACE anymore +* New Install Options macro's to read/write IO INI file value -1.21 - September 30, 2002 -* Temp vars set in Modern UI header -* Currentpage & Install Options vars should be set using parameters of the MUI_INTERFACE and * MUI_INSTALLOPTIONS macro's -* MultiLanguage.nsi uses the new language strings +1.21 - September 30, 2002 +* Temp vars set in Modern UI header +* Currentpage & Install Options vars should be set using parameters of the MUI_INTERFACE and * MUI_INSTALLOPTIONS macro's +* MultiLanguage.nsi uses the new language strings -1.2 - September 22, 2002 -* Lots of macro system updates & fixes -* InstallOptions support in macro system -* Added Modern UI + InstallOptions example (InstallOptions.nsi) -* MUI_NEXTPAGE_OUTER integrated in MUI_NEXTPAGE +1.2 - September 22, 2002 +* Lots of macro system updates & fixes +* InstallOptions support in macro system +* 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 +* Examples use ReserveFile for faster startup -1.19 - Semtember 19, 2002 -* Renamed some macro's -* Custom code can be used between page start/stop macro's +1.19 - Semtember 19, 2002 +* Renamed some macro's +* Custom code can be used between page start/stop macro's -1.18 - Semtember 13, 2002 -* Uses the new Sendmessage string option +1.18 - Semtember 13, 2002 +* Uses the new Sendmessage string option -1.17 - Semtember 10, 2002 -* Win9x font weight bug fixed (font of title in white rect) +1.17 - Semtember 10, 2002 +* Win9x font weight bug fixed (font of title in white rect) -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 +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 -1.15 - Semtember 4, 2002 -* Multilanguage example: changed LangDialog to LangDLL::LangDialog (using the DLL name is now required) +1.15 - Semtember 4, 2002 +* Multilanguage example: changed LangDialog to LangDLL::LangDialog (using the DLL name is now required) -1.14 - Semtember 3, 2002 -* Small grammar fix (thanks eccles) -* UI files updated by Justin for better RichEdit usage +1.14 - Semtember 3, 2002 +* Small grammar fix (thanks eccles) +* UI files updated by Justin for better RichEdit usage -1.13 - Semtember 2, 2002 +1.13 - Semtember 2, 2002 * Added 16 color icons -1.12 - August 30, 2002 -* Verifying installer & Unpacking data dialog has no titlebar anymore +1.12 - August 30, 2002 +* Verifying installer & Unpacking data dialog has no titlebar anymore -1.11 - August 29, 2002 -* Finish header for uninstaller can also be set using MUI_FINISHHEADER +1.11 - August 29, 2002 +* Finish header for uninstaller can also be set using MUI_FINISHHEADER -1.1 - August 29, 2002 -* Header file with macros, it's now very easy to use the UI in your scripts :) -* Added the modern2.exe UI, with an other location of the Description frame, for installers with a lot of subsections (thanks rainwater) -* Updated example scripts -* Added Multilanguage.nsi example (Multilanguage & LangDLL) -* Fixed background color issue with some custom XP themes -* Removed WS_VISIBLE from black rect for inner dialog (fixes display issues) -* Changed size of description area -* Example script: Added instructions for the user on the Description frame -* Auto sizing branding text -* Used modern.bmp for the checks (thanks rainwater) -* Using the new NSIS version, descriptions work using the keyboard and you can give descriptions to subsections -* Correct font size using High-DPI fonts +1.1 - August 29, 2002 +* Header file with macros, it's now very easy to use the UI in your scripts :) +* Added the modern2.exe UI, with an other location of the Description frame, for installers with a lot of subsections (thanks rainwater) +* Updated example scripts +* Added Multilanguage.nsi example (Multilanguage & LangDLL) +* Fixed background color issue with some custom XP themes +* Removed WS_VISIBLE from black rect for inner dialog (fixes display issues) +* Changed size of description area +* Example script: Added instructions for the user on the Description frame +* Auto sizing branding text +* Used modern.bmp for the checks (thanks rainwater) +* Using the new NSIS version, descriptions work using the keyboard and you can give descriptions to subsections +* Correct font size using High-DPI fonts -1.0 - August 26, 2002 -* Initial release \ No newline at end of file +1.0 - August 26, 2002 +* Initial release \ No newline at end of file diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index fe419cc7..d3732a95 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -111,7 +111,7 @@ with a custom user interface.

like the wizards of recent Windows versions. This new interface also features new graphics and a description area on the component selection page.

-

To use this new interface for for installer, you need +

To use this new interface for your installer, you need to add some code to your NSIS script. Read this document for more info!

Requirements

NSIS 2 beta 0 (or later)

@@ -158,7 +158,7 @@ add the following things (in order, from the beginning of the script):

MUI_DIRECTORYPAGE
Show the directory selection page.

MUI_STARTMENUPAGE
- Show the Start Menu Folder selection page page.

+ Show the Start Menu Folder selection page.

MUI_STARTMENU_VARIABLE
Variable to store the current Start Menu Folder. Default is $9. @@ -171,15 +171,23 @@ add the following things (in order, from the beginning of the script):

Show the Finish page.

MUI_FINISHPAGE_RUN
- Applcation which the user can select to run (using a checkbox). + Application which the user can select to run (using a checkbox). You don't need to put quotes around the filename when it contains spaces.

+

MUI_FINISHPAGE_RUN_PARAMETERS
Parameters for the application to run. Don't forget to escape double quotes ($\") in the value.

+

MUI_FINISHPAGE_RUN_NOTCHECKED
+ Do not check the 'Run program' checkbox by default

+

MUI_FINISHPAGE_SHOWREADME
File which the user can select to view (using a checkbox). You don't need to put quotes around the filename when it contains spaces. Use $(LANGSTRINGNAME) as value is you want to use a language string.

+
+

MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
+ Do not check the 'Show Readme' checkbox by default

+

MUI_FINISHPAGE_NOAUTOCLOSE
Do not automatically jump to the finish page, to allow the user to check the log.

@@ -227,7 +235,7 @@ add the following things (in order, from the beginning of the script):

Please help to translate the new strings and post them at the NSIS Forum.

5. Define interface settings (optional)

-

You can also change the settings of the interface by usings defines:

+

You can also change the settings of the interface by using defines:

!define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe"

If you don't define a setting, the default will be used.

The following settings are available: (default values)

@@ -266,7 +274,7 @@ add the following things (in order, from the beginning of the script):

after all the sections to display the finish-header:

!insertmacro MUI_SECTIONS_FINISHHEADER

For the uninstaller, insert MUI_UNFINISHHEADER at the end of the -Unintaller section:

+Uninstaller section:

 !insertmacro MUI_UNFINISHHEADER
 
@@ -338,6 +346,11 @@ Function FunctionName !insertmacro MUI_INSTALLOPTIONS_SHOW "ioFile.ini" FunctionEnd +

To read or write values to the INI Files on runtime, use these macro's:

+
+!insertmacro MUI_INSTALLOPTIONS_READ $VAR "ioFile.ini" "Field #" "Value Name"
+!insertmacro MUI_INSTALLOPTIONS_WRITE "ioFile.ini" "Field #" "Value Name" "Value"
+

Examples

Basic: Basic.nsi
Multilanguage: MultiLanguage.nsi
@@ -382,21 +395,30 @@ FunctionEnd

Version history