Commands for installing Stream-Pi Server 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 Stream-Pi.Server -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Stream-Pi.Server -e --silentwinget uninstall --id Stream-Pi.Server -e --silentBy installer
64-bit · MSI · All users
Silent install
msiexec /i stream-pi-server-windows-x64-1.0.0-EA+3-installer.msi /qn /norestartWrite a log
msiexec /i stream-pi-server-windows-x64-1.0.0-EA+3-installer.msi /qn /norestart /l*v "%TEMP%\stream-pi-server-install.log"Uninstall
msiexec /x {E6636B37-5A72-303B-B698-990585EDBE8D} /qn /norestart- MSI product code
- {E6636B37-5A72-303B-B698-990585EDBE8D}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E6636B37-5A72-303B-B698-990585EDBE8D}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-stream-pi-server.ps1
$url = 'https://github.com/stream-pi/server/releases/download/1.0.0-EA%2B3/stream-pi-server-windows-x64-1.0.0-EA+3-installer.msi'
$sha256 = '0C5F6FA3665CA14290F01621746BDB9A599277FDD34E31D69D3EA617F78D6AF3'
$file = Join-Path $env:TEMP 'stream-pi-server-windows-x64-1.0.0-EA+3-installer.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait