2020-11-13 09:32:19 -05:00
|
|
|
## Stop the DeltekVision process
|
|
|
|
|
End-Process -Name "DeltekVision" -Force
|
2020-08-14 14:19:37 -04:00
|
|
|
|
|
|
|
|
## Set the path to Deltek Vision
|
|
|
|
|
$APP_PATH = "${Env:UserProfile}\AppData\Local\Apps\2.0"
|
|
|
|
|
|
|
|
|
|
## Test to make sure it's installed for the current user before continuing
|
|
|
|
|
If ( Test-Path $APP_PATH )
|
|
|
|
|
{
|
|
|
|
|
## Delete the existing installed app
|
|
|
|
|
Try { Remove-Item $APP_PATH -Recurse -Force }
|
2020-11-13 09:32:19 -05:00
|
|
|
Catch { LogErr $_.Exception.Message }
|
2020-08-14 14:19:37 -04:00
|
|
|
|
2020-11-13 09:32:19 -05:00
|
|
|
} Else { LogMsg "${APP_PATH} does not exist!" }
|