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