Skip to content

Commit

Permalink
Try a different way again
Browse files Browse the repository at this point in the history
  • Loading branch information
neilenns committed Dec 7, 2023
1 parent 2dcdce0 commit 9969fb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ jobs:

- name: Downgrade NSIS
shell: pwsh
run: |
Invoke-WebRequest https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/3.04/nsis-3.04-setup.exe -OutFile C:\WINDOWS\Temp\nsis-3.04-setup.exe
Invoke-Expression "& C:\WINDOWS\Temp\nsis-3.04-setup.exe /S"
makensis.exe /VERSION
run: .\Build\downgrade_nsis.ps1

- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
Expand Down
2 changes: 1 addition & 1 deletion Build/downgrade_nsis.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

$NsisVersion = "3.04"
Invoke-WebRequest "https://netcologne.dl.sourceforge.net/project/nsis/NSIS%203/${NsisVersion}/nsis-${NsisVersion}-setup.exe" -OutFile "C:\WINDOWS\Temp\nsis-${NsisVersion}-setup.exe"
Invoke-Expression "& C:\WINDOWS\Temp\nsis-${NsisVersion}-setup.exe /S"
Start-Process -Wait -FilePath "C:\WINDOWS\Temp\nsis-${NsisVersion}-setup.exe" -ArgumentList "/S"

$NsisPath = "${env:ProgramFiles(x86)}\NSIS\"
Add-MachinePathItem $NsisPath
Expand Down

0 comments on commit 9969fb7

Please sign in to comment.