473,395 Members | 1,554 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,395 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 3406
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.