I'm looking at how to set the owner of a registry key (or hierarchy of registry 
keys) created by our installer.

At the moment they get created with an owner of "SYSTEM", and I need to set it 
to the local admin account.

We're currently using something like this:

<RegistryKey Root="HKLM" Key="SOFTWARE\ANCA\options" Action="create" >
     <util:PermissionEx User="[USERGROUP_USERS]" GenericAll="yes" 
ChangePermission="yes"/>
</RegistryKey>

So, just for clarification, using the util:PermissionEx key doesn't actually 
cause an action to occur, does it? It just sets a set of permissions for that 
particular key. We also tried using TakeOwnership="yes", but that just allows 
the user group specified the required permissions to take ownership, it doesn't 
actually cause a transfer of ownership, right?

Is there a way to do this through WiX, or perhaps programmatically through a 
custom action?

-Naim
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to