major update
This commit is contained in:
@@ -18,9 +18,7 @@ Catch { LogErr $_.Exception.Message }
|
||||
|
||||
## Delete installer
|
||||
Try {
|
||||
If ( Test-Path $INSTALLER ) {
|
||||
LogMsg "Deleting downloaded installation package"
|
||||
Remove-Item $INSTALLER -Force
|
||||
}
|
||||
LogMsg "Deleting downloaded installation package"
|
||||
Remove-Item $INSTALLER -Force -ErrorAction SilentlyContinue
|
||||
}
|
||||
Catch { LogErr $_.Exception.Message }
|
||||
Reference in New Issue
Block a user