473,408 Members | 2,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Trust an assembly programmatically

Hi,

this page:
http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx
talks about a program called adminui, that can be used to create a .msi
script to automatically trust assemblies with a common strong name. Where
can I find this adminui? I want to add trust of an assembly from an
installation program. How else can I create a script to do this? Is there a
way to do this programmatically?

Also, how can I use caspol to view what assemblies I have granted trust to?
I have tried caspol -lf but this doesn't show a network assembly I have
just granted full rights to. The assembly doesn't contain a strong name.
Thanks for any help!

--
Daniel
Nov 22 '05 #1
1 3407
On Tue, 5 Oct 2004 10:51:56 +0200, Daniel Lidström wrote:
this page:
http://blogs.msdn.com/shawnfa/archiv.../20/57023.aspx
talks about a program called adminui, that can be used to create a .msi
script to automatically trust assemblies with a common strong name. Where
can I find this adminui? I want to add trust of an assembly from an
installation program. How else can I create a script to do this? Is there a
way to do this programmatically?


Seems nobody knows how to do this. Let me ask for a slightly different
solution: how can I know where to find the caspol.exe utility? It is used
to allow assemblies to run over the local intranet. But this utility is not
something a user should have to be concerned with. I know the user has
installed a .Net framework, so the caspol utility exists. But finding it
should be automatic, i.e. I should be able to call it from an installation
program. How can I get the location of the .Net framework installation
path, in an absolutely reliable way?
Thanks!

--
Daniel
Nov 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daniel Lidström | last post by:
Hi, this page: http://blogs.msdn.com/shawnfa/archive/2003/06/20/57023.aspx talks about a program called adminui, that can be used to create a .msi script to automatically trust assemblies with...
1
by: Ram Baruch | last post by:
Hi, I want to determine if my application is running under level of trust: 'full trust'. How can I do it? Regards, Ram.
5
by: Graham | last post by:
I have created a custom MembershipProvider called "LassieMembershipProvider" that derives from "MembershipProvider". This providor is located in a Businesslogic layer dll called...
0
by: Lucas Tam | last post by:
Hi all, I've created an assembly with a strong name and added it to .NET's configuration manager with Full Trust. However, the assmebly still will not load in the Internet Zone. I can...
6
by: Ken Cox [Microsoft MVP] | last post by:
Hi folks, I need some help with an ASP.NET 2.0 page that generates the following error when it calls a VSTO runtime DLL: System.Security.SecurityException: That assembly does not allow...
2
by: JohnGoogle | last post by:
Hi, This is a novists question so please bear with me! I downloaded a test C# project from 'The Code Project' internet site. Unzipped the project to my local folder 'C:\Test'. When I open the...
5
by: =?Utf-8?B?TWFydHluIEZld3RyZWxs?= | last post by:
Hi there. I posted an earlier issue under the name "That assembly does not allow partially trusted callers" but have now identified what the issue is. As explained before I am working in...
1
by: Jordan M. | last post by:
Hi, Hopefully someone can help or at least point me in the right direction... I have developed a site that uses the CyberSource system to process credit cards. All works great locally on my...
0
by: Atul Thombre | last post by:
Hello, I am developing a custom membership provider. For that I built a prototype that uses a SQL Server 2005 database as a backend store. I implemented the class...
1
by: Xesued | last post by:
Im farily new to ASP.NET. I am using a hosting service that has medium trust. I configured my computer for medium trust as well so I can develope local and plublish later. My problem lies with the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.