LOL!  Well said.  CAS is nothing if not quite confusing.  Most of them time 
we can code along with full trust and it never rears its head, but sometimes 
we brush up against it and it is not fun.  Your caspol command line to 
create the policy change is very helpful here.

Joe K.

----- Original Message ----- 
From: "Jeremy Farrell" <[EMAIL PROTECTED]>
To: <wix-users@lists.sourceforge.net>
Sent: Tuesday, September 12, 2006 1:24 AM
Subject: Re: [WiX-users] System.Security.SecurityException when 
runningcandle


> If Ben's like me, he'll find that Joe's and Bob's excellent explanations 
> lead him to a cliff edge in a new world about which he knows nothing, and 
> perhaps needs to know nothing other than what's needed to get WiX to work. 
> If that's the case, just following this formula should do the trick. It 
> should at least point in the right direction.
>
> If the tools are on a network filesystem, the system must be configured 
> (once) to allow execution of the WiX toolset from a network filesystem. 
> This can be done by a user with administrator privileges using the 
> following command
>
> %WINDIR%\Microsoft.NET\Framework\v1.1.4322\CasPol -q -m -ag 
> All_Code -strong -file "path\wix.dll" -noname -noversion FullTrust -name 
> "WiX_Strong_Name" -levelfinal on
>
> where "path\wix.dll" is the path to any copy of wix.dll (including a local 
> copy). The path to CasPol might be different, but this one is usually 
> right. This command works for me, but I'm using a fairly old version of 
> WiX 2; more recent versions might need a different version of .NET, but 
> that's beyond my knowledge.
>
> Thanks again to whoever spelled this command out for me previously - it 
> saved having to do a lot of learning when I was in a last-minute rush.
>
>


-------------------------------------------------------------------------
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to