Your service project probably includes a ServiceInstaller instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDependedOn" which is a string array. Just add the name of the
MSMQ service in here.
Your service project probably includes a ServiceInstaller instance so you
can install the service using the InstallUtil. That object has a property
named "ServicesDependedOn" which is a string array. Just add the name of the
MSMQ service in here.