Commands for installing OpenReader 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 SparshSam.OpenReader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SparshSam.OpenReader -e --silentwinget uninstall --id SparshSam.OpenReader -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
OpenReader-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
OpenReader-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\openreader"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D3A7F9E1-4B2C-4A8F-9E6D-1C5B3A7F9E01}_is1
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-openreader.ps1
$url = 'https://github.com/sparshsam/openreader/releases/download/v1.2.7/OpenReader-Setup.exe'
$sha256 = '9C2F1832369FFDC277097C3EBF78C3C3299D0C5D6C771F6459B501D6BC00DC9B'
$file = Join-Path $env:TEMP 'OpenReader-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