Gonzalo Diethelm wrote:
I am using wix 2.0 to install an Excell add-in. The structure of these add-ins is such that they require adding stuff in the registry trees for Excel under both LOCAL_MACHINE (for the generic configuration) and CURRENT_USER (for the user-specific configuration). I can do this now without problems with a CustomAction (and am in the process of switching it to be deferred, to properly work under Vista), but just realized I am only correctly handling the installation for ONE user in the machine (the actual current user). I really would like to know what the proper way is to handle the installation for ALL users in the machine:

Move it out of the installer. You cannot reliably access all the HKCU hives for every user, only those who are logged in and running your app. So take a "first run" approach and offer to configure the HKCU data from the existing HKLM data if it's not present.

--
sig://boB
http://joyofsetup.com/

-------------------------------------------------------------------------
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

Reply via email to