update
This commit is contained in:
@@ -18,6 +18,14 @@ If ( $VisionURL ) {
|
|||||||
$APP_NAME = "Internet Explorer (x86)"
|
$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
|
## Create the shortcut
|
||||||
If ( $BROWSER_PATH ) {
|
If ( $BROWSER_PATH ) {
|
||||||
LogMsg "Installing Deltek Vision using ${APP_NAME}"
|
LogMsg "Installing Deltek Vision using ${APP_NAME}"
|
||||||
|
|||||||
@@ -10,11 +10,3 @@ If ( Test-Path $APP_PATH ) {
|
|||||||
Catch { LogErr $_.Exception.Message }
|
Catch { LogErr $_.Exception.Message }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
## 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 }
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user