Well there are a couple of guides here already and whilst they are very good and alot of members have put time in to researching the requirements and producing the guides, personally I have found them to long-winded
1. an unattended installation that included my selection of extensions and themes;
2. a method that was small and could be downloaded or emailed to someone else; and
3. a single file that could be used to deploy in a corporate environment.
The results of my research and testing has been (i am pleased to say) very fruitful. Below is my method for creating a single file that can be used as a stand alone custom installer for Firefox including extensions and themes, whilst at the same time can be used for a complete unattended installation.
Mozilla Firefox unattended/stand-alone deployment Guide 1.0
required tools:
- Mozilla Firefox
- Firefox extensions you wish to include
- Firefox themes you wish to include
- WinRAR
- Simple-FFDeploy.rar
Contains Bob Templeton's FFDeploy, Custom WinRAR SFX Module for Firefox and Extra scripts by `felix` (This one file contains everything you need)
1. Install a "clean" version of Firefox and configure to suit your requirements.
2. Install any/all your desired extensions and themes and configure.
3. Now we are going to make use of the great work Bob Templeton has done. Run FFDeploy (either the vbs or the exe) and build the deployment source [some images below to help].
FFDeploy.exe (Start screen)

Select your Firefox installation source folder
Once the build process has finished you will be prompted with
Your choice here what you want to do.Ok Now you will be asked if you want to build a self installer - click on NO.

Now exit from FFDeploy.
4. Now we have all the source files required including extensions and themes you are going to install. Navigate to your desktop and the Firefox_Deployment folder.
5. Extract the contents of the Simple-FFDeploy.rar file to the Firefox_Deployment folder. Contained in this file is Comment.txt, exclude.lst, firefox.SFX and !makeSFX.cmd. Next edit the contents of the comment.txt file to suit requirements.
Note If you are only going to use the deployment file for unattended installations you can change Silent=0 to Silent=1
6. Now you are ready to create the final deployment file - simply run the !makeSFX.cmd file and this will create mozilla Firefox deployment.exe in the Firefox_Deployment folder for you. It may take a few minutes depending on the size of your source code.
Final product (when launched) will look something like this

-------
Unattended AIO CD deployment methods
1. Add "mozilla Firefox deployment.exe" (or what ever you renamed it) to your RunOnceEx process.
Example: (notice the /s - this is to tell the installer to run quiet/silent mode. If you have set silent=1 in the comment.txt file - you do not need the /s)
REG ADD %KEY%\001 /VE /D "Mozilla Firefox 1.0 Custom" /f REG ADD %KEY%\001 /V 1 /D ""%systemdrive%installmozilla Firefox deployment.exe /s" " /f
Ok this takes care of the system wide installation...
As you will be able to see in the comment.txt file - after extraction, CreateProfile.vbs is run to create a firefox profile for the current user (normally the administrator). For each user, this vbs file must be run to create the users firefox profile.
2. Now we need to add the CreateProfile.vbs to the Default Users NTUSER.DAT file so that any new user to the system will have their firefox profile setup when they logon the first time. To do this is simple and you can also include this in your RunOnceEx process.
RunOnceEx Method 1
REG LOAD "HKUCUSTOM" "C:Documents and SettingsDefault UserNTUSER.DAT" REG ADD HKUCUSTOMSoftwareMicrosoftWindowsCurrentVersionRunOnce /v Create_Firefox_User_Profile /t REG_SZ /d "cscript.exe "%programfiles%Mozilla FirefoxCreateProfile.vbs"" /f REG UNLOAD "HKUCUSTOM"
You could also just create a reg file and use (RunOnceEx Method 2)
REG LOAD "HKUCUSTOM" "C:Documents and SettingsDefault UserNTUSER.DAT" REGEDIT /S FirefoxCreateUserProfile.reg /f REG UNLOAD "HKUCUSTOM"FirefoxCreateUserProfile.reg
Windows Registry Editor Version 5.00 [HKEY_USERSCUSTOMSOFTWAREMicrosoftWindowsCurrentVersionRunOnce] "Create_Firefox_User_Profile"="cscript.exe "%programfiles%Mozilla FirefoxCreateProfile.vbs""
There you have it - thats it! So now you can easily create a custom unattended install of Firefox with themes and extensions and deploy it with all users having a unique firefox profile.
If you have any questions, comment, feedback or suggestions please let me know.
TODO List
- Automate the whole creation (single step) of the source and "mozilla Firefox deployment.exe"
- Produce PDF of this guide (when completed...)
- Work with Bob Templeton in regards to incorporating this all in FFDEPLOY... maybe/possible???
I hope you find this guide helpful.
This post has been edited by `Felix`: 02 June 2008 - 12:48 AM



Help


Back to top








