The Error 0x8007056b is "A member could not be added to or removed from the local group because the member does not exist." It looks like its not resolving the account properly from your USER_ACCOUNT property.
I've always found that you need to split the domain from the username when using user actions, have a separate property for the Domain from the Name. E.g. <util:User Id="DomainUser" CreateUser="no" Name="[SVCUSER]" Password="[SVCPASS]" Domain="[SVCDOMAIN]" LogonAsService="yes" UpdateIfExists="yes"> <util:GroupRef Id="SDLGroup"/> </util:User> Dave -----Original Message----- From: George Banfill [mailto:george.banf...@gouldtechsolutions.com] Sent: 13 October 2010 09:30 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding user to a group I am trying to get the user who runs the service to go into the 'Distributed COM User'. The service that is being installed does Office automation. So I have added the following to my wxs: <util:User Id="AppPoolUser" Name="[USER_ACCOUNT]" Password="[USER_PASSWORD]" CreateUser="no" UpdateIfExists="no" LogonAsService="yes" > <util:GroupRef Id="dcom" /> </util:User> </Component> </DirectoryRef> <util:Group Id="dcom" Name="Distributed COM Users" /> When I run it I get the following in the error: CreateUser: Error 0x8007056b: Failed to add user WinNT://THEBIGWORD\LinguineUser to group 'WinNT://Localhost/Distributed COM Users'. CreateUser: Error 0x8007056b: failed to add user: THEBIGWORD\LinguineUser to group Distributed COM Users MSI (c) (3C:08) [09:27:26:809]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Error 26403. Failed to add user to group. (-2147023509 THEBIGWORD\LinguineUser Distributed COM Users ) Any suggestions as to what I am doing wrong? I have tried changing UpdateIfExisits to yes, but that didnt seem to work either. Thanks George George Banfill | Senior Software Developer | Gould Tech Solutions ________________________________ Link Up House, Ring Road, Lower Wortley, Leeds, UK, LS12 6AB Phone: +44 (0)113 210 7605 | Fax: +44 (0)870 748 8001 E-mail: george.banf...@gouldtechsolutions.com <mailto:george.banf...@thebigword.com> | Web: http://www.gouldtechsolutions.com <http://www.thebigword.com> ________________________________ Gould Tech Solutions Ltd. Registered Office: Link Up House, Ring Road, Lower Wortley, Leeds, UK, LS12 6AB Registered in England & Wales No. 01926324 P Please consider the environment before printing this email. ------------------------------------------------------------------------ ------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users