`Felix` Posted February 2, 2005 Share Posted February 2, 2005 (edited) Hi all!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 . I wanted a very simple and straight forward way of producing 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; and3. 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.0required tools:- Mozilla Firefox- Firefox extensions you wish to include- Firefox themes you wish to include- WinRAR- Simple-FFDeploy.rarContains 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=16. 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 The text will vary based on the changes you make to the comment.txt file. Note if you change the "silent=0" to silent=1 - you will not see this screen when you launch mozilla Firefox deployment.exe.-------Unattended AIO CD deployment methods1. 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" /fREG ADD %KEY%\001 /V 1 /D ""%systemdrive%installmozilla Firefox deployment.exe /s" " /fOk 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 1REG 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"" /fREG 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 /fREG 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. Edited June 2, 2008 by `Felix` Link to comment Share on other sites More sharing options...
Astalavista Posted February 2, 2005 Share Posted February 2, 2005 Hello ffdeploy has been around for a long time.What is the advantage of this method over that of simonsays'and how would u constrantly upgrade the xpi and themese using this method.I am very interested to learn something new. Link to comment Share on other sites More sharing options...
neophyte Posted February 2, 2005 Share Posted February 2, 2005 I simply do this:A) Navigate to C:\Documents and Settings\<user>\Application Data\Mozilla\FirefoxB) Copy the two files and folder, and place them elsewhere.C) When you next re-install Firefox, simply copy the two files and the folder back into C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox. Voila, all your themes, extensions, and custom settings. Even your bookmark.Typically I start out with a clean install of Firefox first, and make changes I need, then do the backup.This method in itself won't install plugins, so you'd need to run those installations seperately. However, it's as easy as writing a batch script to automate the process of copying the files/folders over.I understand the advantages of a simple install package doing it all for you, but I like my method Link to comment Share on other sites More sharing options...
EliasXP Posted February 2, 2005 Share Posted February 2, 2005 check this please: http://www.msfn.org/board/index.php?act=ST&f=70&t=38184 Link to comment Share on other sites More sharing options...
`Felix` Posted February 2, 2005 Author Share Posted February 2, 2005 Hello ffdeploy has been around for a long time.What is the advantage of this method over that of simonsays'and how would u constrantly upgrade the xpi and themese using this method.I am very interested to learn something new.Hi Astalavista,Personally i think this method is easier, faster and simplier. This is not a replacement for simonsays' guide which is extremely good - but an alternative approach. The upgrade of the themes is automatic if you set it up that way - firefox will tell the user if there is an update and the update can then be done. As for updating the source install - same system applies - then you would just repeat the process to create your custom installation. - this time it would include the updated extensions and plugins. I am working on a fully scripted version of this - i will make it available when finished. The fully scripted version will be a single "double mouse click" to run and will then produce the final SFX file ready to include in your Unattended CD.More information as i am able to put it together. - Thanks for your comments they are appreciated. Link to comment Share on other sites More sharing options...
`Felix` Posted February 2, 2005 Author Share Posted February 2, 2005 I understand the advantages of a simple install package doing it all for you, but I like my method Cool! and i also see the benefits of your method - this is just an alternative Link to comment Share on other sites More sharing options...
Shak Posted February 6, 2005 Share Posted February 6, 2005 Hey Felix, great idea and tutorial you have here. I can't wait to try it out but I am encountering a problem.When i extract ffstuff to the deployment folder and run !makeSFX.cmd, I get an error in the cmd window:Invalid parameter - rows=5And this in the winrar window:! Cannot create files\winrar\firefox.exe The system cannot find the path specified.So I fixed this problem with replacing the "program files" in your !makeSFX.cmd to "progra~1" and this fixed that error. But then, I get this error message in the winrar window:! Cannot open "C:\progra~1\winrar\firefox.SFX" The filename, directory name, or volume label syntax is incorrect.The file firefox.SFX is the one I downloaded from your attachment and I placed it in my winrar folder.Any suggestions? Link to comment Share on other sites More sharing options...
totoymola Posted February 6, 2005 Share Posted February 6, 2005 I love FFDeploy. As a matter of fact, I asked Mr. Bob Templeton for the code for his script. Even though I'm making msi's now for my customized installer, I still recommend FFDeploy for those who want the easiest way. Link to comment Share on other sites More sharing options...
`Felix` Posted February 6, 2005 Author Share Posted February 6, 2005 Hey Felix, great idea and tutorial you have here. I can't wait to try it out but I am encountering a problem.Hi Shak,Ok thanks for identifying the issues. I have fixed them and updated the ffstuff.exe file. You can just leave the firefox.sfx file in the same folder as your deployment files - if you want to have it in the winrar folder - just make a change to the !makeSFX.bat.If you have any other issues or questions let me know Link to comment Share on other sites More sharing options...
`Felix` Posted February 6, 2005 Author Share Posted February 6, 2005 I love FFDeploy. As a matter of fact, I asked Mr. Bob Templeton for the code for his script. Even though I'm making msi's now for my customized installer, I still recommend FFDeploy for those who want the easiest way. hi totoymola,Well i would be interested in collaberating with you - i haven't heard back from Bob yet - have you? Link to comment Share on other sites More sharing options...
totoymola Posted February 6, 2005 Share Posted February 6, 2005 Hello `Felix.I haven't talked to him recently. The last time he sent me an email was last October (or November, I can't remember). He is a nice guy. Link to comment Share on other sites More sharing options...
`Felix` Posted February 6, 2005 Author Share Posted February 6, 2005 bump Link to comment Share on other sites More sharing options...
totoymola Posted February 6, 2005 Share Posted February 6, 2005 Link to comment Share on other sites More sharing options...
Shak Posted February 6, 2005 Share Posted February 6, 2005 Great, the new stuff file worked fine and now it made the file. I'll have to test it out soon. Link to comment Share on other sites More sharing options...
lilweirddude Posted February 6, 2005 Share Posted February 6, 2005 looks very professional Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now