Příkazy pro instalaci programu PressReader (Classic) bez dotazů, jeho odinstalaci a detekci v nástrojích pro nasazení. Příkaz je uveden jen tehdy, když je přesně známý: z manifestu nebo ze zdokumentovaných parametrů technologie instalátoru.
Související návod: Parametry tiché instalace: MSI, NSIS, Inno Setup · Odinstalace programu přes registr nebo PowerShell
Přes winget
PowerShell
winget install --id PressReader.PressReader.Classic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PressReader.PressReader.Classic -e --silentwinget uninstall --id PressReader.PressReader.Classic -e --silentPodle instalátoru
32bit · EXE
Tichá instalace
PressReaderSetup.exe /S /v/qnPowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-pressreader-classic.ps1
$url = 'https://cache-scripts.pressdisplay.com/files/PressReaderSetup.exe?v=5249099415282716171'
$sha256 = '4AC6B7564C271540E8E56DF00AFFD9C415FB4AC04DC8C4597F917F4747C53233'
$file = Join-Path $env:TEMP 'PressReaderSetup.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 /v/qn' -Wait