Skip to content

Commit 8b23f69

Browse files
authored
[Windows] Install NSIS package from Chocolatey (#8394)
1 parent 038cb56 commit 8b23f69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

images/win/scripts/Installers/Install-NSIS.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
################################################################################
22
## File: Install-NSIS.ps1
33
## Desc: Install NSIS
4+
## Supply chain security: NSIS - managed by package manager
45
################################################################################
56

67
$NsisVersion = (Get-ToolsetContent).nsis.version
7-
Install-Binary -Url "https://downloads.sourceforge.net/project/nsis/NSIS%203/${NsisVersion}/nsis-${NsisVersion}-setup.exe" -Name "nsis-${NsisVersion}-setup.exe" -ArgumentList ('/S')
8+
9+
Choco-Install -PackageName nsis -ArgumentList "--version", "$NsisVersion"
810

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

0 commit comments

Comments
 (0)