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