mirror of
https://github.com/actions/runner-images.git
synced 2025-12-20 06:35:47 +00:00
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
This commit is contained in:
@@ -3,10 +3,11 @@
|
||||
## Desc: Install NSIS
|
||||
################################################################################
|
||||
|
||||
Install-Binary -Url 'https://downloads.sourceforge.net/project/nsis/NSIS%203/3.06.1/nsis-3.06.1-setup.exe' -Name nsis-3.06.1-setup.exe -ArgumentList ('/S')
|
||||
$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"
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "NSIS"
|
||||
|
||||
Reference in New Issue
Block a user