We made modifications to the util:PermissionEx element (based upon code 
by Cody Cutrer) in order to accomplish this:

<CreateFolder util:InheritDacl="no">
<util:PermissionEx User="[USER]" Domain="[DOMAIN]" Type="allow" 
ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="no" Read="yes" 
ReadAttributes="yes" ReadExtendedAttributes="yes" ReadPermission="yes" 
Synchronize="yes" Traverse="yes"/>
<util:PermissionEx User="[USER]" Domain="[DOMAIN]" Type="allow" 
ApplyToSelf="yes" ApplyToSubfolders="yes" ApplyToFiles="yes" Read="yes" 
ReadAttributes="yes" ReadExtendedAttributes="yes" ReadPermission="yes" 
Synchronize="yes"/>
</CreateFolder>

One change we made was to key on the component, account, AND the 
inheritance flags.

I need to update our code-base to WiX 3.5, and then I can provide a 
Mercurial bundle with our changes.  I can provide the files from our 
modified 3.0.4923 if you would like.

Thanks,

Thomas S. Trias
Senior Developer
Artizan Internet Services
http://www.artizan.com/


-------- Original Message  --------
Subject: Re: [WiX-users] Setting "List folder contents" permission on folder
From: Denis Stankovski <denis.stankov...@gmail.com>
To: General discussion for Windows Installer XML toolset.
<wix-users@lists.sourceforge.net>
Date: 11/24/2010 4:35 PM
> Thanks for the reply. Unfortunately it didn't work. I tried both and
> in both cases it sets checkbox next to "Special permissions" (Folder
> Properties>  Security) and "List folder content" checkbox is
> unchecked.
>
> On Mon, Nov 22, 2010 at 12:28 AM, Blair<os...@live.com>  wrote:
>> Just a guess (I haven't tried it) but what does this do?
>>
>> <CreateFolder Directory=rchiveDir">
>>            <Permission Traverse=es" User="[USER_ACCOUNT]" />
>> </CreateFolder>
>>
>> Or possibly
>>
>> <CreateFolder Directory=rchiveDir">
>>            <Permission Traverse=es" GenericExecute="no"
>> ReadPermission=o" ReadAttributes="no"  User="[USER_ACCOUNT]" />
>> </CreateFolder>
>>
>> Try the first one first to see what it produces.
>>
>> -----Original Message-----
>> From: Denis Stankovski [mailto:denis.stankov...@gmail.com]
>> Sent: Tuesday, November 16, 2010 7:00 AM
>> To: wix-users@lists.sourceforge.net
>> Subject: Re: [WiX-users] Setting "List folder contents" permission on folder
>>
>> Looks like some messages get lost by the mail list server, so I'm resending
>> my question just in case...
>>
>> Does anyone know how to set "List folder content" attribute of a folder via
>> Permission element for a particular user?
>>
>> Thanks,
>> Denis S.
>> ---------- Forwarded message ----------
>> From: "Denis Stankovski"<denis.stankov...@gmail.com>
>> Date: Nov 12, 2010 4:22 PM
>> Subject: Setting "List folder contents" permission on folder
>> To:<wix-d...@lists.sourceforge.net>,<wix-users@lists.sourceforge.net>
>>
>> I've searched all over the internet and can't seem to find solution
>> for my problem. I'd like to set permission on the folder to allow
>> certain users ONLY ability to "List folder contents" (without ability
>> to read file content). Here is the code that I have, however it seems
>> to set "Read", "Read&  Execute", and "List folder content" at the same
>> time:
>>
>> <CreateFolder Directory=rchiveDir">
>>            <Permission Traverse=es" GenericExecute="yes"
>> ReadPermission=es" ReadAttributes="yes"  User="[USER_ACCOUNT]" />
>> </CreateFolder>
>>
>> Any help would be greatly appreciated. Thank you in advance!
>> --
>> Denis Stankovski
>> ----------------------------------------------------------------------------
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>


------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to