add Install-AdobeConnect

update Install-OpenVPN
add Install-Wireguard
This commit is contained in:
2020-11-19 17:50:42 -05:00
parent d58969ef24
commit 93e53848b6
3 changed files with 26 additions and 7 deletions
+1 -7
View File
@@ -10,14 +10,8 @@ If ( IsAdmin )
## URL for Windows 7
ElseIf ( (IsWindowsVersion -ge "7.0") -and (IsWindowsVersion -lt "10.0") )
{ $URL = "https://swupdate.openvpn.org/community/releases/openvpn-install-${OpenVPNVersion}-I607-Win7.exe" }
## Set the local filename
$FILE = '{0}{1}' -f (GetTempPath),(Split-Path $URL -Leaf)
## Download installer
$FILE = Download-File -URL $URL -File $FILE
## Install package
Install-Program -Path $FILE -Arguments "/S" -Delete
Install-Program -Path $(Download-File -URL $URL) -Arguments "/S" -Delete
}
Else { LogMsg "Must be an administrator to install OpenVPN" }