|
|
#1 |
|
Junior Member
Join Date: Apr 2003
Posts: 14
|
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 |
|
|
|
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|