Commands for installing mpv.net 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 mpv.net -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id mpv.net -e --silentwinget uninstall --id mpv.net -e --silentBy installer
64-bit · EXE (Inno Setup) · Current user
Silent install
mpv.net-v7.1.2.0-setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
mpv.net-v7.1.2.0-setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mpv-net"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9AA2B100-BEF3-44D0-B819-D8FC3C4D557D}}_is1
64-bit · EXE (Inno Setup) · All users
Silent install
mpv.net-v7.1.2.0-setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Custom folder
mpv.net-v7.1.2.0-setup-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\mpv-net"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9AA2B100-BEF3-44D0-B819-D8FC3C4D557D}}_is1
- Install folder
- %ProgramFiles%\mpv.net
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-mpv-net.ps1
$url = 'https://github.com/mpvnet-player/mpv.net/releases/download/v7.1.2.0/mpv.net-v7.1.2.0-setup-x64.exe'
$sha256 = 'D9AD12A9BC007576506EB632BEF0D79389EB0C25D113AB4E22DCB75E386B81D7'
$file = Join-Path $env:TEMP 'mpv.net-v7.1.2.0-setup-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-mpv-net.ps1
$url = 'https://github.com/mpvnet-player/mpv.net/releases/download/v7.1.2.0/mpv.net-v7.1.2.0-setup-x64.exe'
$sha256 = 'D9AD12A9BC007576506EB632BEF0D79389EB0C25D113AB4E22DCB75E386B81D7'
$file = Join-Path $env:TEMP 'mpv.net-v7.1.2.0-setup-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait