64 位 DIFXAPP 可以从“Program Files (x86)”运行吗?

发布于 2025-01-02 06:53:44 字数 272 浏览 1 评论 0原文

我有一个 32 位应用程序,它也有一个设备驱动程序。我正在使用 WiX 中的 DIFXAPP 支持来安装驱动程序。在 64 位 Windows 上,可以将应用程序和 64 位驱动程序文件安装到 Program Files (x86) 的子目录中,然后让 DIFX 从那里将驱动程序安装到驱动程序存储中吗?我相信不允许从 32 位 Program Files 目录运行 64 位代码,但在这种情况下我不运行它,只是要求 DIFXAPP 复制它。实际使用的函数是DriverPackageInstall()。

I have a 32-bit application which also has a device driver. I am using the DIFXAPP support in WiX to install the driver. Is it OK on 64-bit windows to install the application and 64-bit driver files to a subdirectory of Program Files (x86) then have DIFX install the driver to the driver store from there? I believe that it's not allowed to run 64-bit code from the 32-bit Program Files directory but in this case I'm not running it, just asking DIFXAPP to copy it. The actual function used is DriverPackageInstall().

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

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

发布评论

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

评论(1

寒冷纷飞旳雪 2025-01-09 06:53:44

有一个约定将 32 位程序安装到 x86 树中,但这并不被禁止。将 DIFXAPP 可执行文件和随附文件复制到 Program Files (x86) 中的子目录并从那里启动是合法的。

There is a convention to install programs 32-bit programs into the x86 tree, but it is not forbidden. It is legal to copy the DIFXAPP executable and accompanying files into a sub-directory in Program Files (x86) and start it from there.

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