[wix-users] Creating message queue permissions issue

Steve Ogilvie sogilvie at msn.com
Tue Apr 5 08:35:04 PDT 2016


Hi folks,
Trying to create a message queue using WiX MSMQ Extension...
This is what I did:
Added the reference to the MSMQ ExtensionAdded: xmlns:msmq="http://schemas.microsoft.com/wix/MsmqExtension">

Added: <PropertyRef Id="WIX_ACCOUNT_NETWORKSERVICE" />
Added: <util:User Id="NetWorkService" Name="[WIX_ACCOUNT_NETWORKSERVICE]"/>

Have the component creating the message queue tied to my service: (just copied 1 of 4)<msmq:MessageQueue Id="auditcollector_queue" Label="titus.enterprise.auditcollector" PathName=".\Private$\titus.enterprise.auditcollector" Transactional="no" PrivLevel="none"  >
    <msmq:MessageQueuePermission Id="auditcollector_permissions" GetQueuePermissions="yes" ChangeQueuePermissions="yes" QueueGenericRead="yes" User="NetWorkService" WriteMessage="yes"/>
</msmq:MessageQueue>
This is the error when I run my install:
Action 11:20:56: MessageQueuingExecuteInstall. Configuring message queuesMSI (s) (F4:FC) [11:20:56:549]: Executing op: CustomActionSchedule(Action=MessageQueuingExecuteInstall,ActionType=3073,Source=BinaryData,Target=MessageQueuingExecuteInstall,CustomActionData=4?auditcollector.timeoutsdispatcher_queue?-2147483648?-2147483648?titus.enterprise.auditcollector.timeoutsdispatcher??.\Private$\titus.enterprise.auditcollector.timeoutsdispatcher?0?-2147483648??0?auditcollector.timeouts_queue?-2147483648?-2147483648?titus.enterprise.auditcollector.timeouts??.\Private$\titus.enterprise.auditcollector.timeouts?0?-2147483648??0?auditcollector.retries_queue?-2147483648?-2147483648?titus.enterprise.auditcollector.retries??.\Private$\titus.enterprise.auditcollector.retries?0?-2147483648??0?auditcollector_queue?-2147483648?-2147483648?titus.enterprise.auditcollector??.\Private$\titus.enterprise.auditcollector?0?-2147483648??0?4?auditcollector.timeoutsdispatcher_permissions?.\Private$\titus.enterprise.auditcollector.timeoutsdispatcher??NT AUTHORITY\NETWORK SERVICE?4484?auditcollector.timeouts_permissions?.\Private$\titus.enterprise.auditcollector.timeouts??NT AUTHORITY\MSI (s) (F4:18) [11:20:56:549]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI8FDC.tmp, Entrypoint: MessageQueuingExecuteInstallMessageQueuingExecuteInstall:  Entering MessageQueuingExecuteInstall in C:\WINDOWS\Installer\MSI8FDC.tmp, version 3.10.2522.0MessageQueuingExecuteInstall: Queue: .\Private$\titus.enterprise.auditcollector.timeoutsdispatcherMessageQueuingExecuteInstall:  Message queue created, key: auditcollector.timeoutsdispatcher_queue, PathName: '.\Private$\titus.enterprise.auditcollector.timeoutsdispatcher'MessageQueuingExecuteInstall: Queue: .\Private$\titus.enterprise.auditcollector.timeoutsMessageQueuingExecuteInstall:  Message queue created, key: auditcollector.timeouts_queue, PathName: '.\Private$\titus.enterprise.auditcollector.timeouts'MessageQueuingExecuteInstall: Queue: .\Private$\titus.enterprise.auditcollector.retriesMessageQueuingExecuteInstall:  Message queue created, key: auditcollector.retries_queue, PathName: '.\Private$\titus.enterprise.auditcollector.retries'MessageQueuingExecuteInstall: Queue: .\Private$\titus.enterprise.auditcollectorMessageQueuingExecuteInstall:  Message queue created, key: auditcollector_queue, PathName: '.\Private$\titus.enterprise.auditcollector'MessageQueuingExecuteInstall: Queue: .\Private$\titus.enterprise.auditcollector.timeoutsdispatcherMessageQueuingExecuteInstall:  Error 0x80070534: Failed to lookup account namesMessageQueuingExecuteInstall:  Error 0x80070534: Failed to get SID for account nameMessageQueuingExecuteInstall:  Error 0x80070534: Failed to add message queue permissionMessageQueuingExecuteInstall:  Error 0x80070534: Failed to add message queue permissionsCustomAction MessageQueuingExecuteInstall returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)MSI (s) (F4:18) [11:20:57:501]: Closing MSIHANDLE (189) of type 790536 for thread 4348
Any idea why it doesn't understand the WiX NetworkService user?
thanks,
Steve 		 	   		  


More information about the wix-users mailing list