أوامر لتثبيت برنامج XMedia Recode دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id XMediaRecode.XMediaRecode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id XMediaRecode.XMediaRecode -e --silentwinget uninstall --id XMediaRecode.XMediaRecode -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · جميع المستخدمين
التثبيت الصامت
XMediaRecode3641_x64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
XMediaRecode3641_x64_setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\xmedia-recode"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D31E6E69-4C6A-42CC-926F-CC7B186864EB}_is1
- مجلد التثبيت
- %ProgramFiles%\XMedia Recode 64bit
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-xmedia-recode.ps1
$url = 'https://www.xmedia-recode.de/download/XMediaRecode3641_x64_setup.exe'
$sha256 = 'B23E1031522597A92E1E4CCE1FBCE9106E9B0438C738E4C1C3EF9387BD064263'
$file = Join-Path $env:TEMP 'XMediaRecode3641_x64_setup.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait