أوامر لتثبيت برنامج SmartCapture دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id DeskSoft.SmartCapture -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DeskSoft.SmartCapture -e --silentwinget uninstall --id DeskSoft.SmartCapture -e --silentحسب المثبّت
32 بت · EXE
التثبيت الصامت
SCSetup.exe -SILENTPowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-smartcapture.ps1
$url = 'https://www.desksoft.com/Download/SCSetup.exe'
$sha256 = '15A02766A601C122D0097968CD7B1A43E8757B4DE26FF96C2B16F60ABEBF654B'
$file = Join-Path $env:TEMP 'SCSetup.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 '-SILENT' -Wait