Frank Büttner schrieb: > Geoff Finger schrieb: >> Wix doesn't check the validity of the keys, that happens when the file >> is actually installed into WinSxS. As far as I know it's not a bug >> although that would be some great added functionality for Wix. >> >> The public key is what you get by running pktextract on the >> certificate file. The hash file is generated using the private key but >> does not actually contain either part of the key. >> >> After running pktextract you take the results and put them in the >> manifest file, either by directly editing the file yourself, or >> putting it in the Assembly Identity section of the project properties >> as detailed above. >> >> When you're got your manifest, either by editing it directly or >> compiling the project, but before you've created the cdf or cat file >> it should have something resembling the following two lines in it: >> >> <assemblyIdentity name="filename" processorArchitecture="x86" >> publicKeyToken="****************" type="win32" >> version="a.b.c.d"></assemblyIdentity> >> <file name="filename.dll" >> hash="0000000000000000000000000000000000000000" hashalg="SHA1"/> >> >> If the file name element is missing you can just add it by hand. If >> you then follow the rest of the steps, using the same key files you >> got the public key from, by the end the publicKeyToken, the hash >> value, and the encryption for the cat file should all "match," in that >> the public key you've provided in the manifest will decrypt the >> encryption used on the cat file. > Who can I fount pktextract? > The windows SDK don't contain it:( > > So I have found an old platform SDK which contains it. So now it give me other error, when I try to install it. Windows say that line 11 of my manifest is invalid. Here the manifest file of the problem: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <assemblyIdentity version="4.2.2.0" processorArchitecture="x86" type="win32" publicKeyToken="XXXXXXXXXXXXXXXXX" name="FrankBüttner.Qt.QtGui"></assemblyIdentity> <file name="QtGui4.dll" hashalg="SHA1" hash="XXXXXXX"><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>7kkGn2QBTAJxo8cfOLWV8HR0POM=</dsig:DigestValue></asmv2:hash></file> <dependency> <dependentAssembly> <assemblyIdentity version="8.0.50608.0" processorArchitecture="x86" type="win32" publicKeyToken="1fc8b3b9a1e18e3b" name="Microsoft.VC80.CRT"></assemblyIdentity> </dependentAssembly> </dependency> <dependency> <depentAssembly> <assemblyIdentity version="4.2.2.0" processorArchitecture="x86" type="win32" publicKeyToken="XXXXXXXXXX" name="FrankBüttner.Qt.QtCore"></assemblyIdentity> </depentAssembly> </dependency> </assembly> Line 11 is the begin of the second <dependency>.
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users