I don't think this would be a bitness issue.  Can you provide the fragment for 
assigning the ACLs? From what I remember, when applying an explicit ACL, you 
need to tell it to be inheritable.

Open up regedit on your clean machine post install and look at the base key 
that you set the permissions on.  Click Advanced, select the permission in 
question, and click edit. For "Apply To", what are you seeing? (This key only, 
Subkeys only, This key and subkeys, etc)

One other thing to test would be to actually write the common sub-key during 
the install to ensure it's there (the installer/CA may test for subkeys and 
change the behavior if there aren't any).

-----Original Message-----
From: Matt O'Connell [mailto:techsupport...@gmail.com] 
Sent: Monday, September 24, 2012 11:32 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Error applying Everyone permisisons to key using 
LockPermsisions table

I have a 64-Bit MSI that needs to set reg permisions on some keys via the 
LcokPermissions table (my 32-Bit MSI still uses subinacl in a CA). 
It is having a reproducable error that I need to fix.

I have 2 registry entires in referenced in my LockPermissions table. 
Both set to 'Everyone' with GenericAll="yes"
One is for a common location:
     HKLM\SOFTWARE\[Company]\common\registration
(Has no values)
And one is app specific:
     HKLM\SOFTWARE\[Company]\[app]\[ver]\registration
(has with various values)

The app specific one always get the correct permisssions. However if it's a 
'clean' machine Installer sets Everyone GenericAll permissions for the 
'highest' reg entry of the MSI (HLKM\SOFTWARE\[Company]) and all subkeys (app 
specific and common)!

It only get's it right if there's a existing registry key of the same name 
HKLM\SOFTWARE\[Company]\common\registration**(with or wirthout the right 
permissions)*.
**
*Any Ideas what am I doing wrong here (or is this a bug)?* *WiX 3.5 3.5.2519.0 
Installer V 5.0.7601.17514 *

*Many Thanks!*
*
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to