mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 13:17:54 +00:00
* Apply code style rules to Windows scripts * Fix typo * Fix configure-toolset script * Fix parameters in Msys2 installation script * Improve log readability * Remove broken exit code validation
15 lines
522 B
PowerShell
15 lines
522 B
PowerShell
################################################################################
|
|
## File: Install-NSIS.ps1
|
|
## Desc: Install NSIS
|
|
## Supply chain security: NSIS - managed by package manager
|
|
################################################################################
|
|
|
|
$nsisVersion = (Get-ToolsetContent).nsis.version
|
|
|
|
Install-ChocoPackage nsis -ArgumentList "--version", "$nsisVersion"
|
|
|
|
Add-MachinePathItem "${env:ProgramFiles(x86)}\NSIS\"
|
|
Update-Environment
|
|
|
|
Invoke-PesterTests -TestFile "Tools" -TestName "NSIS"
|