Sadly, you cant do it. Yan found the specific bit of code that causes
this problem so if you are prepared to recompile wix yourself, you could
make the fix.

http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Registry-P
ermissions-td2939332.html#a2939332

-----Original Message-----
From: Andreas Hirth [mailto:a.hi...@luratech.com] 
Sent: 09 July 2010 13:24
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Registry permission for key and subkeys

That's exactly the problem. The permission must be inherited to keys
created later by the application. 

I already have the code to put in a custom action but I try to use
built-in functionality as much as possible. So I would prefer if there
was a way to do it "natively" with Windows Installer or WiX. 

Andreas Hirth


> -----Original Message-----
> From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com]
> Sent: Friday, July 09, 2010 1:34 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Registry permission for key and subkeys
> 
> My colleague had this same problem.
> If you have a limited number of keys that are known at install time, 
> you can add them all explicitly and set permissions on them.
> Since we wanted the permissions to cascade down to keys created by the

> application and we were short of time, we used wix's qtexec custom 
> action to run an open source utility called SetACL.
> http://setacl.sourceforge.net/
> 
> 
> 
> -----Original Message-----
> From: Andreas Hirth [mailto:a.hi...@luratech.com]
> Sent: 09 July 2010 09:47
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Registry permission for key and subkeys
> 
> Hi all,
> 
> I'm struggling with the task to apply security settings to a registry 
> key.
> What I want to achieve is setting full access to Everyone for a 
> registry key, and I want this being inherited. Unfortunately I only 
> get as far as setting the full access right for Everyone on the key, 
> but it applies "This key only":
> 
> <RegistryKey Root="HKLM" Key="SOFTWARE\Foo" Action="create">
>    <util:PermissionEx User="Everyone" GenericAll="yes" /> 
> </RegistryKey>
> 
> However, I need it to apply to "This key and subkeys".
> 
> Is there any way to get this working other than a custom CustomAction?
> 
> Any advise is much appreciated!
> 
> Andreas Hirth
> 
> 
> 
> ----------------------------------------------------------------------
> --
> ------
> This SF.net email is sponsored by Sprint What will you do first with 
> EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> </pre>
> <BR style="font-size:4px;">
> <a href = "http://www.sdl.com";><img 
> src="http://www.sdl.com/images/email
> logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font 
> face="arial"  size="2" "><a href = "http://www.sdl.com";
> style="color:005740; font-weight: bold">www.sdl.com</a> <BR> <BR> 
> <font face="arial"  size="1" color="#736F6E"> <b>SDL PLC confidential,

> all rights reserved.</b> If you are not the intended recipient of this

> mail SDL requests and
requires
> that you delete it without acting upon or copying any of its contents,

> and
we
> further request that you advise us.<BR> SDL PLC is a public limited 
> company registered in England and Wales.
> Registered number: 02675207.<BR>
> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire

> SL6
7DY,
> UK.
> </font>
> 
> 
> 
>
------------------------------------------------------------------------
----
--
> This SF.net email is sponsored by Sprint What will you do first with 
> EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------
------
This SF.net email is sponsored by Sprint What will you do first with
EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to