This should work if you have the entries created with default values in HKCU where the component keypath is the registry item. This is mentioned in the Registry Table MSDN docs where it talks about HKCU and "the installer writes the necessary entries when there are multiple users on the same computer". The repair mechanism is what causes the registry entries to be written for every user because it's a keypath item that's missing. You'd also need to have a triggering mechanism like a non-advertised shortcut to cause the repair, and repairs percolate up from component to feature, so it might take some re-arranging of your components/features.
Phil Wilson -----Original Message----- From: John Daintree [mailto:jo...@dyalog.com] Sent: Thursday, March 10, 2011 7:40 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Adding registry entries for other users or non-existant users Hi all, When our installation installs for ALLUSERS we put registry entries into HKEY_LOCAL_MACHINE, and when the application starts on each user account we copy the settings from there to HKEY_CURRENT_USER. This is handy because it will work for all existing users on the machine, as well as for user accounts that do not exist yet. However, we also install a keyboard layout which needs keys in HKEY_CURRENT_USER as the user logs in, before the user can access the layout, and before our application can be run. Is there some way we can create registry entries for all existing users on the system AND any new users? Thanks, John. ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail recept...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users