Professional Documents
Culture Documents
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.
Updates:
@ECHO.
@Echo Silent Install Mozilla Firefox
@start /wait "Firefox Setup x.x.xx.exe" -ms
For Windows xp
Note: Rename the Firefox Setup x.x.xx.exe on the script with name of exe
downloaded.
@Echo Off
Set Logfilepathcmd=C:\install\logs\Mozilla_firefox_install.log
cls
===========================
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%
Save and run as administrator. The installation of mozilla will perform silently.
After all the script will generate log files on path C:\install\logs\. There you
can investigate the errors during silent installation.
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
Thank You