Software Deployment Tips
Internet Explorer, and now EDGE, you either love it or hate it”. But one of my favorite browsers is Mozilla Firefox. Firefox’s downside is, that it is nasty to manage in a bigger environment than your own workstation. Lucky me, because for Firefox deployment, I am using Easy Software Deployment. Let’s go and see in this fourth Software Deployment Tips blog, how we can easily deploy this Fox.
Grab your copy of Firefox over here. Then, find the latest version or the version that you would like to deploy. PS: the b in XXb stands for beta’s, so stay away from those in the production environment. We as Dutchies are gonna grab this one: https://ftp.mozilla.org/pub/firefox/releases/42.0/win32/nl/
Place the Setup file on our application share: \\app.local\root\applications\Mozilla\FireFox\42.0 (app.localroot is our DFS share). Please right click the setup and view the properties. If you have a button that says: unblock, HIT IT!
Start the Easy Software Deployment Console.
Select Add one or more installation items. Click Next.
Select Setup Executable. Click Next.
Select Computer Based, Click Next.
Select the installer we downloaded before and click Open.
You can change the name of the application to your liking, right now we keep it like this. Click Finish.
Hey! That’s a good idea ESD! Click OK.
Click Edit install Commands
Select FireFox Setup 42.0.exe and hit Edit.
Add the parameter –ms and hit OK.
Okay, so by default updates of Firefox is present, but we don’t want that in our production. We want to control the updates ourselves, so we need to push out three more files after setup is complete: mozilla.cfg ,local-settings.js and override.ini
// disable default browser check
// disable application updates
// Set default homepage – users can change
To place these three files on the target agent, we create a little commandline: Set Files
copy “%~dp0local-settings.js” “%programfiles(x86)%\Mozilla Firefox\defaults\pref” /Y
copy “%~dp0Mozilla.cfg” “%programfiles(x86)%\Mozilla Firefox” /Y
copy “%~dp0Override.ini” “%programfiles(x86)%\Mozilla Firefox” /
Place these files next to our setup.exe
Go back to Easy Software Deployment and add an extra install command, click Add.
Select the Set Files.cmd. Click open.
Now we will to test the deployment. We do not want to test this on all the computers, so first we will select one computer the deployment will take place on.
Go to the Deployment Options Tab and select Start at OS Startup.
Hit the Availability Options Menu, press the button next to Computers:
Let’s select the Windows10Client. Click Add.
Hit the save and deploy button.
Now let’s login to our windows 10 Client that we deployed the software to. In the status of the agent we see that it is checking the setup files.
The application is installed.
But wait! Maybe you have divisions and you want different settings for the browser in different departments.
Since FireFox is file settings driven and not GPO, we can send these settings for our users specified on department level.
Step 1: create an AD security group, for example: GSEC_APPS_Firefox_Division_A
Step 2: create a settings file for the profiles called Profiles.ini
Step 3: create a config file called prefs.js
# Mozilla User Preferences
/* Do not edit this file.
* If you make changes to this file while the application is running,
* the changes will be overwritten when the application exits.
* To make a manual change to preferences, you can visit the URL about:config
(you can add additional settings to your liking, click here for a complete list of settings.and add the settings that you would like for a complete list of settings http://kb.mozillazine.org/About:config_entries )
Step 4: create the following folder architecture on the share:
Step 5: Create a little cmd file in the root of Department-A: Set.cmd
Copy “%~dp0Master.default” “%appdata%Mozilla\Firefox\Profiles\Master.default” /Y
Copy “%~dp0Profiles.ini” “%appdata%Mozilla\Firefox\Profiles” /Y
Open the Easy Software Deployment Console. Right click Installation Items and select New Installation Category.
Select New Installation Category
Select New Installation Item
Just Select MSI, we have the option to select all kinds of applications after this dialogue.
Select User Based, click Next
Select the Set.cmd that we created at step 4 and click Open.
Give the script a name so we can recognize it. Click Finish.
Select the Deployment Options Menu
Because the data needs to be placed under the user context, select RUN with Elevated Privileges.
Go tot the Availability Menu, hit the browse button next to Groups.
Select the Security group that we created in step 1. Click Add.
Hit the save and deploy button.
Now logon to a computer with a user account that is a member of the security group we specified earlier. The settings will be in place for the user.
We hope that you can put our information to use in your own environment for Firefox deployment, there is also a video of Easy Software Deployment in action.
Software Deployment Tips is a recurring blog series about current news in the software/app world.
Each time we will handle a situation, which is important and relevant at that time, and we will show you how to quickly take care of it using Easy Software Deployment.
Written by Frank van Hoolwerff, our Senior Technical Consultant.