คำสั่งสำหรับติดตั้ง BTChargeTrayWatcher โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id peterandree.BTChargeTrayWatcher -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id peterandree.BTChargeTrayWatcher -e --silentwinget uninstall --id peterandree.BTChargeTrayWatcher -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE · en-US
ติดตั้งแบบเงียบ
BTChargeTrayWatcher_3.2.0_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-btchargetraywatcher.ps1
$url = 'https://github.com/peterandree/BTChargeTrayWatcher/releases/download/v3.2.0/BTChargeTrayWatcher_3.2.0_Setup.exe'
$sha256 = '4D30A2604EDC72458C8F10F2E99A99BDAEB9C1E174ECE91D8D22A117DE24ECA1'
$file = Join-Path $env:TEMP 'BTChargeTrayWatcher_3.2.0_Setup.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' -Wait