أوامر لتثبيت برنامج Microsoft Bluetooth Test Platform دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو 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كتابة ملف سجل
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