Title: Message Queue Help Needed
Please keep wix-users on the list, that allows others to contribute.
 
I'm afraid I don't have any experience with message queuing or with clustering, so I can't really tell you whether what you're doing is acceptable or not. You might need to create a public, rather than private, queue.
 
The custom action which creates queues should log information to the Windows Installer log. Try turning on verbose logging (msiexec /l*v) and look for 'Failed to create message queue, key: AuditReceiveQueue' in the log. The lines immediately before should indicate why creating the message queue failed.
 
If you post the relevant log entries, it might be possible to work out why it's failing.
 
--
Mike Dimmick


From: Emma Hanna [mailto:[EMAIL PROTECTED]
Sent: 09 November 2006 04:45
To: Mike Dimmick
Subject: RE: [WiX-users] Message Queue Help Needed

Hi Mike

 

Thank you for your response below, however I’m still requiring help. I am actually trying to create the message queue on the cluster as opposed to one of the nodes – do you have any advice for how I could do this? (I have tried setting impersonate and it still fails)

 

Many Thanks

Emma.

 


From: Mike Dimmick [mailto:[EMAIL PROTECTED]
Sent: Thursday, 21 September 2006 7:13 PM
To: Emma Hanna; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Message Queue Help Needed

 

The deferred execution stage of Windows Installer - when the installation script actually runs - runs using the local computer's LocalSystem security context. This only has the network credentials of the machine account (in an Active Directory domain) or NULL permissions (if not on a domain). You most likely don't have permission to create a remote queue using these credentials.

 

It's possible to make a custom action run as the user who ran the installer (Impersonate='yes', and I think this is the default - it would be helpful if the manual at wix.sourceforge.net listed what the defaults are), and this may be the case with the custom action which processes the <MessageQueue> elements, but again this user would need to have whatever permissions are necessary to create a remote message queue.

 

I think it would be better to make the message queue a Feature and the ability to select only that to install. Then the user would have to run the MSI on the machine that is to have the queue created.

 

--

Mike Dimmick

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emma Hanna
Sent: 21 September 2006 05:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Message Queue Help Needed

Hi Everyone

I am using the following code to create a Message Queue. It works fine when installed to the local machine (i.e. when AUDITQUEUESERVER is set to local machine name or ‘.’) but when I try to install to another machine name it fails. Can anyone give me some guidance as to how to install to a different machine?

 

<Component Id="MSMQPrivateQueue_Component" Guid="F744F282-2986-4acf-B2EA-A91E8AA2A1CF" >

    <pca:MessageQueue Id="AuditReceiveQueue" Label="Audit Receive Queue" Transactional="yes" PathName="[AUDITQUEUESERVER]\Private$\[AUDITQUEUENAME]">

    <pca:MessageQueuePermission Id="AuditReceiveQueuePermissions" ReceiveMessage="yes" PeekMessage="yes" QueueGenericWrite="yes" User="MSMQDistributorServiceAccount"/>

     </pca:MessageQueue>

</Component>

 

Many Thanks

Emma.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to