Kommandon för att installera PCAP Sentry 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 industrial-dave.PCAP-Sentry -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id industrial-dave.PCAP-Sentry -e --silentwinget uninstall --id industrial-dave.PCAP-Sentry -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare
Tyst installation
PCAP_Sentry_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
PCAP_Sentry_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\pcap-sentry"PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-pcap-sentry.ps1
$url = 'https://github.com/industrial-dave/PCAP-Sentry/releases/download/v2026.2.17-2/PCAP_Sentry_Setup.exe'
$sha256 = 'BFAF4D6C7655B477D0A8D7755DFD1DA998A4E5233E2F79949911CF26EEC2CD84'
$file = Join-Path $env:TEMP 'PCAP_Sentry_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