mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
Bug 294357 Firefox and Thunderbird load a lot of trash in the registry and don't clean it up again r=benjamin, a=asa
This commit is contained in:
parent
f6632e4a55
commit
0d3eb7baf5
@ -324,6 +324,13 @@ void CleanupPreviousVersionRegKeys(void)
|
||||
wsprintf(szKey, "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\%s %s", szCleanupProduct, szUAShort);
|
||||
DeleteWinRegKey(hkeyRoot, szKey, TRUE);
|
||||
|
||||
/* delete installed product that contains product name and its user agent not in parenthesis,
|
||||
* for example:
|
||||
* Mozilla 0.8
|
||||
*/
|
||||
wsprintf(szKey, "Software\\Mozilla\\%s %s", szCleanupProduct, szUAShort);
|
||||
DeleteWinRegKey(hkeyRoot, szKey, TRUE);
|
||||
|
||||
/* We are not looking to delete just the product name key, for example:
|
||||
* Mozilla
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user