具體操作流程,完全按照微軟要求即可,包括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:\Echo\Echo.Inf
C:\Echo\Echo.Sys
用命令生成,必須在相同目錄下執行命令
C:\Echo> MakeCab /f "C:\Echo\Echo.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,可以過濾掉沒有通過的測試項