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

Reply via email to