Jump to content

Guide: Mozilla Firefox Unattended


Recommended Posts

I will be honest and say I am not reading 22 pages to find the
answer to this question OK... its only a simple question...

When you first run Firefox, it asks if you want to import your
settings from Internet Explorer. Well, Internet Explorer is ripped
out with nLite, but it has Google as the homepage so yes, I want
Google as the homepage on Firefox and I don't want it asking
things like "You are about to send information" blah blah blah
when I am searching Google for the first time - so how can I
install it so it does not ask about a homepage or leaving a
secure page to a non secure page etc etc?

Just f**k it and make an SFX from the Program Files folder?! :lol:

I know from the past it works standalone but it is a mess of JS files
and I don't want to have my IP address if its in there amongst the
tons of JS files... all I want to do is run it without it asking me anything,
however it seems that Firefox does not change anything in the registry,
d4mn you Mozilla why do you have to make it difficult? :realmad:

Link to comment
Share on other sites

how about changing %programfiles% - to \appz and make it the default for windows.... mine is
[quote]c: [u]\ Profiles[/u] {documents and settings}
... [u]\ TEMP[/u] { all temp folders: also those in windows, and %userprofile%\temp}
... [u]\ Software [/u] { program files }
... [u]\ WINXP[/u] { windows / winnt }[/quote]
verry nice (and easy to do sniff the msn forums) .... but than again - this post is getting a verry big bit off-topic.... Edited by -I-
Link to comment
Share on other sites

[quote name='-I-' post='620015' date='Jan 31 2007, 02:25 PM']how about changing %programfiles% - to \appz and make it the default for windows.... mine is
c: [u]\ Profiles[/u] {documents and settings}
... [u]\ TEMP[/u] { all temp folders: also those in windows, and %userprofile%\temp}
... [u]\ Software [/u] { program files }
... [u]\ WINXP[/u] { windows / winnt }[/quote]
verry nice (and easy to do sniff the msn forums) .... but than again - this post is getting a verry big bit off-topic....

Not really, the topic is [color="#0000FF"]Mozilla Firefox Unattended[/color] and all I am asking is
how to have it install with Google.com as the homepage and it already set up.

Firefox does not alter the registry when you do the "Import my homepage from Internet Explorer"
and I tried it by making an SFX out of the Mozilla Firefox folder in Program Files and that doesn't
work either... hard to believe Firefox is open source, its easier to get answers about proprietary
software than it is Firefox, plus they don't bother fixing 4 year old bugs.
Link to comment
Share on other sites

Mozilla Firefox stores most if not all of it's settings in it's profile directory.
Example Entry:user_pref("browser.startup.homepage", "about:blank");

However, I think Mozilla recommends using the CCK (Client Customization Kit) for deploying firefox with individual settings.

Link to comment
Share on other sites

  • 1 year later...
  • 7 months later...

[quote name='SiMoNsAyS' post='179381' date='Aug 30 2004, 10:44 PM'][img]http://www.mozilla.org/images/product-firefox.png[/img] <span style='font-size:14pt;line-height:100%'>[i][b]Introduction[/b][/i]</span>
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 [b]original guide[/b] is now attached to this post so you can still build your custom installer following those easy steps described on [url="http://www.msfn.org/board/index.php?showuser=18982"]"[b]jdoe method[/b]"[/url] and my batches to do the cleanup (included in the zip too).
Here you can find some default silent installers for your choice:

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Firefox 1.0.2 and Above Silent[/i][/b][/color]</span>
Check [url="http://www.msfn.org/board/index.php?showtopic=26240&view=findpost&p=321894"][b][color="green"]this post[/b][/color][/url].

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Firefox 1.0.1 Silent[/i][/b][/color]</span>
[b][i]Features List:[/i][/b]

* 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 :P †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

[url="http://rapidshare.de/files/723306/Firefox101_Silent_en-US.exe.html"]<span style='font-size:14pt;line-height:100%'>[b][color="green"]DOWNLOAD[/color][/b]</span>[/url] 6,41 MB (6.722.217 bytes) - RapidShare main mirror, please use this

[url=""]<span style='font-size:14pt;line-height:100%'>[b][color="green"]DOWNLOAD[/color][/b]</span>[/url] 6,87 MB (7.214.719 bytes) - Mirror 2

[url="http://offsite.zxgen.net/forums/msfn/Firefox101_Silent_en-US.exe"]<span style='font-size:14pt;line-height:100%'>[b][color="green"]DOWNLOAD[/color][/b]</span>[/url] 6,87 MB (7.214.719 bytes) - Mirror 3

[url="http://www.solohelp.com/drivers/firefox101_silent_en-US.exe"]<span style='font-size:14pt;line-height:100%'>[b][color="green"]DOWNLOAD[/color][/b]</span>[/url] 6,87 MB (7.214.719 bytes) - Mirror 4

[i]C'mon people I want to hear a big thanks to [b]@buletov[/b], [b]@SoreGums[/b] and [b]@solohelp[/b] for hosting mirrors 2, 3 and 4 :thumbup
If you want to add a mirror or report a broken link, PM me inmediately![/i]

Call the installation from RunOnceEx without swithces, like: [code]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[/code]

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Understanding the Installation Process[/i][/b][/color]</span>
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.

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Custom Profile[/i][/b][/color]</span>
Original idea by [url="http://www.msfn.org/board/index.php?showuser=24596"][b]crahak[/b][/url].
You'll be able to add skins, themes, bookmarks... More to be written

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Defaults Profile Method[/i][/b][/color]</span>
[url="http://www.msfn.org/board/index.php?showuser=10301"][b]Astalavista[/b][/url] has found useful information on how work on your unattended profile and has created a default one that you can review and download [url="http://www.msfn.org/board/index.php?showtopic=26240&view=findpost&p=310108"][b]here[/b][/url].
There's also a Firefox 1.0.4 version with a built-in profile available [url="http://www.msfn.org/board/index.php?showtopic=26240&view=findpost&p=342522"][b]here[/b][/url]

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.

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Final Notes[/i][/b][/color]</span>
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 [url="http://unattended.msfn.org/index.htm"]the MSFN unattended section[/url].

[color="red"]<span style='font-size:21pt;line-height:100%'>[b][i]Thanks to Most of You[/i][/b][/color]</span>[list]
[*][url="http://www.msfn.org/board/index.php?showuser=18982"]jdoe[/url] was the first one who induced me to write this, he wrote the .vbs files needed to export the profile and replace the strings.
[*][url="http://www.msfn.org/board/index.php?showuser=31914"]totoymola[/url] was the one who created the .msi installation for personal use and then he shared it.
[*][url="http://www.msfn.org/board/index.php?showuser=24596"]crahak[/url] wrote the code used to install the extensions and themes.
[*][url="http://www.msfn.org/board/index.php?showuser=29349"]toe_cutter[/url] showed us more about the config.ini file.
[*][url="http://www.msfn.org/board/index.php?showuser=10301"]Astalavista[/url] created a default profile with preinstalled extensions.
[*][url="http://www.msfn.org/board/index.php?showuser=9983"]utln[/url] wrote a searchplugin for MSFN that I include in the pack.
[*][url="http://www.msfn.org/board/index.php?showuser=47699"]2forza[/url] gave me the idea to create a desktop shortcut similar to IE.
[*]List is still open...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...