Windows 8驱动程序安装和目录/签名验证

jen*_*jen 9 install driver digital-signature inf windows-8

我无法获得Windows 8(发布预览版)接受inf2catmakecat方法描述为问题的解决方案

Windows 8的驱动程序签名要求发生了哪些变化?

除非我禁用验证.

我现在没有使用任何证书签署这些证书,只是试图通过错误来阻止驱动程序安装.

Windows 8给了我一个非常不明显的错误:

"尝试将驱动程序添加到商店时遇到问题."

查看事件日志,没有任何用处; 只是来自"Windows错误报告"的信息条目,表示PnPdriverimporterror.

当我使用与inf不匹配的cab文件的原始文件时,我得到其他人列出的错误:

指定的目录文件中不存在该文件的哈希.

我有一个.inf文件,我需要生成一个.catfor.

也许我做错了什么.想法?

INF2CAT方法

c:\win_xp_vista32_64>inf2cat /driver:"." /os:XP_X86,XP_x64,Vista_X86,Vista_x64,7_X86,7_X64,8_X86,8_X64

.......................
Signability test complete.

Errors:
None

Warnings:
22.9.10: usbser.sys in [drivercopyfiles.nt] is missing from [SourceDisksFiles] s
ection in \mchpcdc.inf; ok if file source is provided via LayoutFile in [Version
].
22.9.10: %driverfilename%.sys in [drivercopyfiles.ntamd64] is missing from [Sour
ceDisksFiles] section in \mchpcdc.inf; ok if file source is provided via LayoutF
ile in [Version].

Catalog generation complete.
c:\win_xp_vista32_64\mchpcdc.cat
Run Code Online (Sandbox Code Playgroud)

MAKECAT方法

--- start of catalog.cdf file---

[CatalogHeader]
Name=mchpcdc.cat
ResultDir=.\
[CatalogFiles]
<hash>mchpcdc=.\mchpcdc.inf
---end of .cdf file ---


c:\win_xp_vista32_64>makecat catalog.cdf
Run Code Online (Sandbox Code Playgroud)

这些相同的文件,使用任何一种方法的猫在Windows 7中安装得很好.

Ram*_*aya 5

我认为这个问题与"Windows驱动程序签名执行"有关.您可以通过禁用此选项来解决此问题.通过以下链接进行操作:

http://tivadj-tech.blogspot.in/2012/09/certificate-check-error-when-installing.html


Dav*_*son 1

您应该使用 inf2cat,而不是 makecat,因为您有一个 INF 文件。

您应该通过修复 INF 文件来解决来自 inf2cat 的这些警告。这是我的 INF 文件,它使用 usbser.sys 并且不会引起任何警告: https: //gist.github.com/3647208

感谢 chinzei 在本线程第一篇文章中的建议,我能够修复我的 INF 文件:http://www.microchip.com/forums/m488342-print.aspx

如果您仍然遇到问题,请编辑您的问题以包含 INF 文件的来源,或至少包含该来源的链接。