Hi,
 
I am developing installer using WiX 3 (3.0.4311.0), in my installer I want to 
assign read permissions to the user on a directory. 
 
Below is the code snippet, with this code the permissions are assigned to user 
but it is removing all other existing permissions of the directory. 
I want to retain the existing permissions and want to add new user to 
permissions list of the directory.  Please help me. 
 
<Directory Id="MyFolder" Name="MyFolder"> 

<Component Id='C_MyFolder' Guid='CE139CCA-ED5C-4961-BF74-D4ED33C59AE4' 
DiskId='1'> 

<CreateFolder> 

<Permission User='Administrators' GenericAll='yes' />
<Permission User='User1' Domain='MyDomain' GenericRead='yes' Read='yes'/>
</CreateFolder>
</Component>
</Directory> 
 
Thanks,
Sujanakar
_________________________________________________________________
Searching for weekend getaways? Try Live.com
http://www.live.com/?scope=video&form=MICOAL
-------------------------------------------------------------------------
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