This should get you started:
You will need to do the following to get an unattended installation of MSQM:
- Create the files InstallMSMQ.bat and MSMQ.txt based on the text below
- Have an ISO of the OS that your using available via a network share called Iso Library
- Have Pismo File Mount downloaded and available via a network share called resource
- Run the script something like PSExec that connects to the machine and tells the machine to run the script from a network share
InstallMSMQ.bat
:Variables
:: Path Variables
SET IsoPath=\\server1\ISO Library
SET ResourcePath=\\server2\Resource
SET ScriptPath=%~dp0
SET ScriptPath=%ScriptPath:~0,-1%
SET MountPath=m:
:: Application Variables
SET PismoMount=pfm mount -m %MountPath%
SET PismoUnMount=pfm unmount
echo -Installing Pismo File Mount
"%ResourcePath%\pfmap-051.exe" /q
echo Configuring Windows install location source path
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ /v "SourcePath" /t REG_SZ /d %MountPath%\ /f
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\ /v "ServicePackSourcePath" /t REG_SZ /d %MountPath%\ /f
sysocmgr /i:%WINDIR%\inf\sysoc.inf /u:"%ScriptPath%\MSMQ.txt" /x /q
MSMQ.txt
[Version]
Signature = "$Windows NT$"
[Global]
FreshMode = Custom
MaintenanceMode = RemoveAll
UpgradeMode = UpgradeOnly
[Components]
msmq = on
msmq_Common = on
msmq_Core = on
msmq_TriggersService = on
msmq_HTTPSupport = off
msmq_LocalStorage = on
msmq_ADIntegrated = off
[Msmq]
ControllerServer=
SupportingServer=
ServerAuthenticationOnly=
Site=
If you need more information about the various parts of the script let me know and I will try to write up something that explains all the parts.