Files
runner-images/images/win/scripts/Installers/Install-NSIS.ps1
Andrew King ff37068951 Update Install-NSIS.ps1 (#4740)
* Update Install-NSIS.ps1

Update NSIS to 3.08

See notes in #4739

* use  in Install-NSIS.ps1, added nsis to toolset files
2021-12-16 10:57:04 +03:00

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"