أوامر لتثبيت برنامج Elastic دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Gold872.Elastic -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Gold872.Elastic -e --silentwinget uninstall --id Gold872.Elastic -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي · en-US
التثبيت الصامت
elastic-setup-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
elastic-setup-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\elastic"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2746922E-A2AC-4987-AF02-714F429C7C77}_is1
- مجلد التثبيت
- %LocalAppData%\Programs\FRC Elastic
- DisplayVersion
- 2027.0.0.0
64 بت · EXE (Inno Setup) · جميع المستخدمين · en-US
التثبيت الصامت
elastic-setup-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
elastic-setup-windows.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\elastic"- مفتاح إلغاء التثبيت في السجل
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2746922E-A2AC-4987-AF02-714F429C7C77}_is1
- مجلد التثبيت
- %ProgramFiles%\FRC Elastic
- DisplayVersion
- 2027.0.0.0
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-elastic.ps1
$url = 'https://github.com/Gold872/elastic_dashboard/releases/download/v2027.0.0-alpha9/elastic-setup-windows.exe'
$sha256 = '8C976167791BFB000EB43F91B7BE9E201BCBE8ABDC1F5A4EC8D160D156BD380F'
$file = Join-Path $env:TEMP 'elastic-setup-windows.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-elastic.ps1
$url = 'https://github.com/Gold872/elastic_dashboard/releases/download/v2027.0.0-alpha9/elastic-setup-windows.exe'
$sha256 = '8C976167791BFB000EB43F91B7BE9E201BCBE8ABDC1F5A4EC8D160D156BD380F'
$file = Join-Path $env:TEMP 'elastic-setup-windows.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