Hello Amy, I actually use "[ComputerName]\iis_wpg" this is IIS Working Process Group of which network service is a member. Although that said, this group only exists if IIS is an installed windows component. This covers, system, network service, local service and I think Aspnet. Michael
________________________________ From: Amy Rosewater [mailto:[EMAIL PROTECTED] Sent: Wed 22/10/2008 1:29 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] grant permissions on a folder to a specific user ifthe user happens to be NT AUTHORITY\Network Service Thanks Ian, but I need to add to permissions on the directory rather than reset them altogether. Does anyone else know what values I would need to use for user and domain in the PermissionEx element to get permissions assigned to that directory for NT AUTHORITY\NETWORK SERVICE? Just as an FYI, I am using wix v3 and I have tried empty domain with "Network Service" based on Ian's suggestion and empty domain with "NetworkService" based on several other postings on this site to no avail. Is anyone else able to get this to work? Thanks in advance for anyone that can help me. -----Original Message----- From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 11:54 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] grant permissions on a folder to a specific user if the user happens to be NT AUTHORITY\Network Service Here is code from an installer I have that works for me: <Component Id="CID_Logs" Guid="{837A1B74-98C9-4042-B51D-58F38448CE46}" Location="local" DiskId="1"> <CreateFolder> <Permission GenericAll="yes" User="Administrators" /> <Permission GenericRead="yes" GenericWrite="yes" User="Network Service" /> </CreateFolder> </Component> -----Original Message----- From: Amy Rosewater [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2008 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] grant permissions on a folder to a specific user if the user happens to be NT AUTHORITY\Network Service Hi All, How do you grant permissions to a folder for a specific user if the user happens to be the built in Network Service account? I have tried: <Component Id="AssignDataDirectoryPermissionsGeneric" Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E"> <CreateFolder Directory="DataDirectory"> <util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes" ReadAttributes="yes" WriteAttributes="yes" User="NetworkService" /> </CreateFolder> </Component> <Component Id="AssignDataDirectoryPermissionsGeneric" Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E"> <CreateFolder Directory="DataDirectory"> <util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes" ReadAttributes="yes" WriteAttributes="yes" User="[SQLSERVERSERVICEUSER]" /> </CreateFolder> </Component> In this scenario SQLSERVERSERVICEUSER is equal to "NT AUTHORITY\Network Service". <Component Id="AssignDataDirectoryPermissionsGeneric" Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E"> <CreateFolder Directory="DataDirectory"> <util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes" ReadAttributes="yes" WriteAttributes="yes" Domain="[SQLSERVERSERVICEDOMAIN]" User="[SQLSERVERSERVICEUSER]" /> </CreateFolder> </Component> In this scenario SQLSERVERSERVICEDOMAIN = "NT AUTHORITY" and SQLSERVERSERVICEUSER = "Network Service". <Component Id="AssignDataDirectoryPermissionsGeneric" Guid="5A9D6D2B-CBA0-4E4C-8935-FACA2446256E"> <CreateFolder Directory="DataDirectory"> <util:PermissionEx CreateFile="yes" GenericAll="yes" Read="yes" ReadAttributes="yes" WriteAttributes="yes" Domain="[ComputerName]" User="[SQLSERVERSERVICEUSER]" /> </CreateFolder> </Component> In this scenario SQLSERVERSERVICEUSER = "NT AUTHORITY\Network Service" Rather than just keep trying, does anyone know the answer to this one? Thanks, Amy Amy Rosewater SPECTRUM Human Resource Systems Corporation 707 17th Street Suite 3800 Denver CO, 80202 303.592.3403 [EMAIL PROTECTED] ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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