/build/static/layout/Breadcrumb_cap_w.png

Deployment of Mozilla Firefox 12

Firefox --> extract the executable file.

 

You will see the following structure:

 

folder: corefolder: win32file: setup.exe

 

We've created one user.js (not prefs.js), because all settings in this file will be replaced after one restart of firefox. So if the user set his own mainpage and we had set another mainpage in the file user.js, the mainpage will be replaced by our default settings.

 

So I've created one user.js file with neeeded user settings for your customer and I placed this file in the following folder:

 

\core\defaults\profile

 

In this folder you can also create one subfolder with your customized "userChrome.css" and "userContent.css" files.

 

Content of the files (maybe):

 

userChrome.css:

 

/* hide Sync Setup and Sync Buttons */menu[label="Tools"] menuitem[label="Sync Now"], #sync-button,#sync-setup-appmenu, #sync-syncnowitem-appmenu, #sync-setup,#sync-status-button, #BrowserPreferences radio[pane="paneSync"] {display: none !important;}

 

userContent.css:

 

/*lock about:config*/#configTree {display:none !important}

 

The files in the folder \core\defaults\profile will be deployed after the installation and while starting firefox.We've used also lock settings, but for this you will need to edit the file omni.ja. You will find this file in the folder \core folder.

 

One simple way, we've used "TotalCommander" for this. You have to edit the file "firefox.js" in the folder:

 

file: omni.ja folder: defaults\prefs

 

Now you can insert at the end of file the following lines:

 

// Mozilla Firefox Lock Settingspref("general.config.filename","userspecs.cfg"); --> you can use your own name for the file "userspecs.cfg" (e.g. mozilla.cfg) <--

 

Now you have to create the file userspecs.txt with needed settings, maybe:

 

lockPref("xpinstall.enabled", false);

 

Save this file (note: as *.txt file). We've used the tool "ByteShifter" with an off-set of 13 and save this file as "userspecs.cfg"!Now you will need to place the file "userspecs.cfg" in the folder \core, do not forget this step. Otherwise you'll getting one error while starting firefox, because the needed file "userspecs.cfg" can't be found ;).

 

Have fun ...


Comments

  • Here I published a tutorial for it and many others programs. Please comment on the blog if you have questions.

    http://it-grund.blogspot.com/2012/04/how-to-deployinstall-silently-and.html - tererecool 11 years ago
  • For Re-Packaging Firefox, you can follow this link:

    http://msiworld.blogspot.com.au/2012/01/packaging-mozilla-firefox-901.html - piyushnasa 11 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ