Update installer.ps1
Add windows defender exclusions before downloading or installing the agent.
@@ -33,6 +33,11 @@ If (Get-Service $serviceName -ErrorAction SilentlyContinue) {
Try
{
+ Add-MpPreference -ExclusionPath 'C:\Program Files\TacticalAgent\*'
+ Add-MpPreference -ExclusionPath 'C:\Windows\Temp\winagent-v*.exe'
+ Add-MpPreference -ExclusionPath 'C:\Program Files\Mesh Agent\*'
+ Add-MpPreference -ExclusionPath 'C:\Windows\Temp\trmm*\*'
+
Invoke-WebRequest -Uri $downloadlink -OutFile $OutPath\$output
Start-Process -FilePath $OutPath\$output -ArgumentList ('/VERYSILENT /SUPPRESSMSGBOXES') -Wait
write-host ('Extracting...')
