Commands for installing GerbView 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 SoftwareCompanions.GerbView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SoftwareCompanions.GerbView -e --silentwinget uninstall --id SoftwareCompanions.GerbView -e --silentBy installer
64-bit · EXE (Inno Setup) · All users · en-US
Silent install
gv1130x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
gv1130x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gerbview"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9852339E-9EF4-4D90-9CF1-3F5C54C88ADC}_is1
- Install folder
- %ProgramFiles%\Software Companions\GerbView
32-bit · EXE (Inno Setup) · All users · en-US
Silent install
gv1130x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
gv1130x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gerbview"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{99CDA8AC-F369-455E-A5BB-3B52BE069F90}_is1
- Install folder
- %ProgramFiles%\Software Companions\GerbView
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-gerbview.ps1
$url = 'https://www.gerbview.com/11/gv1130x64.exe'
$sha256 = '4E9715C70C3986F6BA7A39D4E15D41B075C74CE3539A3A62AD8075C1BD989617'
$file = Join-Path $env:TEMP 'gv1130x64.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-gerbview.ps1
$url = 'https://www.gerbview.com/11/gv1130x86.exe'
$sha256 = '4E4695A833B37F64D189DC74349471EF3BE048C58412352D8BDE2E70FB93EE07'
$file = Join-Path $env:TEMP 'gv1130x86.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