This is how you can create a user, and add it to the admin group:

You need the util extension:

xmlns:util=http://schemas.microsoft.com/wix/UtilExtension>



<!--ADD USER TO GROUP Leave the GUID empty to keep the user int the group on
uninstall-->

<Component Id="AddUserToGroup" Guid="" KeyPath="yes">

<util:User Id="ServiceUser" Name="[COMP_USER_NAME]" Domain="
[COMP_USER_DOMAIN]" CreateUser="yes">

<util:GroupRef Id="Administrators" />

</util:User>

</Component>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to