Kommandon för att installera Mozilla Firefox (ca) utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Mozilla.Firefox.ca -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Firefox.ca -e --silentwinget uninstall --id Mozilla.Firefox.ca -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueEgen mapp
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ca- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
ARM64 · EXE (NSIS) · Alla användare
Tyst installation
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueEgen mapp
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ca- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
32-bitars · EXE (NSIS) · Alla användare
Tyst installation
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=trueEgen mapp
"Firefox Setup 160.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ca- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-mozilla-firefox-ca.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win64/ca/Firefox%20Setup%20160.0.1.exe'
$sha256 = 'A8CC74FD25BA9505D38AF0AE05980A22656B3E5C71B4E0776BF5F63C4857921D'
$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-ca.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win64-aarch64/ca/Firefox%20Setup%20160.0.1.exe'
$sha256 = 'AE8CC1E76E025C040AB92C7DA8E74BE45AC7F76352560A2377399B1AB768D7E1'
$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-ca.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/160.0.1/win32/ca/Firefox%20Setup%20160.0.1.exe'
$sha256 = '75B976623E2E9C41A2C37F421523A5F0E72C02A70E8A0011F1216CBC36A985AF'
$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