أوامر لتثبيت برنامج BinaryFetch دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id BinaryFetch-CLI.BinaryFetch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BinaryFetch-CLI.BinaryFetch -e --silentwinget uninstall --id BinaryFetch-CLI.BinaryFetch -e --silentحسب المثبّت
64 بت · EXE (Inno Setup)
التثبيت الصامت
BinaryFetch-v1.5-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
BinaryFetch-v1.5-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\binaryfetch"PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-binaryfetch.ps1
$url = 'https://github.com/BinaryFetch-CLI/BinaryFetch/releases/download/v1.5/BinaryFetch-v1.5-Setup.exe'
$sha256 = 'EF4E93F925BD5C972FC0E307FFAA7099E3E8D01C6976C9CECAE16D7125764B12'
$file = Join-Path $env:TEMP 'BinaryFetch-v1.5-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