คำสั่งสำหรับติดตั้ง Elastic โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ 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