คำสั่งสำหรับติดตั้ง Microsoft Bluetooth Test Platform โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Microsoft.BTP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.BTP -e --silentwinget uninstall --id Microsoft.BTP -e --silentแยกตามตัวติดตั้ง
32 บิต · MSI · en-US
ติดตั้งแบบเงียบ
msiexec /i BluetoothTestPlatformPack-1.14.0.msi /qn /norestartบันทึกไฟล์ log
msiexec /i BluetoothTestPlatformPack-1.14.0.msi /qn /norestart /l*v "%TEMP%\microsoft-bluetooth-test-platform-install.log"ถอนการติดตั้ง
msiexec /x {A9C4A759-0745-4F5F-8AB7-D2767978B824} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {A9C4A759-0745-4F5F-8AB7-D2767978B824}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A9C4A759-0745-4F5F-8AB7-D2767978B824}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-microsoft-bluetooth-test-platform.ps1
$url = 'https://download.microsoft.com/download/e/e/e/eeed3cd5-bdbd-47db-9b8e-ca9d2df2cd29/BluetoothTestPlatformPack-1.14.0.msi'
$sha256 = '0DF5A3E3AEDE62770333FAB8FD2E044FC3BD6C891226F2087698291E7BAD69CA'
$file = Join-Path $env:TEMP 'BluetoothTestPlatformPack-1.14.0.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait