Index: chrome/installer/setup/install_worker.cc |
diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc |
index 4bcb43723ebeb5b6793faae90d8025ff1b1100ef..8fe481852d5e5d357fde113950f0c8bb22c66985 100644 |
--- a/chrome/installer/setup/install_worker.cc |
+++ b/chrome/installer/setup/install_worker.cc |
@@ -754,9 +754,10 @@ void AddInstallWorkItems(const InstallationState& original_state, |
target_path.Append(installer::kDictionaries).value(), |
temp_path.value(), WorkItem::IF_NOT_PRESENT); |
- // Delete any old_chrome.exe if present. |
+ // Delete any old_chrome.exe if present (ignore failure if it's in use). |
install_list->AddDeleteTreeWorkItem( |
- target_path.Append(installer::kChromeOldExe), temp_path); |
+ target_path.Append(installer::kChromeOldExe), temp_path) |
+ ->set_ignore_failure(true); |
// Copy installer in install directory and |
// add shortcut in Control Panel->Add/Remove Programs. |