Re: Creating MSI for installing .NET security policies
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 12 Oct 2006 10:50:19 -0500
The poblem with that is that doing .NET code inside an MSI via a custom
action is a little painful as of now. MSI doesn't have native support for
..NET custom actions, only script and native DLLs (or exe files). There are
many hacks to support this, but they are all hacks for now and have a
variety of shortcomings.
I agree that the .NET classes are better in theory.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Dominick Baier" <dbaier@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message news:4580be63196448c8bc30df997b80@xxxxxxxxxxxxxxxxxxxxx
ouch...
use the API. Thats the most robust way.
---
Dominick Baier, DevelopMentor
http://www.leastprivilege.com
Probably the most reliable method would be to create a custom action
that calls caspol.exe with the proper arguments to add your policy to
the current policy. You'll probably want to use a search of some sort
to find the appropriate .NET framework directory to use to call caspol
so that you configure for the correct framework version.
Joe K.
.
- Follow-Ups:
- Re: Creating MSI for installing .NET security policies
- From: Dominick Baier
- Re: Creating MSI for installing .NET security policies
- References:
- Re: Creating MSI for installing .NET security policies
- From: Joe Kaplan
- Re: Creating MSI for installing .NET security policies
- From: Dominick Baier
- Re: Creating MSI for installing .NET security policies
- Prev by Date: Re: Creating MSI for installing .NET security policies
- Next by Date: Re: Security Excetion while Rebooting a remote computer using WMI
- Previous by thread: Re: Creating MSI for installing .NET security policies
- Next by thread: Re: Creating MSI for installing .NET security policies
- Index(es):
Relevant Pages
|
|