Update uninstall-MS-Visual-C++-2010.ps1
This commit is contained in:
parent
111916ea99
commit
44e364caeb
@ -62,7 +62,8 @@ function Invoke-Uninstall {
|
|||||||
Write-Warning "Uninstall failed for $AppName with exit code $code"
|
Write-Warning "Uninstall failed for $AppName with exit code $code"
|
||||||
$script:fails++
|
$script:fails++
|
||||||
} catch {
|
} catch {
|
||||||
Write-Warning "Error while uninstalling $AppName: $($_.Exception.Message)"
|
$msg = $_.Exception.Message
|
||||||
|
Write-Warning "Error while uninstalling $AppName: $msg"
|
||||||
$script:fails++
|
$script:fails++
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user