diff --git a/Examples/Modern UI/Readme.html b/Examples/Modern UI/Readme.html index 91f410dd..31c492d0 100644 --- a/Examples/Modern UI/Readme.html +++ b/Examples/Modern UI/Readme.html @@ -2,7 +2,7 @@ -NSIS Modern Style UI +NSIS Modern User Interface @@ -30,7 +30,7 @@ table .maintable { - border: 2px solid #53607B; + border: 2px solid #376EAB; } .margin @@ -79,7 +79,7 @@ table - + @@ -92,76 +92,77 @@ table also features new icons (designed by adni18) and a description area on the component select dialog.

To use this new UI for for installer, you need - to add some code to your NSIS script, which you can see in Example.nsi.

+ to add some code to your NSIS script. Read this document for more info!

Requirements

-

NSIS 2 alpha 7 (or later)

+

NSIS 2 beta 0 (or later)

Screenshot

How to use

Have a look at the example script, Example.nsi. This is an example of how the use this interface for your NSIS - installer.

-

To change elements on the dialogs, modify modern.exe - in the Contrib\UIs folder using a a resource editor such as - Resource Hacker.

-

The new macro system has full multilanguage support, - for an example, see Multilanguage.nsi

-

The 'Loading Setup' text on the slash screen - which is being displayed when the installer is starting (Verifying + installer. The macro system also has multilanguage support, + see Multilanguage.nsi for a multilanguage example.

+

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 + the first parameter of the MUI_INTERFACE macro.

+

Customize the interface

+

To change elements on the dialogs, modify modern.exe + or modern2.exe in the Contrib\UIs folder using a a resource + editor such as Resource + Hacker.

+

The 'Loading Setup' text on the slash screen which + is being displayed when the installer is starting (Verifying installer, Unpacking data when using COMPRESS_WHOLE) cannot be changed by the script, because the installer is not started yet when this dialog is being displayed. If you want to change - this text, modify dialog 111 of modern.exe.

+ this text, modify dialog 111 of modern(2).exe.

To 'verifying installer' and 'unpacking data' texts are defined in the language header file of the NSIS exehead (Source\exehead\lang.h). To change them, you need to edit this file and recompile NSIS.

-

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 the first parameter - of the MUI_INTERFACE macro.

Version history