Ordres per instal·lar Mozilla Firefox (ko) sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Mozilla.Firefox.ko -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Mozilla.Firefox.ko -e --silentwinget uninstall --id Mozilla.Firefox.ko -e --silentPer instal·lador
64 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=trueUna altra carpeta
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ko- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
ARM64 · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=trueUna altra carpeta
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ko- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
32 bits · EXE (NSIS) · Tots els usuaris
Instal·lació silenciosa
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=trueUna altra carpeta
"Firefox Setup 161.0.1.exe" /S /PreventRebootRequired=true /D=C:\Apps\mozilla-firefox-ko- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-mozilla-firefox-ko.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/161.0.1/win64/ko/Firefox%20Setup%20161.0.1.exe'
$sha256 = 'C963CE7F9011189D938D605335820F7CD4DA9D332DD7D237B5454E70F2C4C9F1'
$file = Join-Path $env:TEMP 'Firefox Setup 161.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-ko.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/161.0.1/win64-aarch64/ko/Firefox%20Setup%20161.0.1.exe'
$sha256 = '03E8CEC6B7CEBADD23528AE8129BF5EB62B7E6CC80C247443D57334343FFE484'
$file = Join-Path $env:TEMP 'Firefox Setup 161.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-ko.ps1
$url = 'https://download-installer.cdn.mozilla.net/pub/firefox/releases/161.0.1/win32/ko/Firefox%20Setup%20161.0.1.exe'
$sha256 = 'A80A4A8A92733BE3DAC808BD24741BFBDFD0C5656A8C02A54938384665466EE2'
$file = Join-Path $env:TEMP 'Firefox Setup 161.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