Eliminate ISPP from installer; add ISS line-count debug output

Replace all {#define}/{#macro} usages with literal values so ISPP has
no directives to process (avoids the CI line-101 preprocessor error).
Version is now injected via PowerShell text substitution on a temp copy
of the .iss before ISCC runs, rather than via /DAppVersion= flag.
Adds a line-count + commit-hash log line to diagnose stale checkout.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
tombohar 2026-04-18 13:42:48 -04:00
commit 540a062733
3 changed files with 39 additions and 36 deletions

View file

@ -70,6 +70,9 @@ jobs:
- name: Build installer
shell: pwsh
run: |
$issFile = "$env:GITHUB_WORKSPACE\installer\RynthCore.iss"
$lineCount = (Get-Content $issFile).Count
Write-Host "RynthCore.iss line count: $lineCount (commit: $(git rev-parse HEAD))"
$parent = Split-Path "$env:GITHUB_WORKSPACE" -Parent
& "$env:GITHUB_WORKSPACE\installer\Build-Installer.ps1" `
-RynthSuiteRoot "$parent\RynthSuite" `