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 code?
Asked
Active
Viewed 4,375 times
2
-
1What installer software are you using? – Polyfun Aug 16 '11 at 08:28
1 Answers
4
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:
-
I like that that's a link to another Stackoverflow question to which the excepted answer is a link to *another* Stackoverflow question - very meta. – Martin Harris Aug 16 '11 at 08:58
-
8@Martin My aim is one day to create a circular reference where none of the answers actually answers the question. – Justin Aug 16 '11 at 09:37