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