Befehle, um Gopass CLI ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id gopass.gopass -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id gopass.gopass -e --silentwinget uninstall --id gopass.gopass -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i gopass-x64-windows-1.17.3.msi /qn /norestartProtokoll schreiben
msiexec /i gopass-x64-windows-1.17.3.msi /qn /norestart /l*v "%TEMP%\gopass-cli-install.log"Deinstallation
msiexec /x {1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C} /qn /norestart- MSI-Produktcode
- {1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- UpgradeCode
- {6c1bd458-7d1b-4311-848d-d0fe1a65af66}
64-Bit · ZIP · en-US
Keine Installation nötig (portabel)
- MSI-Produktcode
- {1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- UpgradeCode
- {6c1bd458-7d1b-4311-848d-d0fe1a65af66}
- Installationsordner
- %LocalAppData%\gopass
ARM64 · ZIP · en-US
Keine Installation nötig (portabel)
- MSI-Produktcode
- {1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1A07AAD9-64CC-4E6A-AAEA-B3097AF5028C}
- UpgradeCode
- {6c1bd458-7d1b-4311-848d-d0fe1a65af66}
- Installationsordner
- %LocalAppData%\gopass
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-gopass-cli.ps1
$url = 'https://github.com/gopasspw/gopass/releases/download/v1.17.3/gopass-x64-windows-1.17.3.msi'
$sha256 = '339CF56F2BF442DD4CE3462817E4640EB68353D622F51FF41AFC396AC1FB4F0A'
$file = Join-Path $env:TEMP 'gopass-x64-windows-1.17.3.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait