简体   繁体   English

"是否有可能通过 Wix C# 中的单个安装程序同时使用 32 位和 64 位 MS Office 插件?"

[英]Is there any possibility to do work both 32bit and 64bit MS office Add-in from single installer in Wix C#?

I am working on WIX to make an installer for Excel Add-in, can make two installers each for 32bit and 64bit.我正在使用 WIX 为 Excel 插件制作安装程序,可以为 32 位和 64 位制作两个安装程序。 But need to make a single installer to work both 32bit and 64bit excel add-in when I install.但是在我安装时需要制作一个安装程序来同时工作 32 位和 64 位 excel 插件。

Microsoft Installer technology does not support an MSI that targets both x86 and x64. Microsoft 安装程序技术不支持同时针对 x86 和 x64 的 MSI。 One way to accomplish this is to use the WiX Bundle containing both x86 and x64 installations.实现此目的的一种方法是使用包含 x86 和 x64 安装的 WiX Bundle。 You then define and build three artifacts: the x86 msi, the x64 msi and the bundle.然后定义并构建三个工件:x86 msi、x64 msi 和捆绑包。

The Platform attribute of the Package element indicates the target platform: Package 元素的 Platform 属性指示目标平台:
https://wixtoolset.org/documentation/manual/v3/xsd/wix/package.html https://wixtoolset.org/documentation/manual/v3/xsd/wix/package.html

https://wixtoolset.org/documentation/manual/v3/bundle/ https://wixtoolset.org/documentation/manual/v3/bundle/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM