remove deleting shortcut

This commit is contained in:
2021-10-25 11:49:01 -04:00
parent 56413da7cf
commit 5e3a0741dc
-8
View File
@@ -18,14 +18,6 @@ If ( $VisionURL ) {
$APP_NAME = "Internet Explorer (x86)"
}
## Remove desktop shortcut
$SHORTCUT_PATH = "${Env:Public}\Desktop\Deltek Vision.lnk"
If ( Test-Path $SHORTCUT_PATH ) {
LogMsg "Deleting ""$SHORTCUT_PATH"""
Try { Remove-Item $SHORTCUT_PATH -Force }
Catch { LogErr $_.Exception.Message }
}
## Create the shortcut
If ( $BROWSER_PATH ) {
LogMsg "Installing Deltek Vision using ${APP_NAME}"