开发者

How to set the user permission on MSMQ queue creation in Wix

As part of a Wix installation I'm trying to create an MSMQ private queue using the MsmqExtension:

<msmq:MessageQueue Id='myQueue' Label='My Queue' Transactional='yes' PathName='[MESSAGE_QUEUE_NAME]'/>

As the windows service I'm installing is running under a different user to that which is performing the install I'm not sure that it will be able to read and write to this private queue and the extensions schema doesn't give the option to set specific users. Is there a way round this or would I have to implem开发者_如何学JAVAent the queue creation as a custom action to have this flexibility?


Use MessageQueuePermission element to achieve this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜