Prev Previous Post   Next Post Next
Old 2nd September 2003, 11:55   #1
G_J
Junior Member
 
Join Date: Apr 2003
Posts: 14
Question MUI LangString bug?

Hi,

I'm using a MUI multi-lingual installer.
onInit uses !insertmacro MUI_LANGDLL_DISPLAY to present the user with a list of languages, after which $LANGUAGE gets populated.
Later on within the onInit function I am checking whether the application being installed is already present and running. If so, MessageBox is used to request the user to close it, so that it could be upgraded smoothly. There is a loop that ensures that the user really closes the application before proceeding.
The problem is that the MessageBox text is multilingual and thus references $(AppIsRunningMessage), which is a LangString defined previously for each applicable language. However, there seems to be a bug in which the $() always returns the English version of the message regardless of the value of $LANGUAGE. I am using LangStrings and $() successfully in other areas of the installer, the problem reported here occurs only in the onInit, yet I cannot rewrite the installer to do the MessageBox elsewhere.

Please let me know if there is a fix for this or a good workaround.

Thanks,
GJ
G_J is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump