Befehle, um Dangerzone 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 FreedomofthePressFoundation.Dangerzone -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id FreedomofthePressFoundation.Dangerzone -e --silentwinget uninstall --id FreedomofthePressFoundation.Dangerzone -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i Dangerzone-0.11.1.msi /qn /norestartProtokoll schreiben
msiexec /i Dangerzone-0.11.1.msi /qn /norestart /l*v "%TEMP%\dangerzone-install.log"Deinstallation
msiexec /x {B2802F73-9FFE-4281-95BE-9E3F364E378B} /qn /norestart- MSI-Produktcode
- {B2802F73-9FFE-4281-95BE-9E3F364E378B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B2802F73-9FFE-4281-95BE-9E3F364E378B}
- UpgradeCode
- {12B9695C-965B-4BE0-BC33-21274E809576}
- Installationsordner
- %ProgramFiles%/Dangerzone
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-dangerzone.ps1
$url = 'https://github.com/freedomofpress/dangerzone/releases/download/v0.11.1/Dangerzone-0.11.1.msi'
$sha256 = 'D3CD0DC6173CB184C2A7FE32C5EBDCE93FB8F7F1D3F028ED3AF836C9C73C3594'
$file = Join-Path $env:TEMP 'Dangerzone-0.11.1.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