diff options
Diffstat (limited to 'chrome/installer/setup/install_worker.cc')
-rw-r--r-- | chrome/installer/setup/install_worker.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/installer/setup/install_worker.cc b/chrome/installer/setup/install_worker.cc index 4bcb437..8fe4818 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. |