Updates:
Status: Assigned
Owner: [email protected]
Cc: [email protected]
Comment #1 on issue 8697 by [email protected]: Update fails if destination
version directory exists and tmp dir is on different volume
http://code.google.com/p/chromium/issues/detail?id=8697
we have a long standing bug in file_util::move that does not work with
directory
across different volumes.
If uninstall leaves the version directory on the file system (which is
always the
case as setup.exe can not be deleted), and we try to reinstall with the temp
directory on a different volume, the reinstall will fail. The reason of
failure is
that we always try to preserver the original files during installs so we
can properly
rollback, and we preserver the original directory by moving it to temporary
directory
using file_util::move.
In r10640, Rahul made a change that deletes the version directory if no
chrome is
installed. So we won't hit the file_util::move bug during clean reinstall
with temp
dir on a separate volume. But if we are doing update, then we still fail.
The above has been verified by following:
- 154.48
clean install: success
install - uninstall - reinstall: fail. the reason is that uninstall
leaves setup and its parent dir behind, and then we are hitting the
file::util:move bug.
- 168.0
clean install: fail. because the copy->move optimization is already
in this version. see 8505
- 169.1
clean install: success. because copy->move is reverted
install - uninstall - reinstall: success. because r10640 tries to
delete version sub dir at the beginning so we are not hitting the
file_util::move bug.
however 169.1 update will fail in the way aocampo described.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---