Files
Martin BallandClaude Opus 5.5 fe2534d51b fix(windows): retry busy download renames and log Windows Installer runs (#687)
* fix(windows): retry busy download renames and log Windows Installer runs

Antivirus scanners often hold a just-written installer open, so renaming
the finished .part file failed with "Access denied (os error 5)". Retry
the rename for a few seconds on Windows errors 5 and 32.

Windows Installer error 1603 carries no detail on its own: run msiexec
with a verbose log beside the package and name it in the error.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

* fix(download): honour pause and cancel while retrying a busy rename

Check the stop flag before every rename attempt, so a cancel that lands
while the checksum is being computed, or during a Windows retry backoff,
stops the download instead of installing it. A cancelled download still
throws its partial file away.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
2026-10-21 14:47:46 -06:00
..