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#
have a look at the below:
http://forums.asp.net/p/1423158/3193402.aspx/1?Re+Installing+MSMQ+Programatically
Here is an answer: Including MSMQ as a prerequisite for my application
Also setup script for MSMQ unattended installation