Příkazy pro instalaci programu Monitor Input Switcher 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 jakedorony.MonitorInputSwitcher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jakedorony.MonitorInputSwitcher -e --silentwinget uninstall --id jakedorony.MonitorInputSwitcher -e --silentPodle instalátoru
64bit · EXE (Inno Setup) · Aktuální uživatel
Tichá instalace
MonitorSwitch-Setup-2.8.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Vlastní složka
MonitorSwitch-Setup-2.8.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\monitor-input-switcher"PowerShell: stáhnout, ověřit, nainstalovat
Stáhne oficiální soubor, ověří SHA256 a program nainstaluje v tichém režimu.
install-monitor-input-switcher.ps1
$url = 'https://github.com/jakedorony/Monitor-Input-Switcher/releases/download/v2.8.0/MonitorSwitch-Setup-2.8.0.exe'
$sha256 = '985463AF30E07C38A8BDA59A37E53052089176E2911AFAA1C167680CC5C842E4'
$file = Join-Path $env:TEMP 'MonitorSwitch-Setup-2.8.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait