Not sure if sub keys are supported... be a good feature request if they are not
-----Original Message----- From: Reddy, Mallikarjun (GWM-CAI) [mailto:mallikarjun_re...@ml.com] Sent: Friday, January 30, 2009 06:14 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding permissions using <Registry><Permissions> Rob, it seems to be cache package. Now with Ex, I am able to have the permissions retained. Could you let me know how I make the permissions apply to the subkeys too ? Earlier I mentioned that with <Permissions> I was able to get the permissions to the subkeys. But now I am not getting that either. I guess I was trial and error and in combination, for <permissions> the permissions were being applied to subkeys. Anyway, now that I going with permissionEX, can you let me know how to have the permissions apply to subkeys ? Thanks in advance. -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Thursday, January 29, 2009 1:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding permissions using <Registry><Permissions> That really surprises me... are you sure you rebuilt and completely uninstalled/installed (i.e. didn't use cached package)? -----Original Message----- From: Reddy, Mallikarjun (GWM-CAI) [mailto:mallikarjun_re...@ml.com] Sent: Thursday, January 29, 2009 09:29 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding permissions using <Registry><Permissions> Rob, thanks for the quick reply. No change in behavior with PermissionEx. xmlns:util='http://schemas.microsoft.com/wix/Util' <Registry Id="Perm" Root="HKLM" Key="SOFTWARE\Test" Action="append" > <util:PermissionEx Extended="yes" Append="yes" Domain="MyDomain" User="MyUser" GenericAll="yes" /> </Registry> I noticed the subkeys are getting the permissions (even with <Permission>). Oddly, the subkeys are retaining the existing users/groups and adding the new user with the correct permissions. Any help for the root key would be appreciated. Thanks -----Original Message----- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Thursday, January 29, 2009 11:53 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Adding permissions using <Registry><Permissions> Util:PermissionEx merges. Not sure about the subkeys... I forget. -----Original Message----- From: Reddy, Mallikarjun (GWM-CAI) [mailto:mallikarjun_re...@ml.com] Sent: Thursday, January 29, 2009 08:26 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding permissions using <Registry><Permissions> When I set permission using <Registry><Permissions>, the existing users are wiped out and the new user and SYSTEM are being added to the permissions. How do I retain all the existing permissions and add just the new user. Also, how to make permissions apply to subkeys also. <Component Id="COMPPerm" Guid="MyGUID"> <Registry Id="Perm" Root="HKLM" Key="SOFTWARE\Test " Action="write" > <Permission Append="yes" Domain="MyDomain" User="MyUserName" GenericAll="yes" /> </Registry> </Component> Thanks ------------------------------------------------------------------------ -- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. References to "Merrill Lynch" are references to any company in the Merrill Lynch & Co., Inc. group of companies, which are wholly-owned by Bank of America Corporation. Secur ities and Insurance Products: * Are Not FDIC Insured * Are Not Bank Guaranteed * May Lose Value * Are Not a Bank Deposit * Are Not a Condition to Any Banking Service or Activity * Are Not Insured by Any Federal Government Agency. Attachments that are part of this E-communication may have additional important disclosures and disclaimers, which you should read. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. ------------------------------------------------------------------------ -- ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ ------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users