คำสั่งสำหรับติดตั้ง Luxafor Smart Button โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Greynut.LuxaforSmartButton -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Greynut.LuxaforSmartButton -e --silentwinget uninstall --id Greynut.LuxaforSmartButton -e --silentแยกตามตัวติดตั้ง
32 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i LuxaforSmartButton-Installer-1.7.0.20.msi /qn /norestartบันทึกไฟล์ log
msiexec /i LuxaforSmartButton-Installer-1.7.0.20.msi /qn /norestart /l*v "%TEMP%\luxafor-smart-button-install.log"ถอนการติดตั้ง
msiexec /x {A91F69F6-5E6F-4ED7-AC43-5F7F73507013} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {A91F69F6-5E6F-4ED7-AC43-5F7F73507013}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{A91F69F6-5E6F-4ED7-AC43-5F7F73507013}
- UpgradeCode
- {D17C775D-1E1D-42F5-A25E-D7A5D7F65284}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-luxafor-smart-button.ps1
$url = 'https://api.luxafor.com/versioning/download/smartbutton_xk6swgg1qnfhf2l622b5jr28/1.7.0.20/LuxaforSmartButton-Installer-1.7.0.20.msi'
$sha256 = '1C83F7F2B41779E526070BF5CF0F94A62AE4351A121D80D4FDBA6056B5F9407A'
$file = Join-Path $env:TEMP 'LuxaforSmartButton-Installer-1.7.0.20.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