delete desktop icon after install

This commit is contained in:
2021-10-08 05:41:49 -04:00
parent 087516fde3
commit 98571828d8
+5 -1
View File
@@ -43,4 +43,8 @@ Catch { LogErr $_.Exception.Message }
## Note: the product edition must be set *after* the user is added
LogMsg "Setting Emberkom Cloud Backup agent edition to ""$AgentEdition"""
Try { Set-MBSAgentSetting -Edition $AgentEdition -Verbose }
Catch { LogErr $_.Exception.Message }
Catch { LogErr $_.Exception.Message }
## Delete the desktop icon
"${Env:PUBLIC}\Desktop\Emberkom Backup.LNK",
"${Env:PUBLIC}\Desktop\Emberkom Cloud Backup.LNK" | Remove-File