Skip to content
⌘ NSIS Forum Archive

Language-dependent MUI

3 posts

Javarome#

Language-dependent MUI

Hello,

According to the latest MUI readme you need to define everything before you insert the language file (MUI_LANGUAGE). But, given this, how do you set MUI settings depending on a selected language (using MUI_LANGDLL_DISPLAY to let the user choose, etc.)?

For example, suppose I want to display bitmaps (MUI_HEADERIMAGE_BITMAP, MUI_WELCOMEFINISHPAGE_BITMAP) tailored for a specific language?

The funny thing is that some MUI settings are indeed working with forward definitions ; I mean I can !define MUI_PAGE_HEADER_TEXT $(MyTitle) whereas MyTitle is defined *later* by a Language.nsh include.

Maybe I'm missing something about how those things are supposed to work, as a NSIS newbie, and would love to understand how language-dependent MUI settings are possible.

Thank you.
T.Slappy#
Actually there is a lot of problems with MUI.
Try using MUI2 instead (however there are errors too), but I assume that this will be cleared soon.