Wix 3驱动包安装问题

发布于 2024-08-14 00:58:01 字数 374 浏览 2 评论 0原文

我正在尝试使用 Wix 创建 .msi 数据库来安装驱动程序包。

现在,该驱动程序包可以在所有平台上运行,并且可以通过右键单击 .inf 文件并选择“安装”选项来安装在任何平台(任何版本的 Windows、2k 及更高版本、x86 或 x64)上。因为该包不需要针对不同平台的多个版本,所以我想为所有平台创建一个 msi 文件。

一切都很顺利,直到我遇到这个瓶颈:我应该链接 dfxapp_x86.wixlib 或 dfxapp_x64.wixlib,具体取决于我希望安装的平台。这将导致有两个不同的安装程序,每个平台一个,这是我不想要的。包含这两个库文件将不起作用,因为它们链接到包含相同符号的 dll。

在这种情况下,如何才能拥有适用于所有平台的单一安装包?

谢谢。

I am trying to create a .msi database using Wix to install a driver package.

Now this driver package is made to run on all platforms and can be installed on any platform (any version of windows, 2k and later, x86 or x64) by right clicking on the .inf file and selecting the "Install" option. Because the package doesn't need multiple versions for different platforms out there, I want to create a single msi file for all platforms.

All went fine until I hit this bottleneck: I am suppose to link with either dfxapp_x86.wixlib or dfxapp_x64.wixlib depending on the platform I wish to install on. This will lead to having two different installers, one for each platform, which I don't want. Including both library files won't work, since they link with dlls that contain the same symbols.

What can I do to have a single installation package for all platforms in this case?

Thanks.

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

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

发布评论

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

评论(1

等待我真够勒 2024-08-21 00:58:01

MSI 和 DIfxApp 都不支持多个平台的单个包。每个平台都需要一个。

Neither MSI nor DIfxApp support a single package for multiple platforms. You need one per platform.

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