[wix-users] PermissionEx - don't set permissions on subfolders - because it takes too long
Lars Fiedler
lars at composableanalytics.com
Thu Feb 15 13:28:13 PST 2018
Thanks . Is there a way to keep inheritance on the folder with Permission?
I tried
<Permission User="[WIX_ACCOUNT_NETWORKSERVICE]" GenericAll="yes"/>
, but it looks like it disabled inheritance, so even Administrators couldn't look at the folder. I needed to go in and change the owner just to edit the permissions via windows explorer.
I'm looking at :
http://wixtoolset.org/documentation/manual/v3/xsd/wix/permission.html
I see Append, but it says it's an unexpected attribute when compiling.
Cheers
Lars
-----Original Message-----
From: Rob Mensching [mailto:rob at firegiant.com]
Sent: Thursday, February 15, 2018 2:12 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>; Lars Fiedler <lars at composableanalytics.com>
Subject: RE: PermissionEx - don't set permissions on subfolders - because it takes too long
See Permission element
_____________________________________________________________
Short replies here. Complete answers over there: http://www.firegiant.com/
-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Lars Fiedler via wix-users
Sent: Thursday, February 15, 2018 7:10 AM
To: wix-users at lists.wixtoolset.org; Lars Fiedler <lars at composableanalytics.com>
Cc: Lars Fiedler <lars at composableanalytics.com>
Subject: [wix-users] PermissionEx - don't set permissions on subfolders - because it takes too long
Hi,
I have the following under a DirectoryRef/Component:
<CreateFolder>
<util:PermissionEx User="NT AUTHORITY\Network Service" GenericAll="yes" />
</CreateFolder>
I want to set the permissions just on the top folder, and not any of the subfolders. The reason is there are 1000s of subfolders and files within the directory, and during upgrades, it takes too long. How can I disable Wix from traversing the subfolders and applying the permissions?
Cheers,
Lars
More information about the wix-users
mailing list