Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to force to install MSI with specified language

I have a 3rd-part 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 action for automatically choose language? or can I run this MSI with english version directly?

Any idea will be appreciated.

like image 783
Frank Avatar asked Oct 11 '11 09:10

Frank


2 Answers

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:

  • http://technet.microsoft.com/en-us/library/bb490766.aspx
  • http://msdn.microsoft.com/en-us/library/windows/desktop/aa372085(v=vs.85).aspx

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.

like image 182
rmrrm Avatar answered Oct 03 '22 21:10

rmrrm


You can provide ProductLanguage=1033 as a parameter to msiexec command.

like image 25
Suyog Nyati Avatar answered Oct 03 '22 23:10

Suyog Nyati