أوامر لتثبيت برنامج Gauntlet دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Exidex.Gauntlet -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Exidex.Gauntlet -e --silentwinget uninstall --id Exidex.Gauntlet -e --silentحسب المثبّت
64 بت · MSI · en-US
التثبيت الصامت
msiexec /i gauntlet-x86_64-windows.msi /qn /norestartكتابة ملف سجل
msiexec /i gauntlet-x86_64-windows.msi /qn /norestart /l*v "%TEMP%\gauntlet-install.log"إلغاء التثبيت
msiexec /x {E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90} /qn /norestart- رمز منتج MSI
- {E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90}
- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E40AFA97-BAA3-49BB-B7F4-791CFF8A1C90}
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-gauntlet.ps1
$url = 'https://github.com/project-gauntlet/gauntlet/releases/download/v21/gauntlet-x86_64-windows.msi'
$sha256 = '5BC3EBD850D61DFBBE0C4CCF8CFF9B03CF23D2F9A00BDCF0F65B454400B8CCED'
$file = Join-Path $env:TEMP 'gauntlet-x86_64-windows.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