Befehle, um pgtail 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 willibrandon.pgtail -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id willibrandon.pgtail -e --silentwinget uninstall --id willibrandon.pgtail -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i pgtail-windows-x86_64.msi /qn /norestartProtokoll schreiben
msiexec /i pgtail-windows-x86_64.msi /qn /norestart /l*v "%TEMP%\pgtail-install.log"Deinstallation
msiexec /x {9A0BB68B-B6E6-4B97-9B90-0212592892A5} /qn /norestart- MSI-Produktcode
- {9A0BB68B-B6E6-4B97-9B90-0212592892A5}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9A0BB68B-B6E6-4B97-9B90-0212592892A5}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-pgtail.ps1
$url = 'https://github.com/willibrandon/pgtail/releases/download/v0.9.0/pgtail-windows-x86_64.msi'
$sha256 = '149142FA524A87B45F826FC79F635A04D1EB47A936DFAEBCB1BBDBF4D93C42B1'
$file = Join-Path $env:TEMP 'pgtail-windows-x86_64.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