I have written a sample application to write to a public and private queues that are on dev server. I don\'t have the message queue installed on my local machine.
Refactor out the MSMQ logic to a service and call the service from your code, passing the message. That way you only have to install MSMQ on the server.