Mozilla Firefox programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id Mozilla.Firefox -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Firefox -e --silentwinget uninstall --id Mozilla.Firefox -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS) · Tüm kullanıcılar
Sessiz kurulum
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueFarklı klasör
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
ARM64 · EXE (NSIS) · Tüm kullanıcılar
Sessiz kurulum
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueFarklı klasör
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
32 bit · EXE (NSIS) · Tüm kullanıcılar
Sessiz kurulum
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueFarklı klasör
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox- Kaldırma kayıt defteri anahtarı
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
PowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-mozilla-firefox.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win64/en-US/Firefox%20Setup%20160.0.1.exe'
$sha256 = '768E29619F3463C157F20C5AB1E4D480ACFB0D84F1A39EE60EF3151FED91CEB2'
$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.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win64-aarch64/en-US/Firefox%20Setup%20160.0.1.exe'
$sha256 = 'EA224E8DD160D007D7B1075A5E129127F551728915DD1800F29EDC27EC9C9145'
$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.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win32/en-US/Firefox%20Setup%20160.0.1.exe'
$sha256 = '812E92FD57E53F67A38DE114678AF4A185AA17B095E3D9BB80DDCDE1F5F5E4B4'
$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