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