أوامر لتثبيت برنامج Microsoft MSXML (XML Core Services) 4.0 Parser دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Microsoft.MSXML.4 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.MSXML.4 -e --silentwinget uninstall --id Microsoft.MSXML.4 -e --silentحسب المثبّت
32 بت · EXE
التثبيت الصامت
msxml4-KB2758694-enu.exe /quiet /qn /norestartإلغاء التثبيت
msiexec /x {1D95BA90-F4F8-47EC-A882-441C99D30C1E} /qn /norestart- رمز منتج MSI
- {1D95BA90-F4F8-47EC-A882-441C99D30C1E}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{1D95BA90-F4F8-47EC-A882-441C99D30C1E}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-microsoft-msxml-xml-core-services-4-0-parser.ps1
$url = 'https://download.microsoft.com/download/a/7/6/a7611ffc-4f68-4fb1-a931-95882ec013fc/msxml4-KB2758694-enu.exe'
$sha256 = '52D80E6E7BA94437199A2E6B51F00C7F483269C02BEDEC2253C4602F5209B31B'
$file = Join-Path $env:TEMP 'msxml4-KB2758694-enu.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /qn /norestart' -Wait