summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 17:54:03 +0000
committerrahulk@google.com <rahulk@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-07-30 17:54:03 +0000
commit98be81d133387f0b3ec29d5981258d4fa0f6cd76 (patch)
tree98e0d2ebd83a6a623c61cded94b7bd3127ba81cd /chrome
parent16985a1ac1aa7f9dac6aaccf110c9d7d3e673972 (diff)
downloadchromium_src-98be81d133387f0b3ec29d5981258d4fa0f6cd76.zip
chromium_src-98be81d133387f0b3ec29d5981258d4fa0f6cd76.tar.gz
chromium_src-98be81d133387f0b3ec29d5981258d4fa0f6cd76.tar.bz2
Now uninstall entry is called Google Chrome so delete the old entry that was called Chrome for users that upgrade.
BUG=1300325 TBR=tc git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/installer/setup/setup.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/installer/setup/setup.cc b/chrome/installer/setup/setup.cc
index 7452f10..2c43c90 100644
--- a/chrome/installer/setup/setup.cc
+++ b/chrome/installer/setup/setup.cc
@@ -283,6 +283,11 @@ installer_util::InstallStatus installer::InstallOrUpdateChrome(
} else {
UpdateChromeExeShortcuts(chrome_exe);
RemoveOldVersionDirs(install_path, new_version.GetString());
+ // Delete the old key for Uninstall link (this code can be removed once
+ // everyone has migrated to the new "Google Chrome" version of the key).
+ RegKey key(reg_root, L"", KEY_ALL_ACCESS);
+ key.DeleteKey(L"Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Chrome");
+ key.Close();
}
}