In article <[EMAIL PROTECTED]>, "Eitan Behar" <[EMAIL PROTECTED]> writes:
> 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> Where is this extension documented? I get a file not found when attemping to access this URL. shell 125> wget http://schemas.microsoft.com/wix/UtilExtension --11:03:01-- http://schemas.microsoft.com/wix/UtilExtension => `UtilExtension' Resolving schemas.microsoft.com... 207.46.197.32 Connecting to schemas.microsoft.com|207.46.197.32|:80... connected. HTTP request sent, awaiting response... 404 Not Found 11:03:01 ERROR 404: Not Found. > <!--ADD USER TO GROUP Leave the GUID empty to keep the user int the group on > uninstall--> You probably don't want to do that; this user exists only for the purposes of this software, so if this software is uninstalled, the user should be deleted as well. > <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> Since I can't look at the documentation for these nodes, I can't be certain of how these values are interpeted. However, referring to a the Administrators group by its name and not its well-known SID is going to fail on non-English distributions of Windows. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/> ------------------------------------------------------------------------- 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