Hi all,
If I make an ALLUSERS =1 installation. when New user uses our product, the missing keys in the HKCU are created automatically with msi installation. My problem now is how to remove these keys for all the users when I remove the product from the system?? I can't see any possible way of doing that??
Thank you all.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Uninstall HKCU keys for all users
Started by
InstallDev
, Nov 23 2004 02:33
2 replies to this topic
Posted 23 November 2004 - 10:03
That's not really feasible. HKCU entries are user data and can be lefft behind.
If you really need to delete them see sample "Load a User Hive Under the HKEY_USERS Key" at http://www.installsi.../en/isp_reg.htm . With this you could load the registry hives of each user and reove the entries (in a custom action, assuming the user running the uninstall has sufficient rights to access other users' registry)
If you really need to delete them see sample "Load a User Hive Under the HKEY_USERS Key" at http://www.installsi.../en/isp_reg.htm . With this you could load the registry hives of each user and reove the entries (in a custom action, assuming the user running the uninstall has sufficient rights to access other users' registry)
Stefan Krüger
InstallSite.org twitter facebook
Posted 23 November 2004 - 12:38
Stefans' trick wouldn't work if your users had roaming profiles.
Why is it so important that you remove these entries anyway? Most people just leave them there. A roaming user may decide to use the application on another PC, in which case he might want to keep his settings?
Why is it so important that you remove these entries anyway? Most people just leave them there. A roaming user may decide to use the application on another PC, in which case he might want to keep his settings?