Commands for installing NetSpeedTray 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 erez-c137.NetSpeedTray -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id erez-c137.NetSpeedTray -e --silentwinget uninstall --id erez-c137.NetSpeedTray -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
NetSpeedTray-2.1.7-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
NetSpeedTray-2.1.7-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\netspeedtray"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D3A32B89-C533-4F2C-9F87-23B2395B5B89}}_is1
- Install folder
- %ProgramFiles%\NetSpeedTray
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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