Kommandon för att installera MediathekView utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id MediathekViewTeam.MediathekView -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MediathekViewTeam.MediathekView -e --silentwinget uninstall --id MediathekViewTeam.MediathekView -e --silentPer installationsfil
64-bitars · EXE · Alla användare
Tyst installation
MediathekView-14.5.0-win.exe -qPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-mediathekview.ps1
$url = 'https://download.mediathekview.de/stabil/MediathekView-14.5.0-win.exe'
$sha256 = '3D2B3AB8F34BC5BFFEAD604D2F561B891DED54D742C26A72F93EFAD027088933'
$file = Join-Path $env:TEMP 'MediathekView-14.5.0-win.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 '-q' -Wait