Microsoft Server Speech Platform Runtimeを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Microsoft.ServerSpeechPlatformRuntime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.ServerSpeechPlatformRuntime -e --silentwinget uninstall --id Microsoft.ServerSpeechPlatformRuntime -e --silentインストーラー別
64ビット · MSI · en-US
サイレントインストール
msiexec /i SpeechPlatformRuntime.msi /qn /norestartログを出力
msiexec /i SpeechPlatformRuntime.msi /qn /norestart /l*v "%TEMP%\microsoft-server-speech-platform-runtime-install.log"アンインストール
msiexec /x {3B433087-E62E-4BF5-97F9-4AF6E1C2409C} /qn /norestart- MSIプロダクトコード
- {3B433087-E62E-4BF5-97F9-4AF6E1C2409C}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{3B433087-E62E-4BF5-97F9-4AF6E1C2409C}
32ビット · MSI · en-US
サイレントインストール
msiexec /i SpeechPlatformRuntime.msi /qn /norestartログを出力
msiexec /i SpeechPlatformRuntime.msi /qn /norestart /l*v "%TEMP%\microsoft-server-speech-platform-runtime-install.log"アンインストール
msiexec /x {3B433087-E62E-4BF5-97F9-4AF6E1C2409C} /qn /norestart- MSIプロダクトコード
- {3B433087-E62E-4BF5-97F9-4AF6E1C2409C}
- アンインストール用レジストリキー
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{3B433087-E62E-4BF5-97F9-4AF6E1C2409C}
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-microsoft-server-speech-platform-runtime.ps1
$url = 'https://download.microsoft.com/download/a/6/4/a64012d6-d56f-4e58-85e3-531e56abc0e6/x64_SpeechPlatformRuntime/SpeechPlatformRuntime.msi'
$sha256 = '9C0A1D096E80F2AE77D5FC00B5D1A43B665C28EC6196911DE3DCE6D74C115137'
$file = Join-Path $env:TEMP 'SpeechPlatformRuntime.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 install-microsoft-server-speech-platform-runtime.ps1
$url = 'https://download.microsoft.com/download/a/6/4/a64012d6-d56f-4e58-85e3-531e56abc0e6/x86_SpeechPlatformRuntime/SpeechPlatformRuntime.msi'
$sha256 = '9B42EEC0DB1DC3CB92FCDD795EA0771EDAC1CF58118D12A810810268ADB954B4'
$file = Join-Path $env:TEMP 'SpeechPlatformRuntime.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