diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-10 18:04:47 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-10 18:04:47 +0000 |
commit | 08509f422996b0848cf31f8ef653915eecdb3623 (patch) | |
tree | c5d12627b2e697fc060fa469ced69dc1171424e2 | |
parent | b9d547bec34eedf9f9d691bc6e8ba08a836111cd (diff) | |
download | chromium_src-08509f422996b0848cf31f8ef653915eecdb3623.zip chromium_src-08509f422996b0848cf31f8ef653915eecdb3623.tar.gz chromium_src-08509f422996b0848cf31f8ef653915eecdb3623.tar.bz2 |
Remove the metro registry key
-That delegate execute sometimes creates
BUG=152823
TEST=see bug
Review URL: https://codereview.chromium.org/11031078
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161132 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/installer/setup/uninstall.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/installer/setup/uninstall.cc b/chrome/installer/setup/uninstall.cc index 716f4f2..d14a811 100644 --- a/chrome/installer/setup/uninstall.cc +++ b/chrome/installer/setup/uninstall.cc @@ -1055,6 +1055,11 @@ InstallStatus UninstallProduct(const InstallationState& original_state, // in case of errors. if (is_chrome) { ClearRlzProductState(); + // Delete the key that delegate_execute might make. + if (base::win::GetVersion() >= base::win::VERSION_WIN8) { + InstallUtil::DeleteRegistryKey(HKEY_CURRENT_USER, + chrome::kMetroRegistryPath); + } auto_launch_util::DisableAllAutoStartFeatures( ASCIIToUTF16(chrome::kInitialProfile)); |