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