From 5e3a0741dcb11a50e4d865b7941548094871ec0e Mon Sep 17 00:00:00 2001 From: David Yoder Date: Mon, 25 Oct 2021 11:49:01 -0400 Subject: [PATCH] remove deleting shortcut --- Install-DeltekVision.ps1 | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Install-DeltekVision.ps1 b/Install-DeltekVision.ps1 index 45cb989..97611b7 100644 --- a/Install-DeltekVision.ps1 +++ b/Install-DeltekVision.ps1 @@ -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}"