Language Selection - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

selisoft
Posts: 7
Joined: Sat May 26, 2012 12:55 pm

Language Selection

Hello,

I have a multilingual setup project (German 1031 and English 1033).

When I create a single MSI file, I can specify the install language for unattended installations with
msiexec /I setup.msi Productlanguage=1031 /qn
or msiexec /I setup.msi Productlanguage=1033 /qn

Creating the same project with option "EXE setup with ressources next to it" (to let the user select the language on interactive installation), the call
msiexec /I setup.msi Productlanguage=1031 /qn
gives msi error 1623:
"The language of this installation package is not supported by your system."

Calling "msiexec /I setup.msi Productlanguage=1033 /qn" still works.

I'm using Advanced installer 10.0.50412 Enterprise

Is this a known problem?

Thank you,
Josef
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Language Selection

Hi Josef,

For choosing the language of an MSI package the "TRANSFORMS" property is set. So, you can use it instead of "ProductLanguage" when you want to run a package from command line.

For the main language of the MSI (suppose this language is English in your case) the "TRANSFORMS" property is set to empty (i.e. TRANSFORMS=""). For another languages it is set to the related language code preceded by the ":" character (i.e. TRANSFORMS=:1031 for German language).

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
selisoft
Posts: 7
Joined: Sat May 26, 2012 12:55 pm

Re: Language Selection

Hello Eusebiu,

yes, this helps, thank you.

However, why does ProductLanguage work with plain MSI build and does not work with MSI/EXE build?
Using a setup.exe from a MSI/EXE build works well with a MSI file created with MSI build, so it seems there is no technical restriction for this.

Thank you,
Josef
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Language Selection

Hi Josef,

For plain MSI packages, most likely the transforms are applied automatically. That's why in this case you can use the ProductLanguage property to set the language you want.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”