Rolling Out Mozilla in an Organization?
jdclucidly asks: "I am a network administrator for a small non-profit (about 50 employees). I would like to roll Mozilla 1.2.1 out to all of our desktops. We don't have a single ghost image because the computers on site are too varied. Yes, I did my Googling. The source for the installer is just huge and mind boggling. Is there something like a Mozilla Administration Kit that will generate custom Mozilla installers? If not, would people on Slashdot be interested in starting a new project to make such a kit?" If you were going to deploy a "branded" version of Mozilla, company-wide, how would you do it, especially if you had to worry about a mixed OS environment?
I installed Mozilla on my machine using the stub installer and had it save all of the .XPI components to a folder. I went in and extracted the .XPI's and examined them. It seems possible to do these things but not without learning XUL, JavaScript, XML and Mozilla.org's own stuffings -- not to mention setting up a Visual C++/Cygwin compiling farm for every next Mozilla release. Can I:
"Here's what I want to do:
- Install everything but Quality Feedback Agent
- Set Mozilla as the default browser
- Disable 'Open Unrequested Windows' (kill pop-ups)
- Install Elveraldo's Crystal-Classic theme as default
- Set Google as the default search engine
- Set 'Georgia' as the default Serif font for Western and Unicode
- Enable HTTP Pipelining
- Enable FIPS internal cryptography
- Set toolbar to 'Pictures only'
- Set Home Page to my organization's intranet site
- Set start page to 'Blank page'
- Disable 'Hide the tab bar'
- Enable Middle-click for new tab
- Enable control+enter for new tab
- Default downloads to 'open a progress dialog'
- Disable Javascript and Plugins for Mail & News
- Enable quicklaunch
- Create an additional shortcut on the desktop and in quicklaunch that uses chrome/icons/mailnew.ico as it's source and points to 'mozilla.exe -mail'
I installed Mozilla on my machine using the stub installer and had it save all of the .XPI components to a folder. I went in and extracted the .XPI's and examined them. It seems possible to do these things but not without learning XUL, JavaScript, XML and Mozilla.org's own stuffings -- not to mention setting up a Visual C++/Cygwin compiling farm for every next Mozilla release. Can I:
- Directly modify the defaults/prefs/all.js file to incorporate my preference defaults above and then recompress the .XPI?
- Add to the installer Crystal-Classic.jar somehow? Where are those changes made?
- Make the installer NOT allow the user to change any of this?
- Make the installer create the above mentioned shortcut?"
everyone is always praising phoenix, however, on my machine it uses more RAM (about 26MB compared to 20 for mozilla) it isn't noticably faster, and there isn't an option to ctrl+enter in the location bar to open a new tab, ctrl+enter in phoenix does the same as in IE (adds http://www. to the front and .com to the end of whatever is in the location bar) which is a nice shortcut, but I'm too addicted to ctrl+enter creating a new tab, so phoenix's usability suffers for me, and I don't get alot of speed increases anyway...
First of all, Mozilla doesn't understand UNC paths. If your GPO redirects %appdata%, you're screwed. Quit now. The mozilla registry.dat file goes in %appdata%\mozilla and if %appdata% is in a UNC of DFS share, it won't find it.
Then ... if you allow users to create profiles in the default location, below %appdata%\mozilla, expect profiles to go missing. Windows has a nasty habit of duplicating roaming profiles, like profiles\user, profiles\user.domain, profiles\user.domain.000, etc... Since your profile location is a hardcoded path in registry.dat, Mozilla will find it, but will try to load the profile in the stale profile location. If that doesn't exist now, it'll throw up a profile manager asking you to recreate one.
The solution to above is to create the profile manually via a command like:
That will move the bulk of the profile (except registry.dat) to a fixed location out of the roaming profile.
For a lot more detail and my rant, read bug #162025, comment #28.
We have done a lot to get it working finally, including some logon vbscripts to create the profiles, repair prefs.js file, have some mandatory prefs.js entries that are replaced during logon if user changes them (like home page for us), etc...
We've been through hell but think we finally have it licked by working around mozilla bugs. We intend to post a page on our experiences, but not in the next 12 hours (the effective life of a slashdot story)
When it's ready, I'll e-mail you or feel free to contact me if you want the scripts as they stand now (we are still debugging some things).
First install mozilla on one machine. Then obtain the source, find where the signal handler(i think that is what it is called) for the meny ithem edit->preferences is set and comment that out, compile. Now you should have a version of mozilla that the user cannot configure.
Use the first installation(full version) to generate all the files that contain the settings you want for each machine. And copy them to each machine after installing the crippled mozilla on them.
You should be able to achiave your goals like this, if each machine requires uniqe settings(email and such) then you have some work to do, but it should'nt be impossible.
FRA: STFU GTFO