Befehle, um Switchbar 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 WebCatalogLtd.Switchbar -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id WebCatalogLtd.Switchbar -e --silentwinget uninstall --id WebCatalogLtd.Switchbar -e --silentNach Installer
32-Bit · EXE (NSIS)
Stille Installation
download /SEigener Ordner
download /S /D=C:\Apps\switchbarPowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-switchbar.ps1
$url = 'https://webcatalog.io/api/download?appId=switchbar&platform=windows'
$sha256 = '035A2DAB4A7AECF14B33A6FBBBFC2E72EDF66BB01B0B56C5FA2D1843EDF956F7'
$file = Join-Path $env:TEMP 'download'
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