remove unnecessary code from Install-DeltekVision.ps1

comment out Create-Shortcut from Install-Wireguard.ps1
fix some log messages in Tools.ps1
This commit is contained in:
2020-12-03 20:18:23 -05:00
parent f6bf0e18e9
commit 4b84f79083
3 changed files with 14 additions and 34 deletions
+2 -1
View File
@@ -420,8 +420,9 @@ Function Create-Shortcut {
$Shortcut.IconLocation = $Icon
$Shortcut.WorkingDirectory = $WorkingDirectory
$Shortcut.TargetPath = $TargetPath
LogMsg "Creating shortcut to ""${TargetPath}"" at ""${Path}"""
Try { $Shortcut.Save() }
Catch { LogErr $_.Exception.Message }
}
Else { LogMsg "The target path does not exist" }
Else { LogMsg "Cannot create shortcut because the target path does not exist" }
}