Kommandon för att installera NetSpeedTray 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 erez-c137.NetSpeedTray -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id erez-c137.NetSpeedTray -e --silentwinget uninstall --id erez-c137.NetSpeedTray -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Alla användare · en-US
Tyst installation
NetSpeedTray-2.1.7-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
NetSpeedTray-2.1.7-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netspeedtray"- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D3A32B89-C533-4F2C-9F87-23B2395B5B89}}_is1
- Installationsmapp
- %ProgramFiles%\NetSpeedTray
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-netspeedtray.ps1
$url = 'https://github.com/erez-c137/NetSpeedTray/releases/download/v2.1.7/NetSpeedTray-2.1.7-x64-Setup.exe'
$sha256 = 'C28072DAA74B547FD3DBD5F6D6F7358C97FFF78C568627ADDCE73F52A25EB2BE'
$file = Join-Path $env:TEMP 'NetSpeedTray-2.1.7-x64-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