You can try using "Active setup" here which can do this task when user logs into the box. But that will be pain and it's better to leave them there.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching Sent: Friday, June 27, 2008 4:33 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] removing registry key entries on uninstall from HKCU for all users It is not possible to do this 100% on Windows (due to the way that roaming profiles work). -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Micheal Wu Sent: Friday, June 27, 2008 12:24 To: wix-users@lists.sourceforge.net Subject: [WiX-users] removing registry key entries on uninstall from HKCU for all users Hey all, I'm trying to remove registry keys from the HKCU root for each user. The application is being installed for all users, however I wanted the registry settings to be independent of each user, which is why I set it in HKCU instead of HKLM. Now I want to remove the keys on uninstall, any ideas on how I would go about doing this? The manual said using KeyPath="yes" would set this key for all users (and I was hoping it would remove as well) if HKCU was the root, but candle gives me the error: error CNDL0038 : The Registry/@Name attribute cannot be specified when attribute Action is present with value 'removeKeyOnUninstall'. For the entry: <Registry Root="HKCU" Key="Software\MyKey" Action=" createKeyAndRemoveKeyOnUninstall " KeyPath="yes" /> Any Ideas? Thanks! Mike ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -------------------------------------------------------- This message w/attachments (message) may be privileged, confidential or proprietary, and if you are not an intended recipient, please notify the sender, do not use or share it and delete it. Unless specifically indicated, this message is not an offer to sell or a solicitation of any investment products or other financial product or service, an official confirmation of any transaction, or an official statement of Merrill Lynch. Subject to applicable law, Merrill Lynch may monitor, review and retain e-communications (EC) traveling through its networks/systems. The laws of the country of each sender/recipient may impact the handling of EC, and EC may be archived, supervised and produced in countries other than the country in which you are located. This message cannot be guaranteed to be secure or error-free. This message is subject to terms available at the following link: http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you consent to the foregoing. -------------------------------------------------------- ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users