Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Guide: Mozilla Firefox Unattended

- - - - -

  • Please log in to reply
636 replies to this topic

#1
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
Posted Image Introduction
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
Features List:

* 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

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 :thumbup
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.

Custom Profile
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.

Final Notes
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...

Attached Files


Edited by SiMoNsAyS, 26 June 2005 - 08:01 PM.



How to remove advertisement from MSFN

#2
taemun

taemun

    Newbie

  • Member
  • 13 posts
  • Joined 26-August 04
Easier method: mine :) I haxxed the 7z archive, and modified the config file, and added my AutoIt script....

You can get rid of all the dialogs bar one (thinks).
Then a simple AutoIt script.
Addmittedly not entirely silent, but it works.
You can hide the setup window anyhow....

:P

#3
jdoe

jdoe

    Advanced Member

  • Member
  • PipPipPip
  • 314 posts
  • Joined 02-May 04
@taemun

I have no doubt about your way to install Firefox but your installation is not pre-configure for multi-user.

This guide is for an other purpose than just installing Firefox silently.


;)

#4
MCT

MCT

    MSFN Junkie

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,291 posts
  • Joined 19-May 04
  • OS:none specified
  • Country: Country Flag
nice guide :D i currently dont use firefox (i use opera) but ill keep this in mind for someone asking about it :D
Posted Image Posted Image
Windows 7 32Bit 2GB Ram 120GB HDD (Laptop), Windows 8 4GB Ram 1TB HDD (Desktop) Windows XP SP3 VM with enhancements!

#5
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04

nice guide :D i currently dont use firefox (i use opera) but ill keep this in mind for someone asking about it :D

LOL, thanks, i'm very proud :lol:

#6
teh1337357

teh1337357

    Newbie

  • Member
  • 12 posts
  • Joined 03-September 04
What is this CD.TXT you need to create and do you need any code in it? Also, where are you supposed to put your newly created FIREFOX.EXE? Lastly, do you need to change any of that code for English?

#7
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
A1: for CD.TXT you can read this that will explains better than me http://unattended.ms...unonceex_cd.htm :lol:
A2: your firefox.exe in the example goes to %CDROM%\SOFTWARE\FIREFOX\FIREFOX.EXE (where CDROM it's the root of your windows intallation CD)
A3: **** no! :P , this guide it's intended to be user, path, drive and language dependant.

ps: i haven't forgot the step2 part but still having issues :realmad:

#8
teh1337357

teh1337357

    Newbie

  • Member
  • 12 posts
  • Joined 03-September 04
Thanks man. Just wasn't totally clear on a few things.

And BPP, no more ieX?

#9
big poppa pump

big poppa pump

    Damn Newbies!!

  • Member
  • PipPipPip
  • 406 posts
  • Joined 10-September 03
Nah! Not as much as I used to. Too many **** 13 year olds with single digit IQ's running wild over there.

@Simonsays - Nice guide. Will keep as a reference when I decide to move over to Firefox. IE is still my preferred browser. ;)

DFI LP UT NF4 SLI-DR Expert || Opty 165 CCBBE 0610DPMW @ 3.01Ghz (335*9) - 1.52V, TT Big Typhoon w/120mm Panaflo
2 x G.SKILL F1-4000USU2-2GBHZ || BBA Radeon 1900XTX || X-Mystique DD 5.1 with/ Pioneer THX 1015TX
2*74GB Raptors - Raid 0 || 2*300GB Seagate 7200.9 NCQ SATA-II || 4*Hitachi 500GB 7K500 || Mad Dog Triple Format DL DVD+/-RW/DVD-Ram
OCZ GameXstream 700W || CM Stacker STC-01 || 2 * Dell 2405FPW


#10
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04

Nah! Not as much as I used to. Too many **** 13 year olds with single digit IQ's running wild over there.

@Simonsays - Nice guide. Will keep as a reference when I decide to move over to Firefox. IE is still my preferred browser.  ;)

thanks guy but be aware... if you try firefox i'm sure you won't return to IE ;)

#11
teh1337357

teh1337357

    Newbie

  • Member
  • 12 posts
  • Joined 03-September 04
Hopefully my last question... Do you need to put everything in %CDROM%\Software if you're using the RunOnceEx method?

#12
CoffeeFiend

CoffeeFiend

    Coffee Aficionado

  • Super Moderator
  • 5,399 posts
  • Joined 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag

thanks guy but be aware... if you try firefox i'm sure you won't return to IE ;)

So true, you never want to go back B)
Coffee: \ˈkȯ-fē, ˈkä-\. noun. Heaven in a cup. Life's only treasure. The meaning of life. Kaffee ist wunderbar. C8H10N4O2 FTW.

#13
Thermopyle

Thermopyle
  • Member
  • 5 posts
  • Joined 03-September 04
You know I was all prepared to do this, and in fact had started to, but then I realized that my CD would be outdated so soon.

Firefox 1.0 will be out this month, and I'm pretty sure that I read that the devs were aware of deployment issues and would be addressing them soon...if not in 1.0 then not long after.

Just some information for those of you thinking on doing this.

#14
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04

Hopefully my last question... Do you need to put everything in %CDROM%\Software if you're using the RunOnceEx method?

in the example yes, but there are several methods and mine it's only one of them.

Firefox 1.0 will be out this month, and I'm pretty sure that I read that the devs were aware of deployment issues and would be addressing them soon...if not in 1.0 then not long after.


@Thermopyle, i've got to correct you guy ;)
Posted Image
what is going to be released this month it's RC1, far from the final version on october, 11.
you know that if we wait for software releases we couldn't just record a CD, because everyday appears a new version. i don't know about the new installation way but it's very probably (i think about 90%) that it will use the same installer and this guide will work with the new version too. if that it's not the fact, the guide will be updated with new changes :P

#15
Thermopyle

Thermopyle
  • Member
  • 5 posts
  • Joined 03-September 04
Oh, yeah I forgot it was just a RC coming out :blushing:

I haven't had a chance to try this out yet, but can you tell me what is wrong with doing Firefox unattended this way....

1. Install Firefox, add all bookmarks, extensions, whatever. Clear cache, history, and cookies. Add plugins...

2. Zip up firefox program file directory

3. Zip up profile directory.

4. On unattended extract firefox directory to %ProgramFiles% and profile to %APPDATA%

5. When firefox is run it should look in %appdata%\mozilla\firefox for the profile.ini which will tell it the directory of the profile.


Thoughts?

#16
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@Thermopyle hahaha :lol: , it's curious i thought the same when i started developing this guide.
we got a few problems to bypass. pluginreg.dat file contains info with the path to some files so it's needed to make some changes, regkeys with paths, some temporal files, and my headache: chrome.rdf. this file contains the path to extensions, themes and so on and if the %username% changes, path, or systemdrive changes firefox would not start :realmad:

#17
1chaoticadult

1chaoticadult

    A Part of a Dying Breed...

  • Member
  • PipPipPipPip
  • 669 posts
  • Joined 31-August 03

Nah! Not as much as I used to. Too many **** 13 year olds with single digit IQ's running wild over there.

@Simonsays - Nice guide. Will keep as a reference when I decide to move over to Firefox. IE is still my preferred browser.  ;)

thanks guy but be aware... if you try firefox i'm sure you won't return to IE ;)

@Simonsays You are so right. Although I use both Opera and Firefox, I will never go back to IE again.

#18
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
****!! i finally got it working!! :whistle:
expect an update on the guide soon...

#19
CoffeeFiend

CoffeeFiend

    Coffee Aficionado

  • Super Moderator
  • 5,399 posts
  • Joined 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag
Thanks for the nice guide btw. I do use a similar method now (although a bit simpler since it's all GUIRunOnce based and I use regedit /s firefox.reg for all reg entries)
Coffee: \ˈkȯ-fē, ˈkä-\. noun. Heaven in a cup. Life's only treasure. The meaning of life. Kaffee ist wunderbar. C8H10N4O2 FTW.

#20
`Felix`

`Felix`

    MSFN Contributor

  • Member
  • PipPipPip
  • 481 posts
  • Joined 28-July 04

****!! i finally got it working!! :whistle:
expect an update on the guide soon...

@SiMoNsAyS What are you using as a skin to flavour your desktop - it like your taskbar :thumbup
"I seek not to know all the answers, but to understand the questions."
- Kwai Chang Caine.


Want to setup your default user/all users unattended install easy? - Simplify iT - GuidesCheers,
FeLiX

#21
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04

Thanks for the nice guide btw. I do use a similar method now (although a bit simpler since it's all GUIRunOnce based and I use regedit /s firefox.reg for all reg entries)

nice idea, but i think this is the only way i can do it drive independant...

@`Felix` maybe you want to check this thread :thumbup

#22
Zahriki

Zahriki

    The man in black fled across the desert...

  • Member
  • 29 posts
  • Joined 15-August 04
I've tried this method and it works very well importing any plugins and what not.

Only thing I noticed it didn't transfer over was my "bookmarks".

You mentioned it in your first paragraph but no where else does it mention saving bookmarks.

Could you elaborate this particular subject?

Edit:

I know you mentioned it should be in step 2 and you're having problems.
So, I'll just shut-up and smile :w00t:

#23
`Felix`

`Felix`

    MSFN Contributor

  • Member
  • PipPipPip
  • 481 posts
  • Joined 28-July 04

@`Felix` maybe you want to check this thread :thumbup

Thankyou! :thumbup

Now if i can just get it to work :blushing:
"I seek not to know all the answers, but to understand the questions."
- Kwai Chang Caine.


Want to setup your default user/all users unattended install easy? - Simplify iT - GuidesCheers,
FeLiX

#24
SiMoNsAyS

SiMoNsAyS

    C'mon you apes! You wanna live forever!?

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
Guide Updated! (Again!) :w00t:

Edited by SiMoNsAyS, 09 September 2004 - 07:56 AM.


#25
lilweirddude

lilweirddude

    Senior Member

  • Member
  • PipPipPipPip
  • 573 posts
  • Joined 24-August 04
does it work with 1.0 pr?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users