Skip to content
⌘ NSIS Forum Archive

Change contents of MUI_TEXT_WELCOME_INFO_TEXT

3 posts

xbarns#

Change contents of MUI_TEXT_WELCOME_INFO_TEXT

Hi all,

i need to change the contents of

MUI_TEXT_WELCOME_INFO_TEXT for a couple of languages (German, English, later maybe Japanese).

To do this i use

LangString MUI_TEXT_WELCOME_INFO_TEXT ${LANG_GERMAN} "Dieser Assistent wird Sie durch die Installation von $(^NameDA) begleiten.$\r$\n$\r$\n$_CLICK"
LangString MUI_TEXT_WELCOME_INFO_TEXT ${LANG_ENGLISH} "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\n$_CLICK"


but then when i compile my setup i get two warnings:

LangString "MUI_TEXT_WELCOME_INFO_TEXT" set multiple times for 1031, wasting space (SSC__Setup_Unicode.nsi:178)
LangString "MUI_TEXT_WELCOME_INFO_TEXT" set multiple times for 1033, wasting space (SSC__Setup_Unicode.nsi:179)

Which is actually not that bad but since i am building that installer for somebody else i want to avoid irritation.

Can i "undef" the Language Strings, i could probably use a different language file (English1, German1) but then with the next update one might forget to copy it over and the fun begins again.

Any ideas?

Thanks
xBarns
jiake#
Using your custom names for these strings, for example WELCOME_TITLE:

LangString WELCOME_TITLE ${LANG_GERMAN} "Dieser Assistent wird Sie durch die Installation von $(^NameDA) begleiten.$\r$\n$\r$\n$_CLICK"
LangString WELCOME_TITLE ${LANG_ENGLISH} "Setup will guide you through the installation of $(^NameDA).$\r$\n$\r$\n$_CLICK"

!define MUI_WELCOMEPAGE_TITLE $(WELCOME_TITLE)
#and more
!define MUI_WELCOMEPAGE_TEXT $(WELCOME_TEXT)