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