What they meant in the MSDN is that you should store settings for the current user only, not every user. If your application still has settings for all users, use HKLM or write it in an xml/ini config in the application folder.
To set entries for specific user's HKCU registry, you can use the HKEY_USERS key but you have to know the user's SID... Best regards, Sebastian Brand Instyler Software - http://www.instyler.com On Oct 6, 2007, at 4:55 PM, Feiock, Dennis wrote: > Can someone give me an example on how to use the KeyPath to make > changes to the HKCU registry hive occur for each user on the PC? > > Per the msdn article at http://msdn2.microsoft.com/en-us/library/ > aa371168.aspx, they say: > "Note that it is recommended that registry entries written to the > HKCU hive reference a component having the RegistryKeyPath bit set > in the Attributes column of the Component table. This ensures that > the installer writes the necessary registry entries when there are > multiple users on the same computer." > > Any help would be greatly appreciated. > > Thanks, > - DF > > ---------------------------------------------------------------------- > --- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users