This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Switching language at install time?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 05, 2007
11:26 AM
Switching language at install time?
I have a small product that needs to be installed on top of our main product.
Regardless of which language the OS is, the small product detects which language version of the main product was installed via registry setting.
How can I set that language info from the registry setting in the small product?
I created InstallScript CA to set "ProductLanguage": EX) MsiSetProperty(hMSI, "ProductLanguage", "1034");
And then, I made the CA immediate, and made it first action.
But, Install dialogs are still in English even though the main product was installed in Spanish.
The files that are installed appear to be correct language.
Is there a way to set the language during installation so that the installation dialogs are also correct language?
Regardless of which language the OS is, the small product detects which language version of the main product was installed via registry setting.
How can I set that language info from the registry setting in the small product?
I created InstallScript CA to set "ProductLanguage": EX) MsiSetProperty(hMSI, "ProductLanguage", "1034");
And then, I made the CA immediate, and made it first action.
But, Install dialogs are still in English even though the main product was installed in Spanish.
The files that are installed appear to be correct language.
Is there a way to set the language during installation so that the installation dialogs are also correct language?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 05, 2007
01:51 PM
I'm not an expert on multilanguage installers, but I think your problem has to do with transforms. Each of the string tables / languages becomes a transform (.mst) that is applied to the original installer by setup.exe before your installer is passed off to msiexec. So by the time you're able to set a property, it's already too late.
I can't think of any workaround other than providing an update package for each language, but hopefully someone else can jump in with something better.
I can't think of any workaround other than providing an update package for each language, but hopefully someone else can jump in with something better.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)