DescriptionErrors while deleting old version dirs no longer cause them to grow in odd ways.
InstallerState::RemoveOldVersionDirectories now tells its DeleteTreeWorkItem instances to ignore failures. Deleting the old version dirs is a best-effort thing. Should one fail to be deletable on account of a file or directory being in use (other than the key files: chrome.dll, npchrome_frame.dll, and chrome_frame_helper.exe), the installer will no go on its merry way rather than trying to un-do the delete (which is error-prone to say the least).
Also, during installation, don't make success of the install contingent on being able to delete old_chrome.exe. Basically for the same reasons. If we can't delete it because it's in use by someone/thing, just leave it there. It'll be cleaned up on a later install, or when new_chrome.exe is later swapped into place. This may reduce our INSTALL_FAILED errors.
BUG=100218
TEST=see bug
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105671
Patch Set 1 #
Total comments: 6
Patch Set 2 : addresses nits #
Messages
Total messages: 7 (0 generated)
|