Thanks for the feedback.  What I had envisioned was to have a component
for all the necessary per-machine settings/files/etc.  Then a separate
component that has the current-user settings.  Then to use an
install-on-demand (IOD) process that gets run when each user logs in
that would install the current-user component.  Is doing something like
that possible or am I completely off?  If so, do you have any
suggestions on where to start?

Thanks,
 - DF

-----Original Message-----
From: Sebastian Brand [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 07, 2007 6:03 AM
To: Feiock, Dennis
Cc: [email protected]
Subject: Re: [WiX-users] HKCU for multiple users - KeyPath usage?

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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to