Running Setup with Pkgmgr

WCF is a standard component of Windows Vista, but some of the features, such as activation, are not enabled by default. Before you can use activation you need to explicitly enable the appropriate features. Typically, enabling and disabling features is done through the control panel but you can also configure components through command line tools such as pkgmgr.

Pkgmgr works by taking a specification list of the components to install or uninstall. For instance, you can install the HTTP activation feature by running the following on the command line (assuming that all of the dependencies and parent packages are already in place):

 pkgmgr /iu:WCF-HTTP-Activation

To get the right package names, you can use this table of command line names for packages.

Next time: Passing Around Endpoints