I have WiX installed on a shared drive and when I invoke candle, I get the following error:
Unhandled Exception: System.Security.SecurityException: That assembly does not allow partially trusted callers.
at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed)
at Microsoft.Tools.WindowsInstallerXml.Tools.Candle..ctor()
at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Main(String[] args)
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
candle, Version=2.0.4415.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file:///p:/Measurements/RLP/group/dfunesc/installers/toolchain/external/WixToolset/2.0/2.0.0a1/bin/candle.exe
I have tried using the latest WiX builds (2.0.4415.0 and 3.0.2015.0)
The problem is the same as described here:
http://sourceforge.net/mailarchive/message.php?msg_id=14802220
Is there a fix that can be made in the WiX source to fix this? Is the only way around it to use CasPol?
Thanks in advance,
Ben
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

