Konrad
12th June 2003 17:48 UTC
LangString in Uninstall Section
I use the latest CVS version of NSIS. If I display a LangString value in the Uninstall section via MessageBox it is always empty, although a language is set via !insertmacro MUI_UNGETLANGUAGE in un.onInit and the variable $LANGUAGE contains a valid value!
The same LangString work without problems in the Install section!
Is this a bug?
Thanks in advance for any help.
Konrad
kichik
12th June 2003 18:25 UTC
Are you sure you didn't get a warning saying:
"Uninstaller language strings must start with un. (LangString name)!"
?
Konrad
12th June 2003 18:38 UTC
Oh yes, I'm sorry. I should have known that.
When is it possible to have the same LangStrings in Install and Uninstall? Do you plan to implement that also string without preceeding un. are accepted in the Uninstaller?
kichik
12th June 2003 18:43 UTC
No, I don't. The uninstaller and the installer have different string tables. Including the installer's strings in the uninstaller string table will be a waste of space. Just define it twice. If there are a lot of LangStrings that you need to define more than once then create a macro for it.