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