Skip to content

Windows offline installer#6

Open
eoinjordan wants to merge 6 commits intomasterfrom
windows-offline-installer
Open

Windows offline installer#6
eoinjordan wants to merge 6 commits intomasterfrom
windows-offline-installer

Conversation

@eoinjordan
Copy link
Copy Markdown

This pull request introduces official support for a Windows offline installer for the Edge Impulse Linux CLI, targeting environments where npm install is not feasible. It adds a complete GitHub Actions workflow to build and package the CLI as a native Windows installer, along with all necessary scripts and documentation for usage and distribution. The installer bundles Node.js, all dependencies, and CLI shims, and modifies the Windows PATH during installation and uninstallation.

The most important changes are:

Windows Offline Installer Infrastructure:

  • Added a new GitHub Actions workflow (.github/workflows/build-windows-installer.yml) to build Windows installers for both x64 and arm64 architectures, including artifact and release upload steps.
  • Introduced a PowerShell staging script (windows-installer/stage.ps1) to automate gathering build artifacts, dependencies, and Node.js into a staging directory for packaging.
  • Added an NSIS installer script (windows-installer/installer.nsi) to create a Windows installer that sets up the CLI, Node.js runtime, dependencies, and manages PATH modifications and uninstallation.
  • Updated .gitignore in the installer directory to exclude build and staging output.

Documentation:

  • Updated README.md to document the new Windows offline installer, including its contents, requirements, limitations, and instructions for building or downloading artifacts from GitHub Actions.

@eoinjordan eoinjordan requested a review from mmajchrzycki March 24, 2026 13:02
@eoinjordan
Copy link
Copy Markdown
Author

Installer x86 functionally tested on Windows VM:

image image

eoinjordan added 2 commits May 8, 2026 11:06
Chocolatey ImageMagick on Windows runners lacks PNG codec delegates,
causing prepare-branding.ps1 to fail with:
  magick.exe: no decode delegate for this image format

Fix: generate header.bmp (150x57) and welcome.bmp (164x314) on macOS
using Homebrew ImageMagick from img/linux-collection.png, commit them
to the repo, and remove the Install ImageMagick and Generate installer
branding assets CI steps entirely. BMPs will be regenerated locally
when the source image changes.
…ect graph image

The previous header.bmp and welcome.bmp were generated from
img/linux-collection.png which is a raw sensor data graph screenshot,
not the Edge Impulse brand logo.

Regenerate from studio/public/themes/default/png/logo.png (same source
as the serial-daemon installer). Also update prepare-branding.ps1 to
look for img/edge-impulse-logo.png first, falling back to the monorepo
logo path.
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