You would need to download an executable to change the local policy.  You can create an MSI file that will accomplish this with the .NET Framework Configuration MMC snap-in. 
However, the users will need to be administrators to change the .NET security policy on their machine. 

解决方案 »

  1.   

    To vengair(韦恩) 
    我浏览了一些资料,想再问一下ClickOnce是不是主要用在 基于windows程序的发布?我不确定是不是可以用在ActiveX上面,请vengair(韦恩)再指点一下。
    谢谢!
      

  2.   

    To jiangsheng(蒋晟.Net[MVP]) 
    如果能做成一个配置程序那再好不过了,但是我不了解怎样做一个可以配置.net framework安全的程序,上网搜索 也没有得到理想的结果。
    请jiangsheng(蒋晟.Net[MVP]) 给晚辈指点一下,给个解决方案,谢谢!