具有 32/64 位驱动程序的单个 32 位 MSI

发布于 2024-08-22 23:33:57 字数 530 浏览 3 评论 0 原文

是否可以在同一个 x86.wixlib 或 difxapp_x64.wixlib "noreferrer">WiX 设置以在 32 位和 64 位计算机上安装驱动程序?

背景是我们的设置需要是 32 位的,无论目标平台如何(它是一个使用 32 位 COM 组件的 .NET 应用程序,所以我们 必须将 .Net 程序集构建为 x86)。

所以最后MSI源文件没有什么区别,除了64位机器需要difxapp_x64.wixlib才能正确安装驱动程序,而且似乎我仍然需要创建两个单独的32位机器适用于 32/64 位平台的位 MSI 文件。看起来可以吗?

Is it possible to include difxapp_x86.wixlib or difxapp_x64.wixlib in same WiX setup to install a driver in both 32-bit and 64-bit machines?

Background is that we have a setup which needs to be 32-bit regardless of the target platform (it's a .NET application which uses 32-bit COM components, so we must build .Net assemblies as x86).

So at the end there is no difference in the MSI source files, except that 64-bit machines require difxapp_x64.wixlib to install the driver properly, and it seems like I still need to create two separate 32-bit MSI files for 32/64-bit platforms. Does that seem ok?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

平定天下 2024-08-29 23:33:57

不,这是不可能的:如果您的所有组件都是 32 位,您可以使用单个 MSI。但是您有 x64 组件(驱动程序),并且 DifxApp 对它们的 32 位和 64 位自定义操作使用相同的 id,因此它们不能同时存在于同一个 .msi 包中。

No, it's not possible: If all your components were 32-bit, you could use a single MSI. But you have x64 components (the drivers) and DifxApp uses the same ids for their 32-bit and 64-bit custom actions, so they can't both co-exist in the same .msi package.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文