أوامر لتثبيت برنامج ArmA3Sync دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id SonsofExiled.Arma3Sync -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id SonsofExiled.Arma3Sync -e --silentwinget uninstall --id SonsofExiled.Arma3Sync -e --silentحسب المثبّت
32 بت · EXE (Inno Setup)
التثبيت الصامت
arma3sync-installer-1-7-107.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
arma3sync-installer-1-7-107.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\arma3sync"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-arma3sync.ps1
$url = 'http://sonsofexiled.fr/arma3sync/releases/arma3sync-installer-1-7-107.exe'
$sha256 = '01F9B758ED274FFB99A9450AD44B82F73EBF3D07416B129FEAF7A08B96B4E0C4'
$file = Join-Path $env:TEMP 'arma3sync-installer-1-7-107.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