Commands for installing PothosSDR 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 Pothosware.PothosSDR -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Pothosware.PothosSDR -e --silentwinget uninstall --id Pothosware.PothosSDR -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
PothosSDR-2021.07.25-vc16-x64.exe /SCustom folder
PothosSDR-2021.07.25-vc16-x64.exe /S /D=C:\Apps\pothossdrPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-pothossdr.ps1
$url = 'https://downloads.myriadrf.org/builds/PothosSDR/PothosSDR-2021.07.25-vc16-x64.exe'
$sha256 = '705D962F578A9595A31D00E71AC68EB5CA951F3D3CB6091BF99BD13368960DA9'
$file = Join-Path $env:TEMP 'PothosSDR-2021.07.25-vc16-x64.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 '/S' -Wait