Cockatrice/.github/workflows
Lukas Brübach 0403ac9354 [Installer] Make the Inno Setup installer the default, with its failure hook.
COCKATRICE_WIN_INSTALLER now defaults to InnoSetup. NSIS stays selectable for
one release as the legacy fallback, and the two can still be built from one
tree and compared on a real upgrade.

The switches question from the previous commit is settled from Inno Setup's
source: the setup command line is an if/else-if chain over the switches it
knows, with no fallback that rejects the rest, so /R, /PID= and /D= are
ignored rather than refused. The client therefore sends one command line that
drives either installer:

- /R and /PID= for NSIS, which also needs /D= last and unquoted;
- /VERYSILENT and the CloseApplications set for Setup, which releases the
  mapped runtime DLLs through Restart Manager instead of waiting for a pid;
- /UPDATER as the client's own mark, read only by the Inno Setup script.

An older client that passes only the NSIS switches still installs; it walks
the wizard once instead of running silently.

The Sentry offer that AbortInstall carried is ported: a silent run the updater
launched, which began replacing files and never reached the end, offers to
send its log through the same helper. The helper is embedded with a [Files]
dontcopy entry and extracted at send time; a repeated [Files] section merges
with the generated one instead of being a compile error. Setup prefixes every
log line with a timestamp, so the helper's ABORT scan now allows that prefix.

CI installs Inno Setup next to NSIS, dumps ISCCOutput.log and the generated
script when the installer fails to compile, and --package NSIS|InnoSetup
selects the installer through the CMake option instead of adding a second
CPack generator to the run.
2026-10-26 08:29:22 +01:00
..
codeql.yml [CrashReporting] Mock crash-report dialog and reporting preference (#7521) 2026-10-19 14:57:03 +02:00
desktop-build.yml [Installer] Make the Inno Setup installer the default, with its failure hook. 2026-10-26 08:29:22 +01:00
desktop-lint.yml [CI] Minimal GitHub Actions permissions (#7165) 2026-08-23 11:42:47 +02:00
docker-release.yml Allow manually publishing a release image in docker workflow (#7392) 2026-10-04 02:44:54 +02:00
documentation-build.yml [Docs] Add app logo to main page + cleanup (#7471) 2026-10-10 23:48:37 +02:00
translations-pull.yml [CI] Fix permissions for automations around translations (#7394) 2026-10-04 20:20:28 +02:00
translations-push.yml [CI] Fix permissions for automations around translations (#7394) 2026-10-04 20:20:28 +02:00
vcpkg-cache-import.yml [CI] Key the vcpkg binary cache per ABI and let pull requests heal it (#7377) 2026-10-14 08:14:16 +02:00