Commands for installing Postbox 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 Postbox.Postbox -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Postbox.Postbox -e --silentwinget uninstall --id Postbox.Postbox -e --silentBy installer
32-bit · EXE (NSIS) · All users
Silent install
postbox-7.0.56-win32.exe /SCustom folder
postbox-7.0.56-win32.exe /S /D=C:\Apps\postboxPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-postbox.ps1
$url = 'https://d3nx85trn0lqsg.cloudfront.net/win/postbox-7.0.56-win32.exe'
$sha256 = '76ECE8B86674C0E56203A7A73A19C5A341F8B8A7635A8E45C8A2DC99B1CF753D'
$file = Join-Path $env:TEMP 'postbox-7.0.56-win32.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