As part of an installation package I'm working on, I need to add the IIS feature on Win7 and Win Server 2008. Is there any way of adding new windows features from cod开发者_如何学编程e?
You can do this by calling pkgmgr
(a command line utility for installing features and packages).
There is an example of how to do this for MSMQ here:
- Install Msmq using C#
精彩评论