Install NSIS directly from SourceForge instead of Chocolatey

Chocolatey had a 503 outage. Direct download is more reliable for CI.
This commit is contained in:
Krystie
2026-04-02 22:43:48 -07:00
parent 64e132b34b
commit daf47d2fab
+4 -1
View File
@@ -116,7 +116,10 @@ jobs:
- name: Build NSIS installer
shell: powershell
run: |
choco install nsis -y
# Download NSIS directly (no Chocolatey dependency)
$NSIS_URL = "https://sourceforge.net/projects/nsis/files/NSIS%203/3.10/nsis-3.10-setup.exe/download"
Invoke-WebRequest -Uri $NSIS_URL -OutFile nsis-setup.exe -MaximumRedirection 5
Start-Process -FilePath .\nsis-setup.exe -ArgumentList '/S' -Wait
$env:PATH = "C:\Program Files (x86)\NSIS;$env:PATH"
makensis /DVERSION=$env:VERSION contrib\nsis\setup.nsi