أوامر لتثبيت برنامج Sling دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id HendrikVrey.Sling -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id HendrikVrey.Sling -e --silentwinget uninstall --id HendrikVrey.Sling -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sling"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C4E1B2A-9F63-4D18-A5E7-2B90C6F4A831}_is1
ARM64 · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
Sling-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\sling"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7C4E1B2A-9F63-4D18-A5E7-2B90C6F4A831}_is1
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-sling.ps1
$url = 'https://github.com/HendrikVrey/Sling/releases/download/v1.1.0/Sling-Setup.exe'
$sha256 = '29B8F052A29174C1D8D96EBAC6418DF9B002A57B1653BB0D4215BAEB9467528C'
$file = Join-Path $env:TEMP 'Sling-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 install-sling.ps1
$url = 'https://github.com/HendrikVrey/Sling/releases/download/v1.1.0/Sling-Setup.exe'
$sha256 = '29B8F052A29174C1D8D96EBAC6418DF9B002A57B1653BB0D4215BAEB9467528C'
$file = Join-Path $env:TEMP 'Sling-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