Skip to content

release.yml: resilient Windows setup.exe step (skip when Inno Setup unavailable, always ship .zip) - #708

Merged
frstrtr merged 1 commit into
masterfrom
ci-steward/release-inno-setup-resilient
Jul 15, 2026
Merged

release.yml: resilient Windows setup.exe step (skip when Inno Setup unavailable, always ship .zip)#708
frstrtr merged 1 commit into
masterfrom
ci-steward/release-inno-setup-resilient

Conversation

@frstrtr

@frstrtr frstrtr commented Jul 15, 2026

Copy link
Copy Markdown
Owner

Fixes the last-step Windows failure on v0.2.1 (integrator report 2026-07-15).

Problem

With the /EHsc fix (#707) the boost_sentinel passes and coin binaries build on Windows, but LTC/BCH/DGB/BTC cells now die at the final step "Build setup.exe installer (Inno Setup)":

choco install innosetup ... Cannot create directory C:\ProgramData\chocolatey\lib-bad ... WinIOError

The step choco-installs Inno Setup at build time; chocolatey cannot write on VM217. The binary and portable .zip build fine but the job fails at the installer, so nothing uploads.

Change (safety net — part 2 of integrator ask)

Guard the setup.exe step:

  • Use ISCC.exe if already on the runner; else attempt choco install tolerantly; else emit ::warning:: and exit /b 0.
  • continue-on-error: true on the build step and if-no-files-found: ignore on the upload, so the portable .zip (must-have) always ships even when the .exe installer (nice-to-have) cannot build.

macOS untouched. YAML validated.

Durable fix (part 1 — separate fleet action, not this PR)

Persistent Inno Setup 6 install on VM217 (ISCC on PATH) so the step stops choco-installing at build time — coordinated with the VM217 owner per the no-unilateral-VM rule.

No self-merge — integrator review + operator tap.

The installer step choco-installs Inno Setup at build time, which fails on
self-hosted VM217 (chocolatey cannot write C:\ProgramData\chocolatey\lib-bad).
The coin binary + portable .zip build fine but the job dies at the installer,
so nothing uploads.

Guard the step: use ISCC.exe if already present, else attempt choco install
tolerantly, else emit ::warning:: and exit 0. Add continue-on-error and
if-no-files-found: ignore on the upload so the portable .zip (must-have)
always ships even when the .exe installer (nice-to-have) cannot build.

Durable fix is a persistent Inno Setup 6 install on VM217 (ISCC on PATH).
@frstrtr
frstrtr merged commit 13a6926 into master Jul 15, 2026
24 of 26 checks passed
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