Ordres per instal·lar Microsoft Bluetooth Test Platform sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
winget install --id Microsoft.BTP -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.BTP -e --silentwinget uninstall --id Microsoft.BTP -e --silentPer instal·lador
32 bits · MSI · en-US
msiexec /i BluetoothTestPlatformPack-1.14.0.msi /qn /norestartmsiexec /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- Codi de producte MSI
- {A9C4A759-0745-4F5F-8AB7-D2767978B824}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A9C4A759-0745-4F5F-8AB7-D2767978B824}
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
$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