开发者

Add Windows Feature from C#

开发者 https://www.devze.com 2023-03-28 14:26 出处:网络
As part of an installation package I\'m working on, I need to add the IIS feature on Win7 and Win Server 2008.

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#
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号