Recommended: don't place WiX on a network drive. Copy the tools to your local file system. They have not been tested with any form of Code Access Security.
If you wanted, you could add the WiX public key to the Full Trust level. To do this, open .NET Framework 2.0 Configuration (or 1.1, but in your case it looks like you don't have 1.1 installed so it's using 2.0) from Administrative Tools. Click 'Configure Code Access Security Policy'. Click 'Increase Assembly Trust'. In the wizard, decide whether to alter the machine policy or only that for your current user. Enter the path to candle.exe. Click Next. On the next page, select 'All assemblies with the same assembly public key token'. Untick 'Include version number' unless you want to repeat this every time you upgrade WiX. Click Next. Crank the slider all the way up to 'Full Trust'. Click through the wizard to finish and apply the setting. Untested, use at your own risk, but should work. -- Mike Dimmick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dave_c Sent: 15 June 2007 15:41 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] That assembly does not allow partially trusted callers And here is the message I am receiving at the moment Y:\CustomSolutions\STC_ISMS\system\Windows>\Wix\candle.exe ServerLibs.wxs candle.exe : error CNDL0001 : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Exception Type: System.Security.SecurityException Stack Trace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.DirectoryInfo..ctor(String path) at Microsoft.Tools.WindowsInstallerXml.Common.GetFiles(String searchPath, String fileType) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.ParseCommandLine(String[] args) dave_c wrote: > > Hi everyone, > > It has been a while since I last worked on this stuff and am getting the > security warning again. > > Unfortunately my pc has hadto be replaced so any settings I had have now > been lost. > > I have Wix installed on a network share in the following location > > Y:\Wix > > Could someone tell me what I need to put in the Membership Permissions > window please as when I put in file://\\Y\Wix I still see the same error. > -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers -tf3308114.html#a11140949 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users