Befehle, um Spice agent 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 Spice.VDAgent -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Spice.VDAgent -e --silentwinget uninstall --id Spice.VDAgent -e --silentNach Installer
64-Bit · MSI · en-US
Stille Installation
msiexec /i spice-vdagent-x64-0.10.0.msi /qn /norestartProtokoll schreiben
msiexec /i spice-vdagent-x64-0.10.0.msi /qn /norestart /l*v "%TEMP%\spice-agent-install.log"Deinstallation
msiexec /x {C9D1F690-EEBA-40B8-B61C-2DA7C2A4FDA2} /qn /norestart- MSI-Produktcode
- {C9D1F690-EEBA-40B8-B61C-2DA7C2A4FDA2}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C9D1F690-EEBA-40B8-B61C-2DA7C2A4FDA2}
32-Bit · MSI · en-US
Stille Installation
msiexec /i spice-vdagent-x86-0.10.0.msi /qn /norestartProtokoll schreiben
msiexec /i spice-vdagent-x86-0.10.0.msi /qn /norestart /l*v "%TEMP%\spice-agent-install.log"Deinstallation
msiexec /x {404D1630-952C-4BB4-8ED4-B34F420F9FD3} /qn /norestart- MSI-Produktcode
- {404D1630-952C-4BB4-8ED4-B34F420F9FD3}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{404D1630-952C-4BB4-8ED4-B34F420F9FD3}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-spice-agent.ps1
$url = 'https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x64-0.10.0.msi'
$sha256 = '77629435705BC27DD7D2525E9D2084F72DBAB5FDBF310E812F91332FE18D00EB'
$file = Join-Path $env:TEMP 'spice-vdagent-x64-0.10.0.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 install-spice-agent.ps1
$url = 'https://www.spice-space.org/download/windows/vdagent/vdagent-win-0.10.0/spice-vdagent-x86-0.10.0.msi'
$sha256 = 'DB2779E2F746C1C7BB45D90203DDE1691269A57B99BDF39AFBE4AA391E04FCED'
$file = Join-Path $env:TEMP 'spice-vdagent-x86-0.10.0.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