Befehle, um CosyVoice 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 Alibaba.CosyVoice -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Alibaba.CosyVoice -e --silentwinget uninstall --id Alibaba.CosyVoice -e --silentNach Installer
64-Bit · EXE (NSIS) · Aktueller Benutzer
Stille Installation
CosyVoice-2.0.0-59212764-x64.exe /SEigener Ordner
CosyVoice-2.0.0-59212764-x64.exe /S /D=C:\Apps\cosyvoice- Deinstallationsschlüssel in der Registry
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\150da127-4ef7-5acf-a0f6-249ee293edb6
- Installationsordner
- %LocalAppData%\Programs\CosyVoice
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-cosyvoice.ps1
$url = 'https://static.cosyvoice.org.cn/windows/release/CosyVoice-2.0.0-59212764-x64.exe'
$sha256 = '6F643D03F8914A8BC97D8A545EF5F84511A500BB1ACB341D21093B9225340AA1'
$file = Join-Path $env:TEMP 'CosyVoice-2.0.0-59212764-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