我无法获得Windows 8(发布预览版)以接受 inf2cat 或 makecat 方法来描述问题的解决方案,
What changed in the driver signature requirements for Windows 8?
除非我禁用验证。
目前,我还没有使用任何证书对它们进行签名,只是试图克服导致驱动程序无法安装的错误。
Windows 8给了我一个非常难以描述的错误:
"A problem was encountered while attempting to add the driver to the store."
查看事件日志,没有任何用处。仅来自“Windows错误报告”的信息性条目,指示 PnPdriverimporterror 。
当我将原始文件与与inf不匹配的cab文件一起使用时,我得到其他所有人列出的错误:
The hash for the file is not present in the specified catalog file.
我有一个
.inf
文件,我需要为其生成.cat
。也许我做错了。想法??
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
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
这些相同的文件(带任一种方法的猫)在Windows 7中都可以很好地安装。
最佳答案
我认为此问题与“Windows驱动程序签名实现”有关。您可以通过禁用此选项来解决此问题。通过以下链接进行检查:
http://tivadj-tech.blogspot.in/2012/09/certificate-check-error-when-installing.html
关于installation - Windows 8驱动程序安装和目录/签名验证,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10936711/