469,602 Members | 1,652 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

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 1292
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.com

"da*******@opco.com" <da*************@discussions.microsoft.com> wrote in
message news:22**********************************@microsof t.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.com

"da*******@opco.com" <da*************@discussions.microsoft.com> wrote in
message news:22**********************************@microsof t.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.microsoft.com> wrote in
message news:22**********************************@microsof t.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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Glenn M | last post: by
12 posts views Thread by Angelos Karantzalis | last post: by
1 post views Thread by david.kao | last post: by
2 posts views Thread by celtis | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.