The error is:

1387
ERROR_NO_SUCH_MEMBER
A new member could not be added to or removed from the local group 
because the member does not exist.

So, I'm guessing that NetGroupAddUser / NetLocalGroupAddMembers don't 
like the name "LocalSystem"; those API's expect "SYSTEM" (although they 
are case insensitive).

The calls in the CA's are by user name, not by SID (although the latter 
can be).

I can see where you might be confused, since the util:PermissionEx 
processing does turn LocalSystem into its associated SID.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


-------- Original Message  --------
Subject: [WiX-users] Error when trying to add LocalSystem to a group
From: Bertrand Fritsch <b...@4js.com>
To: wix-users@lists.sourceforge.net
Date: 3/11/2009 11:54 AM
> <div class="moz-text-flowed" style="font-family: -moz-fixed">Hello,
>
> I use Wix version 3.0.5106.0.
>
> I encounter an error when I try to add the LocalSystem to the IIS_WPG 
> group on Windows 2003. The full error message is :
>
>   Failed to add user to group. (-2147023509 LocalSystem IIS_WPG )
>
> The User element is declared as following:
>
>  <util:User Id='IIS_WPGUser' CreateUser='no' Name='LocalSystem' 
> RemoveOnUninstall='yes'>
>    <util:GroupRef Id='IIS_WPG' />
>  </util:User>
>
> While the IIS_WPG group is declared as following:
>
>    <util:Group Id='IIS_WPG' Name='IIS_WPG' />
>
> If I replace LocalSystem by System, it works!
> I thought LocalSystem, as well as NetworkService and LocalService, 
> were names that the Wix extension translates into well-known SIDs when 
> it interacts with the operating system. Am I wrong? Does it not apply 
> here?
>
> Thanks for your help,
> Bertrand.
>
>
>
> </div>
>


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to