Discussion:
grant permissions on a folder to a specific user if the user happens to be NT AUTHORITY\Network Service
(too old to reply)
Amy Rosewater
2008-10-21 17:44:01 UTC
Permalink
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

***@spectrumhr.com
Ian Elliott (Excell Data Corporation)
2008-10-21 17:54:15 UTC
Permalink
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:***@spectrumhr.com]
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

***@spectrumhr.com



-------------------------------------------------------------------------
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=/
Amy Rosewater
2008-10-22 03:29:16 UTC
Permalink
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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=/
Michael Osmond
2008-10-22 05:38:14 UTC
Permalink
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:***@spectrumhr.com]
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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-***@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=/
Amy Rosewater
2008-10-22 16:31:07 UTC
Permalink
That was a great idea Michael, and I tried it but the PermissionEx
element is still failing to add the appropriate permissions to the
directory. Now instead of failing to add permissions for Network
Service it fails to add permissions for the IIS_WPG.

Is anyone else having a similar problems with wix v3.0.4513?

A

-----Original Message-----
From: Michael Osmond [mailto:***@baytech.com.au]
Sent: Tuesday, October 21, 2008 11:38 PM
To: General discussion for Windows Installer XML toolset.; General
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

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:***@spectrumhr.com]
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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-***@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-***@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=/
Rob Mensching
2008-10-22 17:08:59 UTC
Permalink
What does a verbose log file say?

-----Original Message-----
From: Amy Rosewater [mailto:***@spectrumhr.com]
Sent: Wednesday, October 22, 2008 09:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific userifthe user happens to be NT AUTHORITY\Network Service

That was a great idea Michael, and I tried it but the PermissionEx
element is still failing to add the appropriate permissions to the
directory. Now instead of failing to add permissions for Network
Service it fails to add permissions for the IIS_WPG.

Is anyone else having a similar problems with wix v3.0.4513?

A

-----Original Message-----
From: Michael Osmond [mailto:***@baytech.com.au]
Sent: Tuesday, October 21, 2008 11:38 PM
To: General discussion for Windows Installer XML toolset.; General
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

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:***@spectrumhr.com]
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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-***@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-***@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-***@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=/
sujanakar reddy
2008-10-23 09:50:15 UTC
Permalink
Hi,

I am develpoing 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 Reddy
_________________________________________________________________
Movies, sports & news! Get your daily entertainment fix, only on live.com
http://www.live.com/?scope=video&form=MICOAL
sujanakar reddy
2008-10-29 08:19:58 UTC
Permalink
It's very urgent, please help me.
_________________________________________________________________
Search for videos of Bollywood, Hollywood, Mollywood and every other wood, only on Live.com
http://www.live.com/?scope=video&form=MICOAL
Eitan Behar
2008-10-29 08:28:45 UTC
Permalink
Hi,

Just use <util:PermissionEx ... instead of Permission

Eitan



On Wed, Oct 29, 2008 at 10:19 AM, sujanakar reddy <
Post by sujanakar reddy
It's very urgent, please help me.
Date: Thu, 23 Oct 2008 15:20:15 +0530> Subject: [WiX-users] Grant
permissions on a folder to a specific user> > Hi,> > I am develpoing
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 Reddy>
_________________________________________________________________> Movies,
sports & news! Get your daily entertainment fix, only on 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>
https://lists.sourceforge.net/lists/listinfo/wix-users
_________________________________________________________________
Search for videos of Bollywood, Hollywood, Mollywood and every other wood, only on 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
https://lists.sourceforge.net/lists/listinfo/wix-users
Amy Rosewater
2008-10-23 19:08:48 UTC
Permalink
That got me looking in the right direction. Here's my issue.

I am attempting to create permissions to a directory into which I place
our database files. I check the identity of the user running the SQL
Server Service (this is the user that needs write permissions to this
directory). I want the install to add permissions for this user to the
folder. However, I need this to occur before we actually attempt to
create the database.

When I look at where the folder is created versus when database creation
is scheduled versus the setting of extended permissions with the
PermissionEx element I see this:

CreateFolders is Sequence 3700 in my InstallExecuteSequence
InstallSqlDatabase is Sequence 4007 in my InstallExecuteSequence
SchedSecureObjects is Sequence 5801 in my InstallExecuteSequence

Therein lies my problem.

As I understand it (correct me if I'm wrong), the CreateFolders action
in the InstallExecuteSequence processes the contents of the
LockPermissions table. This means I should be able to use the
Permission element, but if I use PermissionEx, it doesn't get executed
until well after the install attempts to create the database and fails.

If I use Permission and assign to the sql service user (on my test
server Network Service) as well as Administrators it goes fine. I
wanted to use the PermissionEx element but I will settle for working...

Thanks,

Amy


-----Original Message-----
From: Rob Mensching [mailto:***@microsoft.com]
Sent: Wednesday, October 22, 2008 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to aspecific
userifthe user happens to be NT AUTHORITY\Network Service

What does a verbose log file say?

-----Original Message-----
From: Amy Rosewater [mailto:***@spectrumhr.com]
Sent: Wednesday, October 22, 2008 09:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

That was a great idea Michael, and I tried it but the PermissionEx
element is still failing to add the appropriate permissions to the
directory. Now instead of failing to add permissions for Network
Service it fails to add permissions for the IIS_WPG.

Is anyone else having a similar problems with wix v3.0.4513?

A

-----Original Message-----
From: Michael Osmond [mailto:***@baytech.com.au]
Sent: Tuesday, October 21, 2008 11:38 PM
To: General discussion for Windows Installer XML toolset.; General
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

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:***@spectrumhr.com]
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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-***@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-***@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-***@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-***@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=/
Rob Mensching
2008-10-23 21:29:34 UTC
Permalink
Yeah, SecureObjects (which is what PermissionEx drives) happens after all objects it secures are installed (otherwise it wouldn't be able to do its job).

-----Original Message-----
From: Amy Rosewater [mailto:***@spectrumhr.com]
Sent: Thursday, October 23, 2008 12:09
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to aspecific userifthe user happens to be NT AUTHORITY\Network Service

That got me looking in the right direction. Here's my issue.

I am attempting to create permissions to a directory into which I place
our database files. I check the identity of the user running the SQL
Server Service (this is the user that needs write permissions to this
directory). I want the install to add permissions for this user to the
folder. However, I need this to occur before we actually attempt to
create the database.

When I look at where the folder is created versus when database creation
is scheduled versus the setting of extended permissions with the
PermissionEx element I see this:

CreateFolders is Sequence 3700 in my InstallExecuteSequence
InstallSqlDatabase is Sequence 4007 in my InstallExecuteSequence
SchedSecureObjects is Sequence 5801 in my InstallExecuteSequence

Therein lies my problem.

As I understand it (correct me if I'm wrong), the CreateFolders action
in the InstallExecuteSequence processes the contents of the
LockPermissions table. This means I should be able to use the
Permission element, but if I use PermissionEx, it doesn't get executed
until well after the install attempts to create the database and fails.

If I use Permission and assign to the sql service user (on my test
server Network Service) as well as Administrators it goes fine. I
wanted to use the PermissionEx element but I will settle for working...

Thanks,

Amy


-----Original Message-----
From: Rob Mensching [mailto:***@microsoft.com]
Sent: Wednesday, October 22, 2008 11:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to aspecific
userifthe user happens to be NT AUTHORITY\Network Service

What does a verbose log file say?

-----Original Message-----
From: Amy Rosewater [mailto:***@spectrumhr.com]
Sent: Wednesday, October 22, 2008 09:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

That was a great idea Michael, and I tried it but the PermissionEx
element is still failing to add the appropriate permissions to the
directory. Now instead of failing to add permissions for Network
Service it fails to add permissions for the IIS_WPG.

Is anyone else having a similar problems with wix v3.0.4513?

A

-----Original Message-----
From: Michael Osmond [mailto:***@baytech.com.au]
Sent: Tuesday, October 21, 2008 11:38 PM
To: General discussion for Windows Installer XML toolset.; General
discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] grant permissions on a folder to a specific
userifthe user happens to be NT AUTHORITY\Network Service

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:***@spectrumhr.com]
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:a-***@microsoft.com]
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:***@spectrumhr.com]
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

***@spectrumhr.com



------------------------------------------------------------------------
-
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-***@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-***@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-***@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-***@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-***@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-***@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=/
Continue reading on narkive:
Loading...