คำสั่งสำหรับติดตั้ง OttoRice โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id GuiOttoni.OttoRice -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GuiOttoni.OttoRice -e --silentwinget uninstall --id GuiOttoni.OttoRice -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (Inno Setup) · ผู้ใช้ปัจจุบัน
ติดตั้งแบบเงียบ
OttoRice-Setup-1.0.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-กำหนดโฟลเดอร์เอง
OttoRice-Setup-1.0.7.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\ottorice"- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\9F3D2C71-5B84-4E0A-8D6C-2A7E4F1B93C4_is1
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-ottorice.ps1
$url = 'https://github.com/GuiOttoni/ottorice/releases/download/v1.0.7/OttoRice-Setup-1.0.7.exe'
$sha256 = '0664E6CD9C47D51B6BBD8BAB67578DF9DC378C21DE6206C7CA0EF580F05F4784'
$file = Join-Path $env:TEMP 'OttoRice-Setup-1.0.7.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