The private key is not distributed with WiX sources and so the
executables are delay-signed. This attaches the public key token and
reserves space for the signature, but doesn't actually do the hashing
and signing, so the executables fail verification.

You can exclude the executables from strong-name verification using sn
-Vr from a VS command prompt, for example:

sn -Vr *,36e4ce08b8ecfb17

If you just need to use the tools, download the binaries package.

-- 
Mike Dimmick

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Antony
Walmsley
Sent: 09 October 2006 15:44
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Strong name validation failure

I set up a Virtual PC to build Wix 2.0.4415.0. It builds and runs with
no problems.

However, when I copy the executables to my development machine, I get
the following error:


C:\Program Files\Wix>candle

Unhandled Exception: System.IO.FileLoadException: Could not load file or
assembl y 'candle, Version=2.0.4415.0, Culture=neutral,
PublicKeyToken=36e4ce08b8ecfb17'
 or one of its dependencies. Strong name validation failed. (Exception
from HRES
ULT: 0x8013141A)
File name: 'candle, Version=2.0.4415.0, Culture=neutral,
PublicKeyToken=36e4ce08 b8ecfb17' --->
System.Security.SecurityException: Strong name validation failed.
 (Exception from HRESULT: 0x8013141A)
The Zone of the assembly that failed was:
MyComputer



What on earth am I doing wrong????

------------------------------------------------------------------------
-
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=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

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

Reply via email to