Ordres per instal·lar GerbView sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
gv1130x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
gv1130x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gerbview"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9852339E-9EF4-4D90-9CF1-3F5C54C88ADC}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\Software Companions\GerbView
32 bits · EXE (Inno Setup) · Tots els usuaris · en-US
Instal·lació silenciosa
gv1130x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
gv1130x86.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\gerbview"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{99CDA8AC-F369-455E-A5BB-3B52BE069F90}_is1
- Carpeta d’instal·lació
- %ProgramFiles%\Software Companions\GerbView
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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