G'day,
I'm using AI 7.7 build 28804
I recently changed from a single-language install package to a multi-lang install package. I have selected the "create only a multilingual package" option on the Translations page and the "display language selection dialog" option on the Bootstrapper page. When the package is installed, the user is prompted to choose a language. I then save the ProductLanguage value in the registry, so that my app can use it as well. This is all working fine.
The problem I have is how to install an update and reuse the language-code / ProductLanguage which the user chose during the base install.
If I don't use the /exelang switch when installing the new package, the language selection dlg is shown and the user must choose a language again, even though he/she already did this for the first/base install. I would like to skip the language selection dlg by automatically providing the appropriate language-code.
What I don't understand is how to get the language-code (e.g. 1031, 1033) from the registry (I saved it to the registry during the initial install) and then include it on the command-line when invoking the new install package. My updates.ini file obviously contains a "CommandLine=" field, which I am already populating with the "/qb" switch. If I add the "/exelang 1033" switch, that successfully skips the language selection dlg, but the language-code is static and is not adjusted per-user.
Since the updates.ini file is "global" and lives on the download server, how can I use the appropriate language-code for each user based on his/her selection during the base install?
Thanks for your help,
Todd
FOLLOW US
Get the latest news in Application Packaging