Befehle, um ShutdownCountdown 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 yuma14.ShutdownCountdown -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id yuma14.ShutdownCountdown -e --silentwinget uninstall --id yuma14.ShutdownCountdown -e --silentNach Installer
64-Bit · MSI · ja-JP
Stille Installation
msiexec /i shutdowncountdown-installer-x64.msi /qn /norestartProtokoll schreiben
msiexec /i shutdowncountdown-installer-x64.msi /qn /norestart /l*v "%TEMP%\shutdowncountdown-install.log"Deinstallation
msiexec /x {45D0EDE9-1F66-4D01-A897-C96694725972} /qn /norestart- MSI-Produktcode
- {45D0EDE9-1F66-4D01-A897-C96694725972}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{45D0EDE9-1F66-4D01-A897-C96694725972}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-shutdowncountdown.ps1
$url = 'https://github.com/yuma140902/ShutdownCountdown/releases/download/v1.1.0/shutdowncountdown-installer-x64.msi'
$sha256 = 'A9E720D0BA59ACA862EF987948C8DA5A221D1FF4CC37CA3C637BF57D194A6DF5'
$file = Join-Path $env:TEMP 'shutdowncountdown-installer-x64.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