64 位 DIFXAPP 可以从“Program Files (x86)”运行吗?
我有一个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个约定将 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.