Microsoft Messaging Queue (MSMQ) is an optional XP component and should be installed after IIS 5.1 (yet another optional XP component)
This will explain how to install MSMQ *AFTER* the OS is installed. (FYI: Yes, you can also install this during this OS install)
-This was based on http://support.microsoft.com/?id=317329
-Setting msmq_HTTPSupport = ON installs Internet Information Services (IIS).
-Seems like it must be set to ON or else MSMQ will not install at all (YMMV)
-CAVEAT: the msmq_ADIntegrated option needs to be installed while using an AD account and not a local account. If you try, the install will fail without an error message. To see the error message, install manually via ARP in Control Panel.
Create a file called MSMQ_components.inf with this content:
Msmq_Core = On
Msmq_HTTPSupport = On
Msmq_LocalStorage = On
Msmq_MQDSService = On
Msmq_RoutingSupport = On
Msmq_TriggersService = On
msmq_ADIntegrated = On
In the same folder, create another file called Install.CMD with this content:
:: Extends the base operating system build to include Message Queuing
:: with specific components specified in MSMQ_components.inf
:: CAVEAT: MSMQ seems to need IIS installed or else this script will do nothing. ===============================================================
:: Call System Optional Component Manager passing MSMQ_components.inf as a parameter
C:\WINDOWS\system32\sysocmgr.exe /i:sysoc.inf /u:%~DP0MSMQ_components.inf
NOTE: The %~DP0 variable is a Windows 2K/XP variable that contains the current path to the CMD file. Inside the variable, it has an extra "\" at the end so I cannot do this %~DP0\MSMQ_components.inf. You cannot use the %~DP0 variable directly at the CMD prompt. It must be used inside a .CMD batch file.