Install MSMQ with bat file or some automated stuff

We create a service that requires MSMQ, and it may happen that in the installations where we install, MSMQ is not installed. Therefore, I need some mechanism that can install MSMQ as a prerequisite for installing my service.

Any suggestions

Some, as I can find from the answer below

I use the below in the .ini file and bat file, but it tells me the path of Windows xp cd (I386). Is there anyway to suppress this or give in the bat file?

bat file

sysocmgr.exe /i:sysoc.inf /n /f /u:"MSMQsetup.ini" 

MSMQsetup.ini File

[Components] 
msmq_Core = ON 
msmq_LocalStorage = ON 
msmq_HTTPSupport = ON 
msmq_TriggersService = ON 
msmq_ADIntegrated = ON 
msmq_MQDSService = OFF 
msmq_RoutingSupport = OFF
+3
source share
2 answers
+2

SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

  • ServicePackSourcePath - I386

  • SourcePath - I386

    :

    sysocmgr.exe/i:sysoc.inf/u: ini path

+1

Source: https://habr.com/ru/post/1716202/


All Articles