Commands for installing PicView 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 Ruben2776.PicView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Ruben2776.PicView -e --silentwinget uninstall --id Ruben2776.PicView -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
Setup-PicView-v5.2.2-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Setup-PicView-v5.2.2-win-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\picview"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F102E394-0FA6-4AEA-826D-9FE699115BAB}_is1
- Install folder
- %ProgramFiles%\PicView
- DisplayVersion
- 5.2.2
ARM64 · EXE (Inno Setup) · All users · en-US
Silent install
Setup-PicView-v5.2.2-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
Setup-PicView-v5.2.2-win-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\picview"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F102E394-0FA6-4AEA-826D-9FE699115BAB}_is1
- Install folder
- %ProgramFiles%\PicView
- DisplayVersion
- 5.2.2
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-picview.ps1
$url = 'https://github.com/Ruben2776/PicView/releases/download/5.2.2/Setup-PicView-v5.2.2-win-x64.exe'
$sha256 = '183800344144A77C7CC18B1E615EBBB41E3B9737B1208BD5615DECB36701D14D'
$file = Join-Path $env:TEMP 'Setup-PicView-v5.2.2-win-x64.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 install-picview.ps1
$url = 'https://github.com/Ruben2776/PicView/releases/download/5.2.2/Setup-PicView-v5.2.2-win-arm64.exe'
$sha256 = 'D82951429630165CD924FE423D208BC2C200246B6E0901D6E8C1E5477714CBE3'
$file = Join-Path $env:TEMP 'Setup-PicView-v5.2.2-win-arm64.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