c:\sing>makecat /v cat.txt
opened: cat.txt
processing: <hash>TxtFile
NOT processed: unable to find file path for member (<hash>ExeFile)
Failed: CryptCATCDFEnumMembersByCDFTagEx. Last Error: 0x80004005
Errors found in parsing the CDF file
解决办法:
[CatalogHeader]
Name=aa.cat
[CatalogFiles]
<hash>TxtFile=aa.txt
<hash>ExeFile=aa.exe
txt文件尾部需要一个空行,否则,在接下来的操作会报错,提示文件无法找到。
g>makecat /v cat.txt
opened: cat.txt
processing: <hash>TxtFile
NOT processed: unable to find file path for member (<hash>ExeFile)
Failed: CryptCATCDFEnumMembersByCDFTagEx. Last Error: 0x80004005