أوامر لتثبيت برنامج RML Utilities for SQL Server دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Microsoft.SQLServer.RMLUtilities -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.SQLServer.RMLUtilities -e --silentwinget uninstall --id Microsoft.SQLServer.RMLUtilities -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i RMLSetup.msi /qn /norestartكتابة ملف سجل
msiexec /i RMLSetup.msi /qn /norestart /l*v "%TEMP%\rml-utilities-for-sql-server-install.log"إلغاء التثبيت
msiexec /x {9285BC89-EB6B-4926-81EF-2BEF96160B16} /qn /norestart- رمز منتج MSI
- {9285BC89-EB6B-4926-81EF-2BEF96160B16}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9285BC89-EB6B-4926-81EF-2BEF96160B16}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-rml-utilities-for-sql-server.ps1
$url = 'https://download.microsoft.com/download/6/5/8/65855c73-97a1-438c-b95e-d610a9bb05b0/RMLSetup.msi'
$sha256 = '8EC022C1AB547C0C59F1644A67F680E51F8AC1128C8C42E30828B7361289839D'
$file = Join-Path $env:TEMP 'RMLSetup.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