Skip to content

fix(windows): pass installer PID to preflight - #887

Merged
tallcode merged 1 commit into
mainfrom
codex/windows-installer-pid
Sep 30, 2026
Merged

tallcode merged 1 commit into
mainfrom
codex/windows-installer-pid

Conversation

@tallcode

Copy link
Copy Markdown
Collaborator

Summary

  • Correct the NSIS System.dll output register so GetCurrentProcessId populates $R2, the value passed to the PowerShell preflight helper as InstallerPid.

Cause

The September 24 shared Agent lock change (#821) used .r2, which writes NSIS $2, then read $R2. The fresh-install fixture therefore invoked PowerShell with -InstallerPid and no value. The new diagnostics from #885 exposed MissingArgument in the signed Windows build run 36664795858.

Validation

  • git diff --check and staged diff check passed.
  • Windows NSIS/PowerShell regression: NOT RUN locally; this macOS host lacks both toolchains. The existing fresh-install regression covers this invocation and will run in the Windows signed workflow.

@tallcode
tallcode enabled auto-merge (squash) September 30, 2026 03:46
@tallcode
tallcode merged commit 1dd562e into main Sep 30, 2026
12 checks passed
@tallcode
tallcode deleted the codex/windows-installer-pid branch September 30, 2026 03:56
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