Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   LangDLL dialog - Title for uninstaller (http://forums.winamp.com/showthread.php?t=282998)

Pawel 10th December 2007 21:33

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:

PHP Code:

   !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:

PHP Code:

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 11th December 2007 08:36

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.

http://sourceforge.net/tracker/index...49&atid=373088

Pawel 11th December 2007 17:00

Thanks, Kichik.
It works very well.
Regards,
-Pawel


All times are GMT. The time now is 05:35.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.