Skip to content

feat: Search for existing NodeJS runtime in the Windows Registry - #781

Open
ppawlowski wants to merge 1 commit into
FlowFuse:mainfrom
ppawlowski:feat-installer-better-msi-node-detection
Open

ppawlowski wants to merge 1 commit into
FlowFuse:mainfrom
ppawlowski:feat-installer-better-msi-node-detection

Conversation

@ppawlowski

@ppawlowski ppawlowski commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Description

This pull request extends the existing Node.js runtime detection approach for Windows OS by adding the possibility to search for MSI install paths in the Windows Registry. It leaves the existing ProgramFiles environment variables approach as a last-resort fallback.

The Windows-specific candidate lookup now lives in a new build-tagged system_windows.go (registry first, %ProgramFiles% fallbacks second), with the unchanged Unix paths moved to system_unix.go. system.go retains the shared DetectSystemNode validation, so the registry dependency is only compiled into Windows builds.

Related Issue(s)

Closes #755

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@ppawlowski ppawlowski changed the title feat: Look for existing NodeJS runtime in the Windows Registry feat: Search for existing NodeJS runtime in the Windows Registry Oct 23, 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.

Installer: Add support for non-default Node.js installs deployed on Windows OS with MSI

1 participant