安装未签名的 x64 驱动程序以与 libusbdotnet 一起使用
我目前在 Windows 7 开发中。环境致力于使用 libusbdotnet 初始化设备。
该设备(USB 大容量存储设备)使用 Windows 的默认 USB-MASS 存储驱动程序进行连接和运行。我想用 libusbdotnet 中的 .INF 向导创建的驱动程序替换该驱动程序。
操作系统是 64 位,默认情况下 INF 向导会生成此驱动程序,但我无法选择它,因为我相信它是“未签名的”,当我转到“从驱动程序列表中选择”并指向新创建的设备驱动程序所在的目录。
我已经使用 DESO 启用了“测试模式”,但我仍然无法选择该文件。
任何熟悉 libusbdotnet 的人,或者指导设备使用在 Window 中未签名的特定驱动程序(我需要 .inf 文件吗?或 .sys???),您对我哪里出错有什么建议吗?
谢谢!
I am currently in a Windows 7 dev. environment working to get a device to initialize with libusbdotnet.
The device (a USB mass storage device) connects and runs using the default USB-MASS Storage driver for Windows. I want to replace this driver with the one created by the .INF Wizard in libusbdotnet.
The operating system is a 64-bit, and by default the INF Wizard produces this driver, but I am unable to selected it because it is "unsigned" I believed, when I go to "Pick from a list of drivers" and point to the directory where the newly created device drivers are.
I have enabled "TEST MODE" using DESO but I'm still unable to select this file.
Anyone familiar with libusbdotnet, or directing devices to work with a specific driver that is unsigned in Window (do I need the .inf file? or the .sys???) do you have any advice about where I'm going wrong?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
64 位 Windows 不喜欢未签名的驱动程序。您需要从 MS 获得软件发布证书(花费数百美元)。然后您需要使用 inf2cat 从您的 inf 和 sys 文件中创建一个安全目录,然后使用 Signtool 和您的 SPC 对它们进行签名。然后它们将安装在 64 位 Windows 上。
您可以创建自己的自签名证书,无需支付 MS 费用。但是,自签名证书仅适用于您的计算机,并且仅适用于测试模式。
64-bit windows doesn't like unsigned drivers. You need to get a Software Publishing Certificate from MS (costs a few hundred $$$). Then you need to use inf2cat to make a security catalog out of your inf and sys files, then you sign them with signtool and your SPC. Then they will install on 64-bit Windows.
You can create your own self-signed certificate, without paying MS. However, the self-signed certs only work on your machine, and only work in Test Mode.