Befehle, um Belfry 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 ChengSoon.Belfry -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ChengSoon.Belfry -e --silentwinget uninstall --id ChengSoon.Belfry -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer
Stille Installation
Belfry_1.0.3_x64-setup.exe /SEigener Ordner
Belfry_1.0.3_x64-setup.exe /S /D=C:\Apps\belfry- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Belfry
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i Belfry_1.0.3_x64_en-US.msi /qn /norestartProtokoll schreiben
msiexec /i Belfry_1.0.3_x64_en-US.msi /qn /norestart /l*v "%TEMP%\belfry-install.log"Deinstallation
msiexec /x {CC2DC94B-CA3A-4A64-A9E6-873FFDD8CEBE} /qn /norestart- MSI-Produktcode
- {CC2DC94B-CA3A-4A64-A9E6-873FFDD8CEBE}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC2DC94B-CA3A-4A64-A9E6-873FFDD8CEBE}
- UpgradeCode
- {7EFB541A-3C94-5A57-B8A4-6DB371DBFA56}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-belfry.ps1
$url = 'https://github.com/ChengSoon/belfry-desktop/releases/download/v1.0.3/Belfry_1.0.3_x64-setup.exe'
$sha256 = 'CB883E6E6CCD867EB1EFE306C7D169D0CB296553CC9737806492C6E79757EE4D'
$file = Join-Path $env:TEMP 'Belfry_1.0.3_x64-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 '/S' -Wait install-belfry.ps1
$url = 'https://github.com/ChengSoon/belfry-desktop/releases/download/v1.0.3/Belfry_1.0.3_x64_en-US.msi'
$sha256 = '8D4D9F90286DE58455DD9B06000B6A51F0DD147375DDA2BA27929929D1F6508F'
$file = Join-Path $env:TEMP 'Belfry_1.0.3_x64_en-US.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