Befehle, um GpgFrontend 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 Saturneric.GpgFrontend -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Saturneric.GpgFrontend -e --silentwinget uninstall --id Saturneric.GpgFrontend -e --silentNach Installer
64-Bit · MSIX · en-US
Stille Installation
Add-AppxPackage -Path GpgFrontend-2.2.3-windows-x86_64.msixDeinstallation
msiexec /x {64099272-619C-4647-B9E6-BE3183CA3704} /qn /norestart- MSI-Produktcode
- {64099272-619C-4647-B9E6-BE3183CA3704}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{64099272-619C-4647-B9E6-BE3183CA3704}
- Installationsordner
- %ProgramFiles%\WindowsApps\com.bktus.GpgFrontend_2.2.3.0_x64__02yyyzadb3ys8
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-gpgfrontend.ps1
$url = 'https://github.com/saturneric/GpgFrontend/releases/download/v2.2.3/GpgFrontend-2.2.3-windows-x86_64.msix'
$sha256 = '7E2760E0222765F8C87B60A6A5C8D6D71732E4E8F72BFD6EBB13300791BE60CD'
$file = Join-Path $env:TEMP 'GpgFrontend-2.2.3-windows-x86_64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file