Befehle, um Prometheus 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 Mouseww.Prometheus -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mouseww.Prometheus -e --silentwinget uninstall --id Mouseww.Prometheus -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer
Stille Installation
Prometheus_0.21.6_x64-setup.exe /SEigener Ordner
Prometheus_0.21.6_x64-setup.exe /S /D=C:\Apps\prometheus- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Prometheus
- Installationsordner
- %LocalAppData%\Prometheus
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i Prometheus_0.21.6_x64_en-US.msi /qn /norestartProtokoll schreiben
msiexec /i Prometheus_0.21.6_x64_en-US.msi /qn /norestart /l*v "%TEMP%\prometheus-install.log"Deinstallation
msiexec /x {14F37107-8F76-4CDA-93E7-EC9124E1F681} /qn /norestart- MSI-Produktcode
- {14F37107-8F76-4CDA-93E7-EC9124E1F681}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{14F37107-8F76-4CDA-93E7-EC9124E1F681}
- UpgradeCode
- {585FD20A-B31F-5AE5-AA54-FF9804385120}
- Installationsordner
- %ProgramFiles%\Prometheus
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-prometheus.ps1
$url = 'https://github.com/Mouseww/Prometheus/releases/download/v0.21.6/Prometheus_0.21.6_x64-setup.exe'
$sha256 = 'F66ED43BA2B83427E184D26F562BF558A577A519FE8DE20B2B85CCA56B028418'
$file = Join-Path $env:TEMP 'Prometheus_0.21.6_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-prometheus.ps1
$url = 'https://github.com/Mouseww/Prometheus/releases/download/v0.21.6/Prometheus_0.21.6_x64_en-US.msi'
$sha256 = 'DF2D8A008FC29D2BE07F81118F7533496CCF96AB89D184D45AA951AAAC5A15C7'
$file = Join-Path $env:TEMP 'Prometheus_0.21.6_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