major change to override Write-Error func
This commit is contained in:
@@ -5,6 +5,6 @@ $URL = 'https://download.adobe.com/pub/connect/updaters/meeting/11_0/ConnectApp1
|
||||
If ( IsURLValid $URL ) {
|
||||
Write-Output "Installing Adobe Connect from ${URL}"
|
||||
Try { Start-Process "msiexec.exe" -ArgumentList "/i ${URL} /qn /norestart" -Wait }
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Catch { Write-Error $_.Exception.Message }
|
||||
}
|
||||
Else { Write-Output "URL is not valid: ${URL}" }
|
||||
Reference in New Issue
Block a user