Kommandoer til at installere killbots uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med winget
PowerShell
winget install --id KDE.Killbots -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id KDE.Killbots -e --silentwinget uninstall --id KDE.Killbots -e --silentPr. installationsfil
64-bit · EXE (NSIS) · Aktuel bruger
Lydløs installation
killbots-master-1009-windows-cl-msvc2022-x86_64.exe /SEgen mappe
killbots-master-1009-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\killbots- Afinstallationsnøgle i registreringsdatabasen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\killbots
64-bit · EXE (NSIS) · Alle brugere
Lydløs installation
killbots-master-1009-windows-cl-msvc2022-x86_64.exe /SEgen mappe
killbots-master-1009-windows-cl-msvc2022-x86_64.exe /S /D=C:\Apps\killbots- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\killbots
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
install-killbots.ps1
$url = 'https://cdn.kde.org/ci-builds/games/killbots/master/windows/killbots-master-1009-windows-cl-msvc2022-x86_64.exe'
$sha256 = '5B3672DDFFEC06E977511736EB49E57B87CBCD41E9F5864A0BFD0558D963F209'
$file = Join-Path $env:TEMP 'killbots-master-1009-windows-cl-msvc2022-x86_64.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-killbots.ps1
$url = 'https://cdn.kde.org/ci-builds/games/killbots/master/windows/killbots-master-1009-windows-cl-msvc2022-x86_64.exe'
$sha256 = '5B3672DDFFEC06E977511736EB49E57B87CBCD41E9F5864A0BFD0558D963F209'
$file = Join-Path $env:TEMP 'killbots-master-1009-windows-cl-msvc2022-x86_64.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