Install Msmq using C#

2019-01-26 10:39发布

问题:

I am creating an installer for an Application that requires MSMQ to be installed, so if MSMQ is not installed, I need to install the msmq. So can MSMQ be installed using C# or any command??

I am using .net 4.0.

Thanks in advance

回答1:

Here is an answer: Including MSMQ as a prerequisite for my application

Also setup script for MSMQ unattended installation



回答2:

have a look at the below:

http://forums.asp.net/p/1423158/3193402.aspx/1?Re+Installing+MSMQ+Programatically