diff --git a/Install-ESETManagementAgent.ps1 b/Install-ESETManagementAgent.ps1 index 1f06cfe..37a3031 100644 --- a/Install-ESETManagementAgent.ps1 +++ b/Install-ESETManagementAgent.ps1 @@ -35,6 +35,6 @@ Try { Start-Process "msiexec.exe" -ArgumentList "/i ${INSTALLER} /qn /norestart Catch { LogErr $_.Exception.Message } # Delete the installer -LogMsg "Deleting temp directory and its contents" -Try { Remove-Item -Path $TEMPDIR -Recurse -Force -ErrorAction SilentlyContinue } -Catch { LogErr $_.Exception.Message } +#LogMsg "Deleting temp directory and its contents" +#Try { Remove-Item -Path $TEMPDIR -Recurse -Force -ErrorAction SilentlyContinue } +#Catch { LogErr $_.Exception.Message }