]> repos.lx-s.de Git - winmute.git/commitdiff
Fixed innosetup download
authorlx-s <lx-s@users.noreply.github.com>
Fri, 14 Aug 2026 11:37:46 +0000 (13:37 +0200)
committerlx-s <lx-s@users.noreply.github.com>
Fri, 14 Aug 2026 11:37:46 +0000 (13:37 +0200)
.github/workflows/release.yml

index 3eeade9ab31ab7218da9308604e4eb20084a6db9..beefc5090e3896ca0cbecbfe120f4802ecb72469 100644 (file)
@@ -103,8 +103,14 @@ jobs:
 
       - name: Install Inno Setup
         run: |
+          # jrsoftware.org/download.php no longer redirects straight to the
+          # binary (it serves an HTML chooser page now) - installers are
+          # published as GitHub release assets instead. Pinned to a specific
+          # version for reproducibility; bump this URL when you want a newer
+          # Inno Setup - see https://github.com/jrsoftware/issrc/releases
+          $innoSetupUrl = 'https://github.com/jrsoftware/issrc/releases/download/is-7_1_0/innosetup-7.1.0-x64.exe'
           $ProgressPreference = 'SilentlyContinue'
-          Invoke-WebRequest -Uri 'https://jrsoftware.org/download.php/is.exe' -OutFile "$env:RUNNER_TEMP\innosetup.exe"
+          Invoke-WebRequest -Uri $innoSetupUrl -OutFile "$env:RUNNER_TEMP\innosetup.exe"
           Start-Process -FilePath "$env:RUNNER_TEMP\innosetup.exe" -ArgumentList '/VERYSILENT','/SUPPRESSMSGBOXES','/NORESTART','/SP-' -Wait
 
           $isccPath = Get-ChildItem "${env:ProgramFiles(x86)}" -Directory -Filter 'Inno Setup*' |