The issue I am dealing with has to do with trusting an
assembly (EXE) that physically resides on a network drive
but is being accessed and run locally on a user's
machine. When setting the icon up on each user's
machine, I have to run the Framework 1.1 Wizard that
allows me to browse to the Assembly (EXE) on the network
and set the trust to full trust. I want to be able to
accomplish this in a setup program. Is this possible?

Thanks,

Robert

Re: Security Issue by Chris

Chris
Wed Jan 07 22:33:11 CST 2004

Hi Robert,

Check out the caspol.exe tool
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools/html/cpgrfCodeAccessSecurityPolicyUtilityCaspolexe.asp

You should be able to write a cmd file to run the tool, rather than an
installation file. It is not in the path, but on a 2000 computer with
framework 1.1 installed, it sits in the
"C:\WINNT\Microsoft.NET\Framework\v1.1.4322" folder, so you may have to
check what folder it is on for 98, XP, etc.

"Robert" <rhill@wrubmc.edu> wrote in message
news:021e01c3d55d$04936830$a501280a@phx.gbl...
> The issue I am dealing with has to do with trusting an
> assembly (EXE) that physically resides on a network drive
> but is being accessed and run locally on a user's
> machine. When setting the icon up on each user's
> machine, I have to run the Framework 1.1 Wizard that
> allows me to browse to the Assembly (EXE) on the network
> and set the trust to full trust. I want to be able to
> accomplish this in a setup program. Is this possible?
>
> Thanks,
>
> Robert
>