Thanks Benjamin and Rob:

 

I did try that. I had an odd behavior. If I tried CreateFolder for 
windows\temp, all existing permissions were lost (meaning administrators, etc 
were removed from folder permissions). 

If I tried for some other folder, it worked as expected. Basically adds the 
permissions. 
 

I am more inclined to use icacls.exe and set the permission.

 

Thanks for the replies though.

 

Original questions was about permissioning c:\windows\temp.

 
> Date: Sun, 25 Oct 2009 15:48:01 +0200
> From: benjamin.pods...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] Folder permission question
> 
> In other words, PermissionEx should work, imho.
> 
> On Oct 25, 2009 7:17 AM, "Rob Mensching" <r...@robmensching.com> wrote:
> 
> CreateFolder does not delete folders. I do believe that Permission element
> will explictily set the ACLs on the directory though.
> 
> On Sat, Oct 24, 2009 at 5:00 PM, Balu Swaminathan <bswa...@hotmail.com
> >wrote:
> 
> > > Hello All: > > > > Is it possible to author a wix file which can grant
> permission to a folder >...
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
> 
> ------------------------------------------------------------------------------
> Come build with us! T...
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://www.microsoft.com/windows/pc-scout/default.aspx?CBID=wl&ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_pcscout:102009
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to