It is hard coded. If you look at the code of ExecSecureObjects method,
you'll see the following:

if (0 == lstrcmpW(L"CreateFolder", pwzTable))
{
    ea.grfInheritance = SUB_CONTAINERS_AND_OBJECTS_INHERIT;
}
else
{
    ea.grfInheritance = NO_INHERITANCE;
}

As you can see, it applies inheritance for file system, but not for
other types of objects, that is, not for registry.

-- Yan

-----Original Message-----
From: Kusuma Sudheer Kumar (Tata Consultancy Services)
[mailto:v-kku...@microsoft.com] 
Sent: Tuesday, May 19, 2009 3:47 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Registry Permissions

Hi,

  My requirement is to provide Full Control to the Registry Node and its
Child Nodes
 Ex : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\

 I was able to attack this using the <util:PermissionEx  .../>.
Thing happening is that it is providing the permissions to the EventLog
for Network service but it ia not inheriting to the child nodes/Values.

Is there any property that I need to enable for it to happen.

Thanks
sudheer
------------------------------------------------------------------------
------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to