Kommandon för att installera AgentWatcher utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · pt-BR
Tyst installation
AgentWatcher_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
AgentWatcher_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\agentwatcher"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\AgentWatcher_is1
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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