mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
* Update Install-NSIS.ps1 Update NSIS to 3.08 See notes in #4739 * use in Install-NSIS.ps1, added nsis to toolset files
14 lines
606 B
PowerShell
14 lines
606 B
PowerShell
################################################################################
|
|
## File: Install-NSIS.ps1
|
|
## Desc: Install NSIS
|
|
################################################################################
|
|
|
|
$NsisVersion = (Get-ToolsetContent).nsis.version
|
|
Install-Binary -Url "https://downloads.sourceforge.net/project/nsis/NSIS%203/${NsisVersion}/nsis-${NsisVersion}-setup.exe" -Name "nsis-${NsisVersion}-setup.exe" -ArgumentList ('/S')
|
|
|
|
$NsisPath = "${env:ProgramFiles(x86)}\NSIS\"
|
|
Add-MachinePathItem $NsisPath
|
|
$env:Path = Get-MachinePath
|
|
|
|
Invoke-PesterTests -TestFile "Tools" -TestName "NSIS"
|