Skip to content
⌘ NSIS Forum Archive

MUI custom texts

7 posts

Guest#

MUI custom texts

Please look at the script in the attachment. I want to show my own text on the pages and in the headers. Butt.. the installator doesn't show it! Can anyone help me, plz?
glory_man#
Instead standard defines (like MUI_TEXT_WELCOME_INFO_TITLE, MUI_TEXT_INSTALLING_TITLE etc.) you need to define your own langstrings. And change "Interface Configuration" (see MUI doc). For example:

!define MUI_WELCOMEPAGE_TITLE $(welcome_title)
...
LangString welcome_title ${LANG_CZECH} "Vítejte"
LangString welcome_title ${LANG_ENGLISH} "Welcome"
...
Guest#
Thank you, but I've tried it alredy. Compiler says:
  • !define: "MUI_TEXT_WELCOME_INFO_TITLE" already defined!
  • !include: error in script: "D:\Program Files\NSIS\Contrib\Modern UI\Language files\Czech.nsh" on line 13
  • Error in macro MUI_LANGUAGE on macroline 5
  • Error in script "D:\Documents\O\NSIS\GlobeOnline.nsi" on line 52 -- aborting creation process


Please help...

Originally posted by glory_man
Instead standard defines (like MUI_TEXT_WELCOME_INFO_TITLE, ...
Guest#
Aha! I need to change the Interface Settings 😁 But I don't know how 🙁 I'm a 12-years old Czech beginner, so I don't understand everything in the documentation...
kichik#
You should not use MUI_TEXT_WELCOME_INFO_TITLE. You should use MUI_WELCOMEPAGE_TITLE. See the MUI readme for more information about available defines.
Guest#
I use MUI_WELCOMEPAGE_TITLE. But it still doesn't work. Compiler still says !define: "MUI_TEXT_WELCOME_INFO_TITLE" already defined!. I don't understand it...
kichik#
Either you have a corrupted language file which doesn't use MUI_LANGUAGEFILE_END, or you still have MUI_TEXT_WELCOME_INFO_TITLE defined in your script.