أوامر لتثبيت برنامج BackgroundMute دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Myst1024.BackgroundMute -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Myst1024.BackgroundMute -e --silentwinget uninstall --id Myst1024.BackgroundMute -e --silentحسب المثبّت
64 بت · EXE (Inno Setup)
التثبيت الصامت
BackgroundMute-Setup-1.0.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTمجلد مخصص
BackgroundMute-Setup-1.0.0.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /DIR="C:\Apps\backgroundmute"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{A2374D89-7E9D-4D4D-8F18-93D4C2D2C7B4}_is1
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-backgroundmute.ps1
$url = 'https://github.com/Myst1024/BackgroundMute/releases/download/v1.0.0/BackgroundMute-Setup-1.0.0.exe'
$sha256 = '0CBEF55877848F821A75B855A02E7C4351DC74FDCB72C561F9592516BFA2CDF8'
$file = Join-Path $env:TEMP 'BackgroundMute-Setup-1.0.0.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' -Wait