.inf文件可以引用内置驱动程序,以便在安装过程中不发出警告吗? [英] Can .inf file reference a built-in driver such that it won't give warning during installation?

查看:107
本文介绍了.inf文件可以引用内置驱动程序,以便在安装过程中不发出警告吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的设备依赖于内置的Windows驱动程序(usbser.sys)。我们是否仍然需要通过WHQL测试,或者我们可以通过这种方式进行安装,使用户不会看到有关未通过徽标测试的警告?我找到了 http://support.microsoft.com/kb/837637 ,但我不清楚如果这会做我想要的。

Our device relies on a built-in windows driver (usbser.sys). Do we still need to go through WHQL testing or can we install in such a way that the user won't see a warning about not passing Logo testing? I found http://support.microsoft.com/kb/837637 but it's not clear to me if this will do what I want. Does it matter whether I use DPInst program or have my own program that calls DriverPackagePreinstall?

/ p>

推荐答案


  1. 您无需签署usbser.sys(KMCS),但仍需要签署您的.inf文件,因为usbser.sys与您的硬件ID或兼容ID的匹配并不容易,这是您的责任,因此您应该在上面签名。

  2. 您不要<在Windows Vista及更高版本上,他们必须通过WHQL证书。来自已知CA的代码签名证书就足够了。这将引发一个问题:您想信任此发布者吗?。您可以先将自己添加到TrustedPublishers中来解决此问题(请参阅此问题)。 (WHQL仍然有其好处,例如您不会收到上述警告提示。)

  1. You don't need to sign usbser.sys (KMCS) but you still need to sign your .inf, because the matching of usbser.sys to your Hardware ID or Compatible ID is not trivial and it's your responsibility, so you should be signed on it.
  2. You don't have to go through WHQL certificate on Windows Vista and higher. A code signing certificate from a known CA will suffice. This will raise a question of "Do you want to trust this publisher?". You can work around this by first adding yourself to the TrustedPublishers (see this question). (WHQL still has its benefits, e.g. you wouldn't have the above warning prompt.)

这篇关于.inf文件可以引用内置驱动程序,以便在安装过程中不发出警告吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆