Can we localize WIX msi and bundle using language selection UI at runtime?

自作多情 提交于 2019-12-04 15:07:26

The recommended method (and for that matter, the method used by most MS products), is as you describe.

  1. Create an MSI localized for each language
  2. pick a base and generate MST's
  3. Package the MSTs, the MSI and the bootstrapper, which will
  4. present the language selection dialog and call MSIEXEC, passing TRANSFORM=language.mst as an argument

After the MSIEXEC process has started, all localization is finalized, so to speak. Any selection must go on outside the MSI system.

See this codeproject article for an example.

DTdev

I guess this may help you: creating language selection dialog using WiX.

there is a limitation that custom UI for language selection is created using C# based custom bootstrapper. This may lead to the requirement of .Net framework on host machine.

Antony Quest

UI selection for MSI

  1. Create an MSI localized for each language
  2. Pick a base and generate MST's
  3. Package the MSTs, the MSI into a bootstrapper.
  4. Customize the HyperlinkTheme.xml to include radio button for selecting each language.
  5. Use the Variable tag to link radio button from UI to .wxs file
  6. Include the msi property in the msi tag and hard code the path to MST's and InstallCondition attribute to differentiate each selection
  7. Use the latest version of wix for this feature support.

Bundle support only automatic base detection there is no support for UI selection

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