and there is always this:
http://support.microsoft.com/kb/222444

-----Original Message-----
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] Behalf Of Matthew
Brindley
Sent: Monday, August 25, 2008 6:14 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Programmatically adding/removing windows
components


Morning folks,

Is anyone aware of an API or platform function(s) for interacting with
the "Add/remove windows components" dialog (the one you'll see in XP
down the LHS of the add/remove programs dialog).

I'm writing a deploy application for new Windows Server 2003/8
servers, and I'd like a way to programmatically:
        - Disable Internet Enhanced Security Configuration (IESC)
        - Uninstall the "Application Server" component (including IIS and
friends).

Permissions isn't a problem, it'll be running under the admin account
with elevated permissions.

Uninstalling the app server stuff isn't that important, I can always
just disable their services, but removing IESC is very important.

I'm using C#, but certainly don't mind using P/Invoke or even a
different language/framework if needed.

Thanks in advance!

--
Matt

===================================
This list is hosted by DevelopMentor.  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to