Befehle, um DiscordBotClient 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 aiko-chan-ai.DiscordBotClient -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id aiko-chan-ai.DiscordBotClient -e --silentwinget uninstall --id aiko-chan-ai.DiscordBotClient -e --silentNach Installer
64-Bit · EXE (NSIS) · en-US
Stille Installation
DiscordBotClient-win-x64.exe /SEigener Ordner
DiscordBotClient-win-x64.exe /S /D=C:\Apps\discordbotclient- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\760f5afc-fded-5554-b14c-1a3bd05a770d
- DisplayVersion
- 3.10.7
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-discordbotclient.ps1
$url = 'https://github.com/aiko-chan-ai/DiscordBotClient/releases/download/v3.10.7/DiscordBotClient-win-x64.exe'
$sha256 = '5EDA1D3CACBA35392561C4EF29A50BA9CC94FC4C43BD0873A107B79E96ACCD12'
$file = Join-Path $env:TEMP 'DiscordBotClient-win-x64.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