Skip to content

fix(cli): pin Inno Setup installer download to a GitHub release - #1239

Merged
jablan merged 1 commit into
mainfrom
fix/cli-installer-innosetup-download
Aug 25, 2026
Merged

fix(cli): pin Inno Setup installer download to a GitHub release#1239
jablan merged 1 commit into
mainfrom
fix/cli-installer-innosetup-download

Conversation

@jablan

@jablan jablan commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • The CLI's Windows installer build (build/innosetup/Dockerfile) downloads Inno Setup via http://www.jrsoftware.org/download.php/is.exe. That shortcut no longer serves the binary directly -- it now returns an HTML "Downloads" landing page (confirmed by curling it: 10,478 bytes of HTML, matching the size seen in the failing CI logs). wine then fails trying to execute that HTML as a binary (not supported on this system), breaking the Windows installer step of every CLI release.
  • Pins the download to a specific GitHub release (innosetup-6.7.3.exe) instead, scraped from the same landing page. Verified it's a real PE32 executable ... Intel i386 binary, matching the Dockerfile's WINEARCH win32. Deliberately avoided the newer 7.1.0 release since Inno Setup split that into separate x86/x64 installers, which could introduce a second compatibility issue with the existing win32 wine setup.

Test plan

  • CI (build-cli job) passes
  • After merge, verify the release job in phrase-cli's next release run gets past the "Build client" / installer step

jrsoftware.org's download.php/is.exe shortcut no longer serves the
installer binary directly -- it now returns an HTML landing page. The
Windows installer build step was downloading that HTML page and handing
it to wine, which failed with "not supported on this system" while
trying to execute it.

Pin to the last unified (non x86/x64-split) release on GitHub, since the
Dockerfile's WINEARCH is win32 and Inno Setup 7.x split the installer
into separate x86/x64 builds.
@github-actions

Copy link
Copy Markdown
Contributor

API changelog (oasdiff)

Doc-only edits (descriptions, examples) do not appear here.

No changes detected

@jablan
jablan merged commit 16e6117 into main Aug 25, 2026
13 checks passed
@jablan
jablan deleted the fix/cli-installer-innosetup-download branch August 25, 2026 07:16
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.

2 participants