คำสั่งสำหรับติดตั้ง EyeRest โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id NecdetSanli.EyeRest -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NecdetSanli.EyeRest -e --silentwinget uninstall --id NecdetSanli.EyeRest -e --silentแยกตามตัวติดตั้ง
64 บิต · MSIX
ติดตั้งแบบเงียบ
Add-AppxPackage -Path Necdetanl.EyeRest20-20-20Reminder_1.3.0.0_x64__fdpcex3k5p6ep.msixถอนการติดตั้ง
Get-AppxPackage -Name Necdetanl.EyeRest20-20-20Reminder | Remove-AppxPackage- โฟลเดอร์ที่ติดตั้ง
- %ProgramFiles%\WindowsApps\Necdetanl.EyeRest20-20-20Reminder_1.3.0.0_x64__fdpcex3k5p6ep
64 บิต · MSI · en-US
ติดตั้งแบบเงียบ
msiexec /i EyeRest-1.3.0-setup.msi /qn /norestartบันทึกไฟล์ log
msiexec /i EyeRest-1.3.0-setup.msi /qn /norestart /l*v "%TEMP%\eyerest-install.log"ถอนการติดตั้ง
msiexec /x {71C43E26-43FD-45B3-A987-4BE0E2C09CDE} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {71C43E26-43FD-45B3-A987-4BE0E2C09CDE}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{71C43E26-43FD-45B3-A987-4BE0E2C09CDE}
- UpgradeCode
- {73509848-46CC-4566-8A30-23C1D2A3AF0A}
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-eyerest.ps1
$url = 'https://github.com/necdetsanli/EyeRest/releases/download/v1.3.0/Necdetanl.EyeRest20-20-20Reminder_1.3.0.0_x64__fdpcex3k5p6ep.msix'
$sha256 = 'EA9B7C2D449FF7A78136192C4CCB7A4A47853CEF1F55352B764DE1D364799311'
$file = Join-Path $env:TEMP 'Necdetanl.EyeRest20-20-20Reminder_1.3.0.0_x64__fdpcex3k5p6ep.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-eyerest.ps1
$url = 'https://github.com/necdetsanli/EyeRest/releases/download/v1.3.0/EyeRest-1.3.0-setup.msi'
$sha256 = '1C9BF2706B8459A4F6FDF11B3654F188C16EE322BD9EBEF2D62FA0E52D782EA9'
$file = Join-Path $env:TEMP 'EyeRest-1.3.0-setup.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