Commands for installing AgentWatcher without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id Convectiva.AgentWatcher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Convectiva.AgentWatcher -e --silentwinget uninstall --id Convectiva.AgentWatcher -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · pt-BR
Silent install
AgentWatcher_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
AgentWatcher_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\agentwatcher"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentWatcher_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-agentwatcher.ps1
$url = 'https://github.com/ederpardeiro/AgentWatcher/releases/download/v1.0.3/AgentWatcher_Setup.exe'
$sha256 = '393C4671DD9331352DD6631B9FB8E891E78792D5E00B638159C37707B8466886'
$file = Join-Path $env:TEMP 'AgentWatcher_Setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait