Search code examples
queuemsmqinstallshield-2010installscript

Create a private queues in MSMQ using installshield 2010


does anyone knows how to create a private queue in MSMQ using installshield? My application uses one and I can't seem to get it done...

Anyone has done this before? and if so, please help me

Thanks!


Solution

  • It may be easier to cheat.
    All private queues are loaded from text files in the MSMQ\Storage\LQS directory.
    You could create a private queue on a test machine and then copy the corresponding text file to another machine. When the MSMQ service is started, the file will be read and the queue created.
    Only gotcha is to ensure that the security permissions will work on the new machine as the account SIDs are stored in the file too. Giving full control to the special groups "Everyone" and "Anonymous Logon" would remove security.

    Cheers
    John Breakwell