There is nothing in Windows (the operating system) to really help you remove 
registry keys from all user profiles.  There are a few things (in particular, 
roaming profiles) that make it impossible to correctly handle this problem.

I generally suggest, leave the stuff behind... and if the user upgrades to a 
new version of your application, use that data during migration.  That's what 
Office does to great success, IMHO.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Wieser
Sent: Wednesday, May 23, 2007 6:55 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Registry Cleanup at uninstall

Reading over the documentation for MSI, it appears that you can have a
registry key and all subkeys removed at uninstall if you include a name of
'-' instead of an acutal name.

I can see how that would work with HKLM entries, but under UAC with Vista,
it probably will only uninstall from the user whose credentials were used.

Is there any way to remove all HKCU items for all of the users on a machine
created in the registry on uninstall, or are people stuck with having to
clean it up manually themselves.

Anthony Wieser
Wieser Software Ltd


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to