คำสั่งสำหรับติดตั้ง LoreLens โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id zenogrid.LoreLens -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id zenogrid.LoreLens -e --silentwinget uninstall --id zenogrid.LoreLens -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i LoreLens-0.1.25.msi /qn /norestartบันทึกไฟล์ log
msiexec /i LoreLens-0.1.25.msi /qn /norestart /l*v "%TEMP%\lorelens-install.log"PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-lorelens.ps1
$url = 'https://github.com/zenogrid-law80/lorelens/releases/download/v0.1.25/LoreLens-0.1.25.msi'
$sha256 = '998097B5CB1464B6AEC60020A1B2756321635584850DF93F0B9CA4CD0EDB5CB3'
$file = Join-Path $env:TEMP 'LoreLens-0.1.25.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait