Commands for installing DuskPlayer 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 AveekSaha.DuskPlayer -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id AveekSaha.DuskPlayer -e --silentwinget uninstall --id AveekSaha.DuskPlayer -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
DuskPlayer-Setup-7.0.0.exe /SCustom folder
DuskPlayer-Setup-7.0.0.exe /S /D=C:\Apps\duskplayerPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-duskplayer.ps1
$url = 'https://github.com/Aveek-Saha/DuskPlayer/releases/download/v7.0.0/DuskPlayer-Setup-7.0.0.exe'
$sha256 = 'E2F0C2508319B9E2E2066E74C6868A5A112489F6813F7C3E673AB52C89296B86'
$file = Join-Path $env:TEMP 'DuskPlayer-Setup-7.0.0.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