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:(
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