Ordres per instal·lar STREAMS 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 SerZhyAle.StreamsPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SerZhyAle.StreamsPlayer -e --silentwinget uninstall --id SerZhyAle.StreamsPlayer -e --silentPer instal·lador
64 bits · EXE (Inno Setup)
Instal·lació silenciosa
StreamsPlayer-26.1025.1927-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Una altra carpeta
StreamsPlayer-26.1025.1927-windows-x64-setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\streams-player"- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{15F4F08C-E78B-41B7-9039-6A3332D7D080}_is1
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-streams-player.ps1
$url = 'https://github.com/SerZhyAle/StreamsPlayer/releases/download/v26.1025.1927/StreamsPlayer-26.1025.1927-windows-x64-setup.exe'
$sha256 = '5C0C151A11A791398A4808A95E8F57963C11E0BDB4757CD91FE5A2BDAFECEE6B'
$file = Join-Path $env:TEMP 'StreamsPlayer-26.1025.1927-windows-x64-setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait