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'
|
$URL = 'https://download.adobe.com/pub/connect/updaters/meeting/11_0/ConnectApp11_2021_3_4.msi'
|
||||||
|
|
||||||
## Install Adobe Connect
|
## Install Adobe Connect
|
||||||
LogMsg "Installing Adobe Connect from ${URL}"
|
If ( IsURLValid $URL ) {
|
||||||
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait }
|
LogMsg "Installing Adobe Connect from ${URL}"
|
||||||
Catch { LogErr $_.Exception.Message }
|
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