This works for me: <PropertyRef Id="NETFRAMEWORK20INSTALLROOTDIR"/> <DirectoryRef Id="NETFRAMEWORK20INSTALLROOTDIR"> <Directory Id="TempASPNETFolder" Name="Temporary ASP.NET Files"> <Component DiskId="1" Id="DummyComponentForPermissionsTempAspnet" Guid="{YOURGUID-GOES-HERE-91BD-39CB098CF364}"> <CreateFolder> <util:PermissionEx GenericAll="yes" User="[IUSR_USERNAME]" Domain="[IUSR_DOMAIN]" /> </CreateFolder> </Component> </Directory> </DirectoryRef>
Note that ExecSecureObjects, the deferred action which actually sets the permissions, is hardcoded to apply the permissions to the entire subtree, when it is used with <CreateFolder/> element. This might affect the installation performance depending on how many subfolders / files are there in your Temporary ASP.NET folder. Hope this helps. -- Yan -----Original Message----- From: Rob MacFadyen [mailto:rmacfad...@rmtrack.com] Sent: Monday, March 09, 2009 9:09 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Best way to add permissions to 'Temporary ASP.NET Files' Hey all, What's the best approach to add specific user permissions to the "Temporary ASP.NET Files" folder? I don't see any way to connect a <Permission> element or a <util:PermissionEx> element to an existing folder. I did a quick test using <CreateFolder>/<Permission>... but that wiped out the existing permissions (not good). Any suggestions? Regards, Rob ------------------------------------------------------------------------ ------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users