Commands for installing Postimage 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 Postimage.Postimage -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Postimage.Postimage -e --silentwinget uninstall --id Postimage.Postimage -e --silentBy installer
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\postimage"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B8BAF53F-4680-44A4-AF64-9934F924676B}_is1
- Install folder
- %ProgramFiles%\Postimage
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-postimage.ps1
$url = 'https://postimages.org/setup.exe'
$sha256 = '5F882BDA4F90E8DBD0E9F1C048B4FD235DB5BB9BA0F70AC046AEF97CF6B6975C'
$file = Join-Path $env:TEMP '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