Search code examples
windows-installermultilingual

How to force MSI installation with specified language


I have a 3rd-party MSI package with multiple language transform, the language for MSI is English, when I install this MSI package, it will automatically check setting of "Regional and Language Options" in control panel, and run it with certain language.

The question is I can run this MSI with certain language like:

msiexec -i setup.msi TRANSFORM=":1028"

while I can not run it with English. Are there some method I can use for this problem? Can I disable the automatic choice of the language? Or can I run this MSI with English version directly?

Any idea will be appreciated.


Solution

  • You can launch the MSI with a specific transform by setting TRANSFORM property to the actual transform file path. Here are some articles which may help you:

    But if the MSI automatically selects the language, most likely the transforms are applied automatically. In this case you can try setting ProductLanguage property to set the language you want:

    msiexec -i setup.msi ProductLanguage="1033"