Skip to content

fix(installer): fail silent setup when Node stays - #1436

Merged
coreybutler merged 1 commit into
mainfrom
feat/inno-official-node
Oct 9, 2026
Merged

coreybutler merged 1 commit into
mainfrom
feat/inno-official-node

Conversation

@coreybutler

Copy link
Copy Markdown
Collaborator

Summary

  • Silent Inno Setup installs now exit 1 when official Node.js cannot be removed. Abort at that stage was leaving the process exit code at 0.
  • Tests cover adopt and drop against temporary files. The uninstall command is recorded instead of launched.

Test plan

  • powershell -NoProfile -File installer/tests/Test-OfficialNodeChoices.ps1
  • Run one silent /OFFICIALNODE=adopt install on a machine that has official Node.js and confirm the exit code when uninstall is refused

Abort runs after the files are installed, so a failed official Node uninstall still exited 0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coreybutler
coreybutler merged commit cf3b5f9 into main Oct 9, 2026
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