I'm trying to script the setup of a web-server role for our application using PowerShell & dism. The application requires the following features for MSMQ support (excluding IIS features for brevity): * MSMQ-Container * MSMQ-Server * MSMQ-ADIntegration * MSMQ-HTTP
I can install these features using dism /Online /Enable-Feature:xxx fine on Windows 7 but when I try to install MSMQ-Container on a Windows 2008 R2 machine I get the following error:
Feature name MSMQ-Container is unknown.
If I leave it out then the rest MSMQ of the features install correctly on Windows 2008 R2, but then the script fails on Windows 7 with this error:
The operation completed but MSMQ-Server feature was not enabled. Ensure that the following parent feature(s) are enabled first. If they are already enabled, refer to the log file for further diagnostics. MSMQ-Container
I guess the question is, what is MSMQ-Container and do I need it?
If not, then I guess I'll need customise the script to use different packages on W7 and W2k8r2..