دستورهایی برای نصب Microsoft Server Speech Platform Runtime بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا 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بر اساس نصبکننده
۶۴ بیتی · 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}
۳۲ بیتی · 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