Kommandon för att installera Microsoft Bluetooth Test Platform utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med 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 --silentPer installationsfil
32-bitars · MSI · en-US
Tyst installation
msiexec /i BluetoothTestPlatformPack-1.14.0.msi /qn /norestartSkriv en logg
msiexec /i BluetoothTestPlatformPack-1.14.0.msi /qn /norestart /l*v "%TEMP%\microsoft-bluetooth-test-platform-install.log"Avinstallation
msiexec /x {A9C4A759-0745-4F5F-8AB7-D2767978B824} /qn /norestart- MSI-produktkod
- {A9C4A759-0745-4F5F-8AB7-D2767978B824}
- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A9C4A759-0745-4F5F-8AB7-D2767978B824}
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
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