It isn't. IMHO, the best way to handle this is to put the "default" settings in the code or, if you must, put them in HKLM. Then your application reads from HKCU and if it doesn't find the setting there it falls back to where the default location is. That way you only write the settings that the user changes from the default (saves time and space).
This is even more important since there is no good way to clean up all HKCU registry keys on uninstall. -----Original Message----- From: Neil Sleightholm [mailto:[email protected]] Sent: Saturday, January 24, 2009 01:40 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Creating Per-User Registry Entries in a Per-Machine Installation I don't think this is possible, I would suggest that the right place to do this is in your application on first run not in the installation. Neil -----Original Message----- From: Chuck [mailto:[email protected]] Sent: 24 January 2009 00:09 To: [email protected] Subject: [WiX-users] Creating Per-User Registry Entries in a Per-Machine Installation My application installs on a per-machine basis so that it is available to all users. I have InstallPrivileges=elevated and InstallScope=perMachine. In addition, the installer creates some registry entries for my application in HKLM because I have specified Root=HKMU. I would like to set some default registry values so that they are available to the individual user upon the first invocation of the application. The user must be able to modify those values and the values for each user must be distinct from those of other users. Therefore HKCU and not HKLM registry entries must be used. Is there a mechanism for the installer to create registry entries in the HKCU tree for each user in this scenario? If that is possible, can all such HKCU registry entries be removed when the application is uninstalled? Configuration: schemas.microsoft.com/wix/2006/wi, WiX binaries version 3.0.4909.0, WiXEdit version 0.6.1762.0 -- Charles ------------------------------------------------------------------------------ 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 [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

