Commands for installing NeatReader 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 GauzyTech.NeatReader -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GauzyTech.NeatReader -e --silentwinget uninstall --id GauzyTech.NeatReader -e --silentBy installer
32-bit · EXE (NSIS) · All users
Silent install
"NeatReader Setup 9.0.11.exe" /SCustom folder
"NeatReader Setup 9.0.11.exe" /S /D=C:\Apps\neatreader- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\bbff271c-caf8-5302-b3c6-6d9ee38f27e3
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-neatreader.ps1
$url = 'https://neat-reader-app-release.oss-cn-beijing.aliyuncs.com/NeatReader%20Setup%209.0.11.exe'
$sha256 = '7C85C5EE8D77D6014B3EE8BAF5F1A5213E50A8DC1F0B24C7F2B34FA5E2FEEE3F'
$file = Join-Path $env:TEMP 'NeatReader Setup 9.0.11.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