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:
masayuki%d-toybox.com 2005-05-19 16:34:27 +00:00
parent f6632e4a55
commit 0d3eb7baf5

View File

@ -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
*