validate url before attempting to install
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
$URL = 'https://download.adobe.com/pub/connect/updaters/meeting/11_0/ConnectApp11_2021_3_4.msi'
|
||||
|
||||
## Install Adobe Connect
|
||||
LogMsg "Installing Adobe Connect from ${URL}"
|
||||
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
If ( IsURLValid $URL ) {
|
||||
LogMsg "Installing Adobe Connect from ${URL}"
|
||||
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
}
|
||||
Else { LogMsg "URL is not valid: ${URL}" }
|
||||
Reference in New Issue
Block a user