Skip to content
⌘ NSIS Forum Archive

LangDLL dialog - Title for uninstaller

3 posts

Pawel#

LangDLL dialog - Title for uninstaller

Hello,
I got the following problem with my nsis script.
My installer displays language selection box. I am setting for this dialog its title and info, like below:

   !define MUI_LANGDLL_WINDOWTITLE $(LANGUAGE_DLL_TITLE)
   !define MUI_LANGDLL_INFO $(LANGUAGE_DLL_INFO)
where:
LangString LANGUAGE_DLL_TITLE ${LANG_POLISH} "Installer Language"
LangString LANGUAGE_DLL_INFO ${LANG_POLISH} "Please, choose a language:"
In .onInit function:
   !insertmacro MUI_LANGDLL_DISPLAY 
The installer has also deinstaller. I want to display this dialog for deinstaller too.
I want to change title for language dialog. Is it possible? How could I do it?

I am displaying language selection dialog as below:

Function un.onInit
  !insertmacro MUI_UNGETLANGUAGE
FunctionEnd 

And now... how to change its title? It is still display "Installer Language" - but it must me Deinstaller Language.


The second issue with language selection box is "Cancel" button. How can I change this in other languages? Now it is always Cancel, no matter what language user choosed.
Thanks for help,
-Pawel
kichik#
Set the text to a variable and set that variable to different values in both the installer and the uninstaller prior to displaying the LangDLL.

As for the buttons, you can't currently do it.