具体操作流程,完全按照微软要求即可,包括cab文件如何生成,严格按照。DDF文件要求
创建Echo.ddf文件
;*** Echo.ddf example
;
.OPTION EXPLICIT ; Generate errors
.Set CabinetFileCountThreshold=0
.Set FolderFileCountThreshold=0
.Set FolderSizeThreshold=0
.Set MaxCabinetSize=0
.Set MaxDiskFileCount=0
.Set MaxDiskSize=0
.Set CompressionType=MSZIP
.Set Cabinet=on
.Set Compress=on
;Specify file name for new cab file
.Set CabinetNameTemplate=Echo.cab
; Specify the subdirectory for the files.
; Your cab file should not have files at the root level,
; and each driver package must be in a separate subfolder.
.Set DestinationDir=Echo
;Specify files to be included in cab file
C:EchoEcho.Inf
C:EchoEcho.Sys
用命令生成,必须在相同目录下执行命令
C:Echo> MakeCab /f "C:EchoEcho.ddf"
https://partner.microsoft.com/zh-cn/dashboard/hardware/Search
cab文件要用单签名 sha256 签名(普通签名),不要双签,不用内核签名
.sys等驱动文件不用签名
download hck:
https://docs.microsoft.com/en-us/previous-versions/windows/hardware/hck/jj124227(v=vs.85)
测试会有一些不能通过的项,下载filter,可以过滤掉没有通过的测试项