Ordres per instal·lar ZY Player sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Hunlongyu.ZYPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Hunlongyu.ZYPlayer -e --silentwinget uninstall --id Hunlongyu.ZYPlayer -e --silentPer instal·lador
64 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
ZY-Player-Setup-2.8.8.exe /SUna altra carpeta
ZY-Player-Setup-2.8.8.exe /S /D=C:\Apps\zy-player- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\397da439-8db2-5764-bf4e-80313d869b6a
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
ZY-Player-Setup-2.8.8.exe /SUna altra carpeta
ZY-Player-Setup-2.8.8.exe /S /D=C:\Apps\zy-player- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\397da439-8db2-5764-bf4e-80313d869b6a
32 bits · EXE (NSIS) · Usuari actual
Instal·lació silenciosa
ZY.Player.Setup.2.8.8_i32.exe /SUna altra carpeta
ZY.Player.Setup.2.8.8_i32.exe /S /D=C:\Apps\zy-player- Clau de desinstal·lació al registre
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\397da439-8db2-5764-bf4e-80313d869b6a
32 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
ZY.Player.Setup.2.8.8_i32.exe /SUna altra carpeta
ZY.Player.Setup.2.8.8_i32.exe /S /D=C:\Apps\zy-player- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\397da439-8db2-5764-bf4e-80313d869b6a
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-zy-player.ps1
$url = 'https://github.com/Hunlongyu/ZY-Player/releases/download/v2.8.8/ZY-Player-Setup-2.8.8.exe'
$sha256 = 'E7BEDFF785F40CD79C4A28FD0A2BE5BE1B09F90EB947C714CFAA9EA480D6A217'
$file = Join-Path $env:TEMP 'ZY-Player-Setup-2.8.8.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-zy-player.ps1
$url = 'https://github.com/Hunlongyu/ZY-Player/releases/download/v2.8.8/ZY-Player-Setup-2.8.8.exe'
$sha256 = 'E7BEDFF785F40CD79C4A28FD0A2BE5BE1B09F90EB947C714CFAA9EA480D6A217'
$file = Join-Path $env:TEMP 'ZY-Player-Setup-2.8.8.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-zy-player.ps1
$url = 'https://github.com/Hunlongyu/ZY-Player/releases/download/v2.8.8/ZY.Player.Setup.2.8.8_i32.exe'
$sha256 = 'A153DE89EC413F25270410AEEF01032E97EEEA671AE04C0B0AB9C34CB5D87593'
$file = Join-Path $env:TEMP 'ZY.Player.Setup.2.8.8_i32.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-zy-player.ps1
$url = 'https://github.com/Hunlongyu/ZY-Player/releases/download/v2.8.8/ZY.Player.Setup.2.8.8_i32.exe'
$sha256 = 'A153DE89EC413F25270410AEEF01032E97EEEA671AE04C0B0AB9C34CB5D87593'
$file = Join-Path $env:TEMP 'ZY.Player.Setup.2.8.8_i32.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