Skip to content
⌘ NSIS Forum Archive

Upgrading from MUI to MUI2?

4 posts

/usr/bin/Tux#

Upgrading from MUI to MUI2?

Hi,

is there an easy way to upgrade a MUI-based installer with multiple features (one extra page, language selection, ...) to MUI2?

I doubt changing the "include" line is enough...
kichik#
The short answer: changing the include line is enough.

The long answer, taken from the readme:
To upgrade a Modern UI 1.8 script, you should:
  • Insert the MUI2.nsh header file instead of MUI.nsh.
  • The macros for InstallOptions have been moved to a separate header file unrelated to the Modern UI. If you are still using InstallOptions for custom pages, insert InstallOptions.nsh and use the INSTALLOPTIONS_* macros instead of the MUI_INSTALLOPTIONS_* macros. The macros itself have remained the same.
  • Rewrite customization code for the Modern UI 1.8 welcome and finish pages in which the InstallOptions INI file is used. nsDialogs commands should be used instead.
  • Use the standard NSIS method to escape special characters in all texts. For example, $\r$\n creates newline.
vc6#edited
Any Visible Differences between MUI and MUI2?

I followed the upgrade (from MUI 1.8 to MUI 2) instructions here and it went well.

However, I couldn't notice any visible/visual differences in the my reslutant setup.exe.

After researching a little more, I discovered the following thread which explains the differences between MUI1 and MUI2:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


Nice discussion 👍