Archive: Modern UI 1.67 released - info about changes


Modern UI 1.67 released - info about changes
Modern UI 1.67

Modern UI 1.67 is finished. The most important new feature is support for Welcome- and Finish pages.

* Support for uninstaller Welcome- and Finish pages
* Renamed a few settings
* Default header image
* Support for uninstaller abort warning
* Setting for 3 line text on Welcome- and Finish page
* Langauge file backwards compatibility: English for missing strings

Note: If you are using a header image or a custmomized INI/bitmap, check the Readme for the new settings.

Information about important 1.66 changes

1) All texts can now be set for every individual page.

This means that you should not define strings before the MUI_LANGUAGE macros anymore, but use the new text settings. You can find 'em all in the Modern UI Readme.

For multilingual installers, use language strings.

2) All interface settings have to be set before inserting the page macros


MUI 1.67 bug
Search/replace of MUI_UI_SMALLDESCRIPTION with MUI_UI_SMALLDESC is incomplete.
The following error occurs:


Error: Can't find "IDD_SELCOM" in "${MUI_UI_SMALLDESCRIPTION}"!
Error in macro MUI_INTERFACE on macroline 91
Error in macro MUI_PAGE_INIT on macroline 3
Error in macro MUI_PAGE_WELCOME on macroline 5

Here is the Hungarian MUI text. 1.67


Croatian LangFiles (and a bug?)
- MUI_UNFINISHPAGE_NOAUTOCLOSE undocumented

- MUI_UNPAGE_INSTFILES ends up with "Installation Complete"
and "Setup was completed..." message
(MUI_TEXT_FINISH_TITLE instead of MUI_UNTEXT_FINISH_TITLE). Is
this intentionally?

Attached are Croatian language changes for 1.67...


Ukrainian update
Ukrainian update for Modern UI 1.67


<<<Updated>>>

PortugueseBR.nsh - MUI 1.67


<<<Updated>>>

Portuguese.nlf - Latest NLF Fix (Joost fixed in English.nlf just the untraslated line of my PortugueseBR.nlf file, thanks!)


Bug fix
Hi!

I have found errors in hungarian language files.
Here is the updated files.

Orfanik


I see the uninstaller welcome and finish pages have been added, but I tried:

!define MUI_UNPAGE_WELCOME_TEXT "my text"

but it had no effect. There didn't seem to be anything in the MUI docs about this kind of define, so I just used the regular installer examples. What am I doing wrong?

JAS


Usually there is no difference between installer and uninstaller page settings.

Use MUI_WELCOMEPAGE_TEXT (before inserting the page macro).


Slovak MUI 1.67 + NLF update
-added missing strings in MUI
and slightly changed NLF


!define MUI_FINISHPAGE_RUN "$INSTDIR\EasyRESChanger.exe"
!define MUI_FINISHPAGE_NOREBOOTSUPPORT
!define MUI_FINISHPAGE_LINK "Homepage"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.easyreschanger.com"

The Link and the Run is only shown in Uninstall Finish page.
But not in install finish page.


These are page specific defines. That means that you have to set them before inserting the page macro.

If you want to use them for two different pages, you have to set them before both macros.


Idiot Question
Where can i download the newest mui (1.67)?


MUI 1.67 is part of the latest CVS version. You can get it using NSIS Update or the nightly snapshot available on the NSIS homepage.


Yay! Thanks!


You can also get NSIS 2.0b4 RC1:

http://forums.winamp.com/showthread....hreadid=156288


I guess I must be doing something wrong, two simple things,


!define MUI_HEADERIMAGE
!define MUI_HEADERIMAGE_BITMAP "${NSISDIR}\mybitmap.bmp"

this don't work my header is just blank and i now get another error about the 'English.nsh' error in macros.

Anyhelp anybody?

Try defining it above the first page macro.