دستورهایی برای نصب Microsoft Integration Runtime بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا PowerShell در ویندوز
با winget
PowerShell
winget install --id Microsoft.IntegrationRuntime -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.IntegrationRuntime -e --silentwinget uninstall --id Microsoft.IntegrationRuntime -e --silentبر اساس نصبکننده
۶۴ بیتی · MSI · همه کاربران
نصب بیصدا
msiexec /i IntegrationRuntime_5.71.9776.1.msi /qn /norestartنوشتن فایل لاگ
msiexec /i IntegrationRuntime_5.71.9776.1.msi /qn /norestart /l*v "%TEMP%\microsoft-integration-runtime-install.log"حذف نصب
msiexec /x {286C554E-6161-4103-9DFF-55BF7B143517} /qn /norestart- کد محصول MSI
- {286C554E-6161-4103-9DFF-55BF7B143517}
- کلید حذف در رجیستری
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{286C554E-6161-4103-9DFF-55BF7B143517}
- UpgradeCode
- {49681305-13D3-47DE-95B3-90767D1F2148}
- پوشه نصب
- %ProgramFiles%/Microsoft Integration Runtime
PowerShell: دانلود، بررسی، نصب
فایل رسمی را دانلود میکند، هش SHA256 آن را بررسی میکند و آن را بیصدا نصب میکند.
install-microsoft-integration-runtime.ps1
$url = 'https://download.microsoft.com/download/e/4/7/e4771905-1079-445b-8bf9-8a1a075d8a10/IntegrationRuntime_5.71.9776.1.msi'
$sha256 = '6D18CB52802F11C340466B90185EBA0A6CECDD44D635B65E6799645C7CF814E0'
$file = Join-Path $env:TEMP 'IntegrationRuntime_5.71.9776.1.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