Skip to content

fix(windows): guide users through installer file locks - #586

Merged
huichen merged 3 commits into
mainfrom
claude/windows-installer-preflight
Sep 13, 2026
Merged

huichen merged 3 commits into
mainfrom
claude/windows-installer-preflight

Conversation

@huichen

@huichen huichen commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Check installed desktop and persistent future.exe before replacing files; provide English/Chinese close/recheck/cancel guidance instead of an unexplained file-write failure.
  • Close only exact installation-path processes after an explicit interruption warning and consent. Silent/passive installs fail closed with actionable exit codes and CLI instructions.
  • Preserve sandbox uninstall cleanup, correct hook language IDs, and gate Windows packaging on isolated NSIS integration regressions.

Validation

  • PASS: Windows installer regression (real NSIS compilation with /WX, harmless EXE fixtures, bilingual dialogs, cancellation, targeted closing, silent/passive failure, locks/read-only files, uninstall/cleanup retry).
  • PASS: scripts/test-install.ps1 and workflow YAML parsing; git diff --check.
  • PASS: desktop tsc --noEmit, ESLint, Vitest (109 files / 959 tests).
  • PASS: pinned Rust 1.97 cargo fmt and cargo clippy --all-targets -- -D warnings for desktop; session-files tests after syncing latest main (2 passed).
  • Local full desktop cargo test was run: 1113 passed / 27 failed on Windows in Rust code not changed by this PR. Failures include Unix-path assumptions, File::set_modified on read-only handles (Windows access denied), an unavailable test program, and asynchronous remote tests. These failures are not represented as passes; required CI must pass before auto-merge.

The complete release installer still needs an upgrade smoke test over the previous release; the fixture suite does not claim to validate a previously shipped uninstaller. No real FutureOS processes were terminated by the installer regression.

@huichen
huichen enabled auto-merge (squash) September 13, 2026 07:24
@huichen
huichen merged commit bf559f1 into main Sep 13, 2026
12 checks passed
@huichen
huichen deleted the claude/windows-installer-preflight branch September 13, 2026 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant