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