I am trying to create a domain user under Active Directory.  Here is the
snippet from my Wix source:

 

<DirectoryRef Id="INSTALLDIR">

      <Component Id="CreateUserComponent" DiskId="1"
Guid="MY_GUID_-GOES-HERE-0000-000000000000">

            <User Id='SqlUserID' Name='[MYUSERID]'
Password='[MYUSERPASSWORD]' CreateUser='yes' Domain='[USERDOMAIN]'>

                  <GroupRef Id='MyUsersGroup' />

            </User>

      </Component>

</DirectoryRef>

 

<Group Id="SqlServicesUsersGroup" Name="[MYUSERGROUP]"/>

 

 

The properties are properly gathered from a dialog.  I specify
"sqlserver" for MYUSERID.  I specify the "Everyone" group for
MYUSERGROUP.  The domain is correct.  I run the MSI while logged in as a
domain administrator.  I get the following error message which tells me
that the installer is attempting to locate the group on my local machine
rather than on the domain.  How do I qualify the group so that Windows
Installer looks for it on the domain?

 

Action 11:02:33: CreateUser. 

MSI (s) (84:C8) [11:02:33:369]: Executing op:
CustomActionSchedule(Action=CreateUser,ActionType=11265,Source=BinaryDat
a,Target=**********,CustomActionData=**********)

MSI (s) (84:0C) [11:02:33:384]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI26.tmp, Entrypoint: CreateUser

CreateUser:  Error 0x800708ac: Failed to get group
'WinNT://Localhost/Everyone'.

CreateUser:  Error 0x800708ac: failed to add user: sqlserver to group
Everyone

Error 26403. Failed to add user to group.  (-2147022676   sqlserver
Everyone   )

MSI (s) (84!14) [11:02:42:730]: Product: My Product -- Error 26403.
Failed to add user to group.  (-2147022676   sqlserver   Everyone   )

 

__________ 

Doug Watts

 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to