473,883 Members | 1,608 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

About unable to uninstall security policy package

Hi All: I tried to uninstall a runtime security package from a user's
machine. Based on document I have read, all I need to do is right click on
MSI file, and choose uninstall from menu. After I chose uninstall, the
package seemed to uninstall itself. But when open .NET configuration 1.1, I
did not see the package got remove.

Thanks in advance
DK
Nov 17 '05 #1
3 1546
Davis,

What package are you trying to remove? It is a valid runtime upgrade,
why do you want to uninstall it?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"da*******@opco .com" <da************ *@discussions.m icrosoft.com> wrote in
message news:22******** *************** ***********@mic rosoft.com...
Hi All: I tried to uninstall a runtime security package from a user's
machine. Based on document I have read, all I need to do is right click on
MSI file, and choose uninstall from menu. After I chose uninstall, the
package seemed to uninstall itself. But when open .NET configuration 1.1,
I
did not see the package got remove.

Thanks in advance
DK

Nov 17 '05 #2
Not runtime package. A runtime security policy package which I created from
..NET configuration console. A package that can make user's machine trust .NET
assembly launch from NetWork.

Thanks

"Nicholas Paldino [.NET/C# MVP]" wrote:
Davis,

What package are you trying to remove? It is a valid runtime upgrade,
why do you want to uninstall it?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"da*******@opco .com" <da************ *@discussions.m icrosoft.com> wrote in
message news:22******** *************** ***********@mic rosoft.com...
Hi All: I tried to uninstall a runtime security package from a user's
machine. Based on document I have read, all I need to do is right click on
MSI file, and choose uninstall from menu. After I chose uninstall, the
package seemed to uninstall itself. But when open .NET configuration 1.1,
I
did not see the package got remove.

Thanks in advance
DK


Nov 17 '05 #3
"da*******@opco .com" <da************ *@discussions.m icrosoft.com> wrote in
message news:22******** *************** ***********@mic rosoft.com...
Hi All: I tried to uninstall a runtime security package from a user's
machine. Based on document I have read, all I need to do is right click on
MSI file, and choose uninstall from menu.
What documentation would this be? I've never seen anything that would
suggest that a CAS policy applied via an MSI could be reversed by
uninstalling the MSI.

After I chose uninstall, the
package seemed to uninstall itself. But when open .NET configuration 1.1,
I
did not see the package got remove.
When the MSI is installed, the policy level config file is overwritten. I
took a quick look through an auto-generated MSI, and I couldn't find any
evidence that the old config file is backed up, so there's presumably no
source for a restore. If you want to allow for reversal of your MSI-applied
policy changes, here are a couple of potential approaches:

1. Create your own custom MSI that does backup the old config file and is
able to restore it on uninstall. Of course, any changes applied to the
policy between the install and uninstall would be lost.

2. Instead of trying to roll back to the pre-install state, provide another
MSI that updates policy to some alternate desired state (presumably the
preferred baseline). This sort of thing would only work within an
organization with a well defined standard policy.

Yet another approach would be to apply and undo your changes using
caspol.exe rather than replacing the policy with MSI files.


Thanks in advance
DK

Nov 17 '05 #4

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

Similar topics

1
3003
by: Bill Chi | last post by:
I have encountered a situation where I am unable to remove a .NET assembly from the GAC. The message I receive is "Assembly 'assemblyname' could not be uninstalled because it is required by other applications." Although I have seen this before when trying to remove .NET assemblies that have been installed via an MSI package, I now get this message while trying to remove any assembly I've added to the GAC. Using gacutil does not work...
125
14935
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
0
1185
by: Glenn M | last post by:
is it bad practice for vendors to supply a machine level security.config file in an msi package with their installations to chnage security settings. Would i be right in thinking that this msi ( generated by the .net config tool) will overwrite any other settings previously defined...and should be controlled centrally. i have heard it is possible control config settngs via group policy. id this through a policy object or is it just...
12
2613
by: Angelos Karantzalis | last post by:
Is there a way to set Permissions based on user roles by using some configuration file for my application ? I'm coming from a Java background, where that could very easily be accomplished but although I've searched around MSDN I can't find a clear answer to this ... Thanks a lot guys, Angel
1
1649
by: david.kao | last post by:
Hi All: Yesterday, we released our first .NET window based program on company’s network. In order to make our .NET program run correctly from a shared network driver, we also installed a security package on each desktop to make each desktop to trust mapped network driver. In the security package, we choose the Zone code group; within in the Zone we made Local Intranet FullTrust. The program is running properly for ninety percent of...
2
940
by: celtis | last post by:
I got an exe file of my application and I want it to run it from server. How can I make it run from the server ?
2
2172
by: Steven | last post by:
I have developed an application using VB.NET, it works fine in my local drive. However, security exception is flowed when I try to run the release program under a network drive. I have signed the exe and dll files with sn.exe and configure the security policy in the dot net framework configuration. Finally, I can run the program successfully on the network drive. My question is how can I create the security in the dot net framework...
0
2509
by: Chris Fink | last post by:
I have walked through all of the WSE 3 Hands on Labs and got everything working fine. When I create my own certificate and install it in the stores, my client application that is consuming my WSE enabled webservice receives the following error (noted at the very bottom of this post). My objective here is to create and secure a service application (webservice) using an x509 test cert that requests a client certificate; and to create a...
8
6301
by: =?Utf-8?B?RGFuTQ==?= | last post by:
Can someone help with the following problem. I am sending an encrypted SOAP message to a .NET 2.0 + WSE 3.0 web service. When .NET attempts to decrypt the message it cannot read the private key of the X509 token it requires (or so it says). I have followed the instructions in the error message and given the userid full access to the certificate. I have also tried running .NET under my administrators userid which was used to create the...
0
9943
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9793
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10750
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10858
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10419
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7134
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5804
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5996
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4619
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.