คำสั่งสำหรับติดตั้ง Mozilla Firefox (oc) โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Mozilla.Firefox.oc -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Firefox.oc -e --silentwinget uninstall --id Mozilla.Firefox.oc -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-oc- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
ARM64 · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-oc- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
32 บิต · EXE (NSIS) · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=trueกำหนดโฟลเดอร์เอง
"Firefox Setup 160.0.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-oc- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-mozilla-firefox-oc.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0/win64/oc/Firefox%20Setup%20160.0.exe'
$sha256 = '14550224ED3DA60743779CB25637FB98040729E104F6A0AFB7BF4BF73602B762'
$file = Join-Path $env:TEMP 'Firefox Setup 160.0.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 '/S /PreventRebootRequired=true' -Wait install-mozilla-firefox-oc.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0/win64-aarch64/oc/Firefox%20Setup%20160.0.exe'
$sha256 = '695C256777D5ABFDFE7D3C43349445C8F4BAB185E638E5E2B2CE6AFD3A1403C1'
$file = Join-Path $env:TEMP 'Firefox Setup 160.0.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 '/S /PreventRebootRequired=true' -Wait install-mozilla-firefox-oc.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0/win32/oc/Firefox%20Setup%20160.0.exe'
$sha256 = 'BE27E3FCD0A4419D15D2E2E275935D016F21319BAAA719DF6D6D6F6ECEE9D609'
$file = Join-Path $env:TEMP 'Firefox Setup 160.0.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 '/S /PreventRebootRequired=true' -Wait