Ordres per instal·lar Geph 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 Geph.Geph -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Geph.Geph -e --silentwinget uninstall --id Geph.Geph -e --silentPer instal·lador
32 bits · EXE (Inno Setup)
Instal·lació silenciosa
geph-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
geph-windows-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\geph"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-geph.ps1
$url = 'https://f001.backblazeb2.com/file/geph4-dl/geph-releases/windows-stable/4.8.9/geph-windows-setup.exe'
$sha256 = 'B6635F47529AF2DB7EA52719E5D66F1F977093A0165493224543FB95F4D0C1FB'
$file = Join-Path $env:TEMP 'geph-windows-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