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