diff --git a/Contrib/Icons/modern-header.bmp b/Contrib/Icons/modern-header.bmp new file mode 100644 index 00000000..e5e563e3 Binary files /dev/null and b/Contrib/Icons/modern-header.bmp differ diff --git a/Contrib/Modern UI/Changelog.txt b/Contrib/Modern UI/Changelog.txt index 3296189e..bf1b7066 100644 --- a/Contrib/Modern UI/Changelog.txt +++ b/Contrib/Modern UI/Changelog.txt @@ -1,6 +1,10 @@ NSIS Modern User Interface - VERSION HISTORY -1.62b - March 6, 2003 +1.63 - March 9, 2003 +* Support for a bitmap in the wizard header +* New defines to change the description area +* MUI_SYSTEM inserted automatically +* Easier to customize resouce files * New system for custom functions * New InstallOptions macro's that do not remove the return value from the stack diff --git a/Contrib/Modern UI/Readme.html b/Contrib/Modern UI/Readme.html index d54d4510..3a673cf5 100644 --- a/Contrib/Modern UI/Readme.html +++ b/Contrib/Modern UI/Readme.html @@ -152,6 +152,13 @@ follow these steps:

Show the license page.

MUI_COMPONENTSPAGE
Show the component selection page.

+
+

MUI_COMPONENTSPAGE_SMALLDESC
+ A small description area on the bottom of the page. Use this layout + if you have a lot of sections and don't need large descriptions.

+

MUI_COMPONENTSPAGE_NODESC
+ No description area.

+

MUI_DIRECTORYPAGE
Show the directory selection page.

MUI_STARTMENUPAGE
@@ -230,11 +237,11 @@ follow these steps:

4. Define interface settings (optional)

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

-
!define MUI_UI "${NSISDIR}\Contrib\UIs\modern2.exe"
+
!define MUI_ICON "myicon.ico"

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

The following settings are available: (default values)

MUI_UI (${NSISDIR}\Contrib\UIs\modern.exe)
- The interface file with the dialog resources.

+ The interface file with the dialog resources. Change this if you have made your own customized UI.

MUI_ICON (${NSISDIR}\Contrib\Icons\modern-install.ico)
The icon of the installer.

MUI_UNICON (${NSISDIR}\Contrib\Icons\modern-uninstall.ico)
@@ -252,7 +259,16 @@ follow these steps:

MUI_INSTALLCOLORS (/windows)
The colors of the details screen, hexadecimal RRGGBB. ("foreground" "background")

MUI_PROGRESSBAR (smooth)
- The style of the progress bar ("colored" to use the MUI_INSTALLCOLORS or "" for a old-school windows look).

+ The style of the progress bar ("colored" to use the MUI_INSTALLCOLORS or "" for an old-school + windows look).

+

MUI_HEADERBITMAP (not defined)
+ Bitmap to display in the white header. With the default DPI, a bitmap with a size 150x57 won't have to be resized. + An example of a header bitmap is ${NSISDIR}\Contrib\Icons\modern-header.bmp, but can also make one with your own + logo.

+
+

MUI_HEADERBITMAP_RIGHT (not defined)
+ Put the header bitmap on the right side of the header instead of the left side.

+

MUI_SPECIALINI (${NSISDIR}\Contrib\Modern UI\ioSpecial.ini)
Install Options INI File for the Welcome and Finish page.

MUI_SPECIALBITMAP (${NSISDIR}\Contrib\Icons\modern-wizard.bmp)
@@ -266,13 +282,11 @@ follow these steps:

Modern UI, such as the .onGUIInit function and the Page function, create your own function and let the Modern UI functions call them..

More info...

-

7. Insert the MUI_SYSTEM macro

-
!insertmacro MUI_SYSTEM
-

8. Insert custom pages (optional)

+

7. Insert custom pages (optional)

If you want to use custom pages (define MUI_CUSTOMPAGECOMMANDS or MUI_UNCUSTOMPAGECOMMANDS), insert them before inserting the language files.

More info...

-

9. Insert language files

+

8. Insert language files

Insert the Modern UI language files for the languages you are using:

!insertmacro MUI_LANGUAGE "English"

The Modern UI language files load the NLF language files, @@ -291,7 +305,7 @@ follow these steps:

language (in the language itself) to the stack:

 !insertmacro MUI_LANGDLL_PUSH "English" ;Parameter = Language file name in English
-

8. Insert the MUI_SECTIONS_FINISHHEADER macro

+

9. Insert the MUI_SECTIONS_FINISHHEADER macro

If you are not using a Finish page without defining MUI_FINISHPAGE_NOAUTOCLOSEWINDOW and have not set AutoCloseWindow to true, you should insert the MUI_SECTIONS_FINISHHEADER @@ -446,23 +460,17 @@ ReserveFile "ioFile.ini" ;Your own InstallOptions INI files Start Menu Folder selection: StartMenu.nsi
Welcome/Finish page: WelcomeFinish.nsi

-

The interface

-

Different versions

-

There are three different versions of the Modern UI. - Modern.exe contains the dialogs of the standard interface. - If you have an installer with a lot of subsections or long section - names, use modern2.exe, which has a different component selection page. - Use modern3.exe if you are not using descriptions.

-

Customize the dialogs

-

To change elements on the dialogs, modify modern?.exe +

Customize the dialogs

+

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

+ Resource Hacker + and use the MUI_UI define to use your customized UI.

The 'Please wait while Setup is loading...' text on the splash screen which is being displayed when the installer is starting (Verifying installer, Unpacking data) 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.
+ dialog 111 of modern.exe.
The '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.

@@ -544,8 +552,12 @@ FunctionEnd

Version history