Befehle, um Kai 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 SimonSchubert.Kai -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SimonSchubert.Kai -e --silentwinget uninstall --id SimonSchubert.Kai -e --silentNach Installer
64-Bit · MSI · Alle Benutzer · en-US
Stille Installation
msiexec /i Kai-3.3.0-windows.msi /qn /norestartProtokoll schreiben
msiexec /i Kai-3.3.0-windows.msi /qn /norestart /l*v "%TEMP%\kai-install.log"Deinstallation
msiexec /x {7F87C168-9125-3B1D-9E7A-55FCB5E082B7} /qn /norestart- MSI-Produktcode
- {7F87C168-9125-3B1D-9E7A-55FCB5E082B7}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7F87C168-9125-3B1D-9E7A-55FCB5E082B7}
- UpgradeCode
- {A36B4F52-2742-3A54-A7CC-AE3694C3AA17}
- Installationsordner
- %ProgramFiles%/Kai
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-kai.ps1
$url = 'https://github.com/SimonSchubert/Kai/releases/download/v3.3.0/Kai-3.3.0-windows.msi'
$sha256 = '9B751727F08E2A407C208EF305EBA69160F26849A71E12E405AF16C1203ADF05'
$file = Join-Path $env:TEMP 'Kai-3.3.0-windows.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