We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038cb56 commit 8b23f69Copy full SHA for 8b23f69
images/win/scripts/Installers/Install-NSIS.ps1
@@ -1,10 +1,12 @@
1
################################################################################
2
## File: Install-NSIS.ps1
3
## Desc: Install NSIS
4
+## Supply chain security: NSIS - managed by package manager
5
6
7
$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')
8
+
9
+Choco-Install -PackageName nsis -ArgumentList "--version", "$NsisVersion"
10
11
$NsisPath = "${env:ProgramFiles(x86)}\NSIS\"
12
Add-MachinePathItem $NsisPath
0 commit comments