Befehle, um Closure 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 AoharuCat.Closure -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AoharuCat.Closure -e --silentwinget uninstall --id AoharuCat.Closure -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer
Stille Installation
Closure-Setup-0.4.0.exe /SEigener Ordner
Closure-Setup-0.4.0.exe /S /D=C:\Apps\closure- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cad38deb-e266-5206-9024-911d924cd898
- Installationsordner
- %LocalAppData%\Programs\Closure
64-Bit · EXE (NSIS) · Alle Benutzer
Stille Installation
Closure-Setup-0.4.0.exe /SEigener Ordner
Closure-Setup-0.4.0.exe /S /D=C:\Apps\closure- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\cad38deb-e266-5206-9024-911d924cd898
- Installationsordner
- %LocalAppData%\Programs\Closure
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-closure.ps1
$url = 'https://github.com/AoharuCat/Closure/releases/download/v0.4.0/Closure-Setup-0.4.0.exe'
$sha256 = 'C924964B6128EC7A0A4329DB2357DCDE914C1CABDFB7BEA562C136158735E72B'
$file = Join-Path $env:TEMP 'Closure-Setup-0.4.0.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-closure.ps1
$url = 'https://github.com/AoharuCat/Closure/releases/download/v0.4.0/Closure-Setup-0.4.0.exe'
$sha256 = 'C924964B6128EC7A0A4329DB2357DCDE914C1CABDFB7BEA562C136158735E72B'
$file = Join-Path $env:TEMP 'Closure-Setup-0.4.0.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