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

标签 installation driver windows-8 digital-signature inf

我无法获得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/

相关文章:

django - 如何将 session 数据放入 SetUp() - Django 测试

ubuntu - 在 Ubuntu 12.04 上更新 NVIDIA 驱动程序后,VGA 监视器将无法工作

windows - 如何在 Windows 10 上通过自定义 inf 文件安装 WinUSB 驱动程序?

usb - 赛车游戏如何与USB力反馈方向盘通信?

Windows 8 语音转文本和文本转语音 API

ruby-on-rails - 为什么 bundle install 不允许 pg gem 完全安装?

windows - 在 Wix 中获取命令行参数

windows-8 - WinJS 应用程序发生无法捕捉的崩溃

c# - Windows 8 中的自然语言处理

installation - 通过 cmd 行或 GUI 设置 JAVA_HOME 之间有区别吗