Automate Your MSMQ Installation

Two New Operating Systems Bring Two New, Exciting Ways to Install (or Uninstall) MSMQ This week we talk about automated installation (and new in Vista and Windows Server 2008, uninstallation) of MSMQ via unattend files. The Optional Component setup story has changed a bit since Windows Server 2003, but have no fear, we’ve got the…

4

Unattended MSMQ installation on Windows Server 2003

Let’s say you want to install all components except Downlevel Client Support on a Windows Server 2003 computer. You could run the following command: sysocmgr /i:sysoc.inf /x /u:unattend.ini with following unattend.ini file: [Version] Signature = “$Windows NT$” [Global] FreshMode = Custom MaintenanceMode = RemoveAll UpgradeMode = UpgradeOnly [Components] MSMQ = on MSMQ_Core = on MSMQ_LocalStorage…

3

Unattended MSMQ installation on Windows Vista

Edited on 4/11/2008 to corrected the build numbers in the examples. The correct build number is 6.0.6000.16386. Vista introduces a new tool for installing and removing Optional Components, called OCSetup.exe. For those of you familiar with Package Manager (pkgmgr.exe), OCSetup is, in part, a wrapper for pkgmgr. If you want to install MSMQ with the…

2

Unattended MSMQ installation on Windows Server 2008

Windows Server 2008 has a nifty new command line tool called ServerManagerCmd.exe which makes installing and uninstalling Optional Components and Server Roles quick and easy. It is not related to the Package Manager/OCSetup family of tools, so although it’s different, it’s also a bit simpler and easier to use. It has a Query option, which…

2