Commands for installing JCPlayer without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id JIACHENG135.JCPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JIACHENG135.JCPlayer -e --silentwinget uninstall --id JIACHENG135.JCPlayer -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
JCPlayer.Setup.1.1.4.exe /SCustom folder
JCPlayer.Setup.1.1.4.exe /S /D=C:\Apps\jcplayerPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-jcplayer.ps1
$url = 'https://github.com/JIACHENG135/JCPlayer/releases/download/v1.1.4/JCPlayer.Setup.1.1.4.exe'
$sha256 = 'C8E3593C6071B5367CDB9E4E2E0D3516E8B24A1A0DC0E3804FE48143D09CC208'
$file = Join-Path $env:TEMP 'JCPlayer.Setup.1.1.4.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