-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall-nsis.ps1
30 lines (25 loc) · 902 Bytes
/
install-nsis.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#-----------------------------------------------------------------------------
#
# Copyright (c) 2022, Thierry Lelegard
# BSD-2-Clause license, see LICENSE.txt file
#
# Download and install NSIS, the NullSoft Installer Scripting.
# See parameters documentation in install-common.ps1.
#
#-----------------------------------------------------------------------------
[CmdletBinding(SupportsShouldProcess=$true)]
param(
[string]$Destination = "",
[switch]$ForceDownload = $false,
[switch]$GitHubActions = $false,
[switch]$NoInstall = $false,
[switch]$NoPause = $false
)
Write-Output "==== NSIS download and installation procedure"
. "$PSScriptRoot\install-common.ps1"
Install-Standard-Exe `
"https://nsis.sourceforge.io/Download" `
"*/nsis-*-setup.exe?download" `
"http://prdownloads.sourceforge.net/nsis/nsis-3.05-setup.exe?download" `
@("/S")
Exit-Script