我在 Windows 8 中使用 MakeCat 创建目录时遇到问题。使用详细调用后,MakeCat 显示下一个错误:
失败:CryptCATCDFOpen。最后一个错误:0x00000003
如果我在同一个文件上使用 Windows 7 执行此操作,我不会遇到麻烦。
目录定义文件具有以下内容:
[CatalogHeader]
Name=Digi.dll.cat
ResultDir=C:\Users\JoséÁngel\Documents\Visual Studio 2010\Projects\project
[CatalogFiles]
<HASH>Digi.dll.manifest=Digi.dll.manifest
Digi.dll.manifest=Digi.dll.manifest
并且 dll 的清单有这样的内容:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity name="Digi" processorArchitecture="x86" publicKeyToken="82292917b7a6e156" type="win32" version="10.0.0.217"></assemblyIdentity>
<dependency optional="yes">
<dependentAssembly>
<assemblyIdentity type="win32" name="Digi.Resources" version="10.0.0.217" processorArchitecture="x86" publicKeyToken="82292917b7a6e156" language="*"></assemblyIdentity>
</dependentAssembly>
</dependency>
<file name="Digi.dll" hashalg="SHA1" hash="69447737c3bfaf30c611c1755bcfd0f31fbb4557">
<asmv2:hash xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
<dsig:Transforms>
<dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity"></dsig:Transform>
</dsig:Transforms>
<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></dsig:DigestMethod>
<dsig:DigestValue>GLP5Lao75uVf0ITDkD3b+yN/U8I=</dsig:DigestValue>
</asmv2:hash>
</file>
</assembly>