I've spent a lot of time working on an unattended installation of Firefox and I wrote a guide to accomplish it but I've seen people look at that amount of text and simply giving up after a few lines. The original guide is now attached to this post so you can still build your custom installer following those easy steps described on "jdoe method" and my batches to do the cleanup (included in the zip too).
Here you can find some default silent installers for your choice:
Firefox 1.0.2 and Above Silent
Check this post.
Firefox 1.0.1 Silent
* Silent by default! No switches needed!
+ Optionally invisible 1
* English language
* Removed QFA Component 2
+ ADT (Advanced Developer Tools) Component is now always installed
* Icon size boosted up to 128x128 3
+ Prefetch tweak added to shortcuts. Optional shortcuts to default profile and profiles admin 4
* Removed certain searchplugins: Amazon, eBay and Creative
* Added certain searchplugins: MSFN, Filemirrors, Google (images), IMDB, Microsoft
- Removed certain searchplugins: Babelfish Translation (SP/EN, EN/SP)
* Added certain plugins: Adobe Acrobat 7, RealPlayer (Live Connect included), QuickTime, Shockwave Flash, Shockwave for Director
- Removed certain plugins: RealJukebox, Microsoft Office 2003, Java 2 Platform, removed some unnecessary files too.
* Preferences Tweak 5
* MSFN Forum Thread Bookmark
+ Custom Extensions, Themes, Defaults\Profile, Plugins, Searchplugins and Language Pack support! 6
* Powered by RarLabs 7
1 CMDOW needs to be placed on System32 foler in order to hide the command prompt window. Open the setup file with WinRAR and remove "REM" from the third line of setup.cmd
2 Removed QFA completely, including the XPI file that results on a smaller setup
3 Icon rebuilt with more image formats
4 Optional shortcuts are available once you remove "REM" from some lines at the bottom of Setup\setup.cmd (only for english and spanish systems)
5 LocalFocus set to false and speedup improvements on navigation tweaks
6 Open the setup file with WinRAR, place on Setup\XPI your extensions and on Setup\JAR your themes
Files present on Setup\DefaultsProfile will be copied to \defaults\profile on Mozilla's Firefox directory
Setup\Profile is where you can place your custom profile. Profiles.ini and Profiles\ folder goes there (originally they can be found on %APPDATA%\Mozilla\Firefox)
Setup\Plugins and Setup\Searchplugins folders can also be used, just drop the necessary files there. Just to remember that plugins won't work if you obviously don't have those programs installed. Quicktime and Realplayer are free plugins (alternatives).
Finally if you place the spanish langpack on Setup\XPI it will be automatically detected, that means you can take a look at the code (Setup\setup.cmd) and add your own language
7 Setup no longer uses the mozilla's installer, silent switch implemented since 1.0.1
DOWNLOAD 6,41 MB (6.722.217 bytes) - RapidShare main mirror, please use this
DOWNLOAD 6,87 MB (7.214.719 bytes) - Mirror 2
DOWNLOAD 6,87 MB (7.214.719 bytes) - Mirror 3
DOWNLOAD 6,87 MB (7.214.719 bytes) - Mirror 4
C'mon people I want to hear a big thanks to @buletov, @SoreGums and @solohelp for hosting mirrors 2, 3 and 4
If you want to add a mirror or report a broken link, PM me inmediately!
Call the installation from RunOnceEx without swithces, like:
REG ADD %KEY%\001 /VE /D "Mozilla Firefox 1.0" /f REG ADD %KEY%\001 /V 1 /D "%CDROM%\SOFTWARE\FIREFOX\Firefox101_Silent_en-US.exe" /f
Understanding the Installation Process
If you just want to install Firefox you don't need to read further. Now if you want to create a custom installation, you must now the setup is a simple Rar-SFX that launchs a .cmd file.
When run, it will silently install Firefox, then it will be set as your default browser and it'll be pinned on top start menu. After that, associations will be set for .htm, .html, .swf, .xpi, and optionally .jar. You'll need to edit Setup\setup.cmd for this last.
Next, files for your custom profile and defaults\profile will be placed on their propper locations. Similar will happen with Setup\searchplugins and Setup\plugins.
Extensions and themes are installed if they exist on Setup\XPI and/or Setup\JAR. Finally shortcuts will be copied, take a look at the bottom lines of Setup\setup.cmd for more info.
Original idea by crahak.
You'll be able to add skins, themes, bookmarks... More to be written
Defaults Profile Method
Astalavista has found useful information on how work on your unattended profile and has created a default one that you can review and download here.
There's also a Firefox 1.0.4 version with a built-in profile available here
After you have created your Defaults Profile, download my default Setup and open it with WinRAR. Fill the folder Setup\DefaultsProfile with the contents of %PROGRAMFILES%\Mozilla Firefox\defaults\profile.
During the installation, Defaults\Profile will be restored to its original location, also you can place shortcuts to it by removing "REM" from Setup\setup.cmd on my installation file.
Let me remember you that bookmarks.html contains your favorites and can be exported to the user profile. The same for user.js, prefs.js and your preferences.
For more information about how to use the %CDROM% variable, more about cmdow, switches for common installations visit the MSFN unattended section.
Thanks to Most of You
- jdoe was the first one who induced me to write this, he wrote the .vbs files needed to export the profile and replace the strings.
- totoymola was the one who created the .msi installation for personal use and then he shared it.
- crahak wrote the code used to install the extensions and themes.
- toe_cutter showed us more about the config.ini file.
- Astalavista created a default profile with preinstalled extensions.
- utln wrote a searchplugin for MSFN that I include in the pack.
- 2forza gave me the idea to create a desktop shortcut similar to IE.
- List is still open...
Number of downloads: 3116
This post has been edited by SiMoNsAyS: 26 June 2005 - 08:01 PM