how to force to install MSI with specified language

拟墨画扇 提交于 2019-12-09 18:20:33

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7723670/how-to-force-to-install-msi-with-specified-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!