Skip to content

ci(windows): install Inno Setup via --allow-downgrade (fix nightly)#8830

Merged
myleshorton merged 1 commit into
mainfrom
fix/windows-innosetup-6.7.1
May 31, 2026
Merged

ci(windows): install Inno Setup via --allow-downgrade (fix nightly)#8830
myleshorton merged 1 commit into
mainfrom
fix/windows-innosetup-6.7.1

Conversation

@myleshorton

Copy link
Copy Markdown
Contributor

Why

The nightly Build and Release has been failing on the Windows job (every other platform passes). The failing step is Install Inno Setup 6:

$ choco install -y innosetup --version=6.5.0
A newer version of InnoSetup (v6.7.1) is already installed.
 Use --allow-downgrade or --force to attempt to install older versions.
Chocolatey installed 0/1 packages. 1 packages failed.

The GitHub Windows runner image now preinstalls Inno Setup 6.7.1, so the pinned --version=6.5.0 (added so the vendored .isl translations matched the compiler) now collides with it — Chocolatey refuses to downgrade without a flag, and the job exits 1. Nothing in our code regressed; the runner image moved under us.

Fix

-        run: choco install -y innosetup --version=6.5.0
+        run: choco install -y innosetup --version=6.7.1 --allow-downgrade

Pin to 6.7.1 with --allow-downgrade: deterministic, keeps the Inno Setup 6 Languages dir path, and won't break on the next runner-image bump.

No translation changes needed (verified)

The vendored Farsi.isl/ChineseSimplified.isl are "6.5.0+" — and Inno's [Messages] set is unchanged through 6.7.x. Diffing against 6.7.1's Default.isl:

File Required keys Present Missing Stale
Farsi.isl 281 281 0 0
ChineseSimplified.isl 281 281 0 0

So they remain valid as-is.

Verification

Dispatched a Windows-only, signing-free test build of release.yml on this branch (run 26696843961). All steps green:

  • ✅ Install Inno Setup 6
  • ✅ Install unofficial Inno Setup translations (Farsi + Chinese)
  • ✅ Build Windows binaries
  • ✅ Package installer (ISCC 6.7.1 compiles .iss + .isl — the step the choco failure previously masked)
  • ✅ Windows installer smoke suite
  • ✅ Upload Windows installer

So Inno 6.7.1 both installs and compiles the installer with the translations cleanly. This unblocks tonight's nightly.

The Windows runner image now preinstalls Inno Setup 6.7.1, so the pinned
`choco install -y innosetup --version=6.5.0` fails ("a newer version is already
installed; use --allow-downgrade"), breaking the Windows job in the nightly
Build and Release. Pin to 6.7.1 with --allow-downgrade so the install is
deterministic and the Languages dir stays "Inno Setup 6". The vendored Farsi/
ChineseSimplified .isl are "6.5.0+" and message-key-identical to 6.7.1's
Default.isl (verified), so no translation changes are needed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 31, 2026 20:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes the Windows release workflow by updating the pinned Inno Setup Chocolatey install to match the version currently preinstalled on GitHub Windows runners while allowing downgrade behavior for future runner image changes.

Changes:

  • Updates Inno Setup install from 6.5.0 to 6.7.1.
  • Adds --allow-downgrade to avoid Chocolatey failures when a newer runner-provided version is present.
  • Updates workflow comments to document why the pin remains compatible with vendored .isl translations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@myleshorton myleshorton merged commit b4abf4c into main May 31, 2026
24 checks passed
@myleshorton myleshorton deleted the fix/windows-innosetup-6.7.1 branch May 31, 2026 20:22
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