Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4687)

Unified Diff: chrome/installer/setup/main.cc

Issue 11255: * Invoke Google Update to do the exe rename. (Closed)
Patch Set: code review feedback Created 12 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/main.cc
diff --git a/chrome/installer/setup/main.cc b/chrome/installer/setup/main.cc
index c3e417f2792f1bf786470e776999be3b5d3ca636..2332c8a8646932ef1031f73af55d8d35372097b1 100755
--- a/chrome/installer/setup/main.cc
+++ b/chrome/installer/setup/main.cc
@@ -384,23 +384,6 @@ installer_util::InstallStatus InstallChrome(const CommandLine& cmd_line,
} else if (install_status == installer_util::NEW_VERSION_UPDATED) {
// This is temporary hack and will be deleted after one release.
UpdateChromeOpenCmd(system_install);
-
-#if defined(GOOGLE_CHROME_BUILD)
- // TODO(kuchhal): This is just temporary until all users move to the
- // new Chromium version which ships with gears.dll.
- LOG(INFO) << "Google Chrome updated. Uninstalling gears msi.";
- wchar_t product[39]; // GUID + '\0'
- MsiSetInternalUI(INSTALLUILEVEL_NONE, NULL); // Don't show any UI
- for (int i = 0;
- MsiEnumRelatedProducts(google_update::kGearsUpgradeCode, 0,
- i, product) != ERROR_NO_MORE_ITEMS; ++i) {
- LOG(INFO) << "Uninstalling Gears - " << product;
- unsigned int ret = MsiConfigureProduct(product,
- INSTALLLEVEL_MAXIMUM, INSTALLSTATE_ABSENT);
- if (ret != ERROR_SUCCESS)
- LOG(ERROR) << "Failed to uninstall Gears " << product;
- }
-#endif
}
}
}

Powered by Google App Engine
This is Rietveld 408576698