คำสั่งสำหรับติดตั้ง Monitor Input Switcher โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ 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 --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
MonitorSwitch-Setup-2.8.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
MonitorSwitch-Setup-2.8.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\monitor-input-switcher"PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
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