Commands for installing PiUI 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 lehhair.PiUI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id lehhair.PiUI -e --silentwinget uninstall --id lehhair.PiUI -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
PiUI_0.6.21_x64-setup.exe /SCustom folder
PiUI_0.6.21_x64-setup.exe /S /D=C:\Apps\piui- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\PiUI
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-piui.ps1
$url = 'https://github.com/lehhair/PiUI/releases/download/v0.6.21/PiUI_0.6.21_x64-setup.exe'
$sha256 = 'D350E816413F5A9ECCE2CA71AE09327BB06D6E793B40DC7BBC98834342F663E9'
$file = Join-Path $env:TEMP 'PiUI_0.6.21_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 '/S' -Wait