Archive: Modern UI Macro Error


Modern UI Macro Error
I am trying to compile an installer into English, French, and Spanish but I keep getting this error:

1 warning:
unknown variable/constant "{MUI_LANGDLL_PUSHLIST}" detected, ignoring (macro:MUI_LANGDLL_DISPLAY:24)

Any idea what the problem may be?


Attach the script.


woops heres the .nsi


Move .onInit after the insertion of the MUI_LANGUAGE macro.


I don't get that other error now, but I get a whole ton of errors that look like this:

warning: LangString "MUI_INNERTEXT_LICENSE_BOTTOM" is not set in language table of language 1036

Also now the Modern UI is messed up.

Here's the script as it is now.


Don't move the MUI_LANGUAGE macro insertion above .onInit, move .onInit below MUI_LANGUAGE. The correct order is defines, page macros, language macros and then macros that depend on the languages inserted such as MUI_LANGDLL_DISPLAY.