In this tutorial will explain how to silent install Mozilla Firefox. We will use msi and exe file to perform silent installation. The tutorial will explain also silent uninstall of Firefox. For the personal computer we will use .exe package. For deploying installation we will use customized version of Firefox msi.
02/06/2017 – Perform test with Mozilla Firefox Version 53.0.3
02/06/2017– Including script for silent uninstallation of Firefox.
05/02/2018– Perform test with Mozilla Firefox Version 58.0.1 (both exe and msi)
05/02/2018– Update the script for offline silent installation and add quick explanation of the proces.
Furthermore silent install guides for other application here: Complete List
How to perform unattended installation of Firefox in fast mode (quick explanation):
- Download Firefox exe offline version here
- Create install.cmd file and paste the next command
- “Firefox Setup x.x.xx.exe” -ms -ma
- Save both in the same folder.
- Run install.cmd
Note!For the detailed explanation please read the full post below.
Silent Install Mozilla Firefox.
- Mozilla Silent install exe file.
- Download Exe file
- Create batch file.
- Mozilla msi Silent install.
- Download msi file.
- Create cmd file for Firefox silent install.
- Silent Uninstall Mozilla Firefox
- Deploy Mozilla Firefox
Mozilla silent install exe file.
Download exe file.
If you are a home user, download from the official Mozilla Firefox site. Select the language you want.
Create batch file.
The exe downloaded save to a folder in your computer. Create text file install.bat and insert the following text :
For Windows 7:
@ECHO Off @Echo Silent Install Mozilla Firefox "Firefox Setup x.x.xx.exe" -ms -ma
For Windows xp:
So then save and run as administrator. As a result the installation of Mozilla will perform silently.
Note: Rename the “Firefox Setup x.x.xx.exe” on the script with name of exe downloaded.
Silent Install Mozilla msi.
Download Mozilla msi file.
To download Mozilla msi file of Firefox please visit the following website Frontmotion. So then select the version that you want.
Create cmd file.
The file downloaded save to a folder in your computer. Create text file install.cmd and insert the following text :
@Echo Off @Rem Firefox silent install version 53.0.3 Set Logfilepathcmd=C:\install\logs\Mozilla_firefox_install.log cls if not exist C:\install\logs\ md C:\install\logs\ =========================== REM silent install firefox msi >>%Logfilepathcmd% =========================== @echo Start Installation of Mozilla >>%Logfilepathcmd% @echo. >>%Logfilepathcmd% start /wait msiexec /i "%~dp0Firefox-53.0.3-en-US.msi" /qn /l %C:\install\logs\Mozilla.log% set errorcode=%errorlevel% @echo Return code of installation = %errorcode% >>%Logfilepathcmd% @echo. >>%Logfilepathcmd% :END @echo End of Sript >>%Logfilepathcmd% @echo Error code script = %errorcode% >>%Logfilepathcmd% exit %errorcode%
Note: Rename the “Firefox-53.0.3-en-US.msi” on the script with name of msi downloaded.
Save and run as administrator. The installation of Mozilla Firefox will perform silently.
After all the scipt will generate log files on path C:\install\logs\. There you can investigate the errors during silent installation.
- An MSI installer for Active Directory, Tivoli, and ZENworks.
- Official Mozilla Firefox binary.
- Official branding (icons, images, names).
- Upgrade previous MSI installers using native upgrade mechanism.
- Upgrade non-MSI installs via ‘detect and remove’.
- Can upgrade 3rd party MSI’s from patpaul/MIT, Webheat.co.uk, and ZettaServe.
- Provides desktop icon and shell integration similar to IE.
- Self-repair capability.
- Macromedia Flash plug-in preinstalled.
- Installer file is signed via Authenticode (USERTrust is a CA trusted by most Windows systems)
Silent Uninstall Mozilla Firefox.
The following commands uninstall silently Mozilla Firefox.
Only copy the commands to a text file and save like “uninstall.cmd”. Nest Run As administrator and Mozilla Firefox will be uninstalled silently.
@echo off cls echo. ================================================================== echo Silent uninstall Firefox =================================================================== taskill.exe /f /im firefox.exe "C:\Program Files (x86)\Mozilla Firefox\uninstall\helper.exe" -ms Echo Done
Deploy Mozilla Firefox
The packages created above for silent install Mozilla Firefox can be used to perform deployment. For example on SCCM, Group policy or any other deployment platform. However you can find more information about deployment in this example: Deploying Package SCCM
If you have any question about silent install Firefox, feel free to ask.