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

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
636 replies to this topic

#626
WattoDaToydarian

WattoDaToydarian

    Newbie

  • Member
  • 20 posts
  • Joined 12-November 04
Hey gys, I've been using this script for a long time now and everything has run perfectly until I decided to use it to install Firefox 2 RC3.
It seemed to install Firefox, the extensions, and the themes ok but it didn't copy over the default profile with my settings. :no:
Can we get an update for this so it works with Firefox 2?
Also, the link Alphaz is talking about is still down. :}

Main Desktop: || ASUS P5Q || C2D E8400 @ 3.8Ghz || G.Skill 2x2GB DDR2 1000 || MSI GeForce 260 (192) || 2x640GB WD RAID0 || LG 22x DVD || Sunbeam 650Watt || Cooler Master 690 || Windoze 7 64bit \ Ubuntu 9.10 64bit
Secondary Desktop: || ASUS P5N-E || Pentium E2160 @ 3Ghz || Wintec AMPX 2x1GB DDR2 800 || Zotac GeForce 9600GT || 2x160GB WD RAID0 || 16x DVD || XCLIO StablePower 460Watt || Cooler Master Centurion 531 || Windoze 7 64bit
Server: || HP Netserver || 6x P3 Xeon 700Mhz || 3GB PC133 ECC || 4x18GB 10k SCSI RAID0, 1TB SATA, 400GB SATA || Ubuntu Server 9.04 32bit /w Mythbuntu PXE



How to remove advertisement from MSFN

#627
WattoDaToydarian

WattoDaToydarian

    Newbie

  • Member
  • 20 posts
  • Joined 12-November 04
I just discovered that the prefs.js that I used for Firefox 1.5 is different somehow then the one in Firefox 2 and it was just recreating it when I ran it for the first time. So I made a new prefs.js with Firefox 2 and it worked.

Also, where is the setting to remove the bookmarks toolbar located?

Thanks!

Edited by WattoDaToydarian, 07 November 2006 - 09:12 PM.

Main Desktop: || ASUS P5Q || C2D E8400 @ 3.8Ghz || G.Skill 2x2GB DDR2 1000 || MSI GeForce 260 (192) || 2x640GB WD RAID0 || LG 22x DVD || Sunbeam 650Watt || Cooler Master 690 || Windoze 7 64bit \ Ubuntu 9.10 64bit
Secondary Desktop: || ASUS P5N-E || Pentium E2160 @ 3Ghz || Wintec AMPX 2x1GB DDR2 800 || Zotac GeForce 9600GT || 2x160GB WD RAID0 || 16x DVD || XCLIO StablePower 460Watt || Cooler Master Centurion 531 || Windoze 7 64bit
Server: || HP Netserver || 6x P3 Xeon 700Mhz || 3GB PC133 ECC || 4x18GB 10k SCSI RAID0, 1TB SATA, 400GB SATA || Ubuntu Server 9.04 32bit /w Mythbuntu PXE


#628
MGadAllah

MGadAllah

    Brain Voice

  • Member
  • PipPipPipPipPip
  • 779 posts
  • Joined 03-January 06
Posted ImagePosted ImagePosted ImagePosted Image
Flash and animated signatures and avatars are not permitted.

#629
JohnS

JohnS

    Member

  • Member
  • PipPip
  • 113 posts
  • Joined 14-May 05
Hurray!!

SimonSays's Firefox_Silent_Setup still works with Firefox 2!
And perfectly!
It install extensions, searchplugins, profile and plugins without failure.
And even better.
One can choose or modify the default installation directory of Firefox.
How?
Well, if you extract Firefox original install file, which is a 7z file, you will find that inside it there is a setup.exe. This is a nullsoft installer.
So, after following SimonSays guide, you just have to open setup.cmd that is inside Firefox_Silent_Setup.
Then, replace this line:

"%SYSTEMDRIVE%\Firefox\setup.exe" -ms

for this

"%SYSTEMDRIVE%\Firefox\setup.exe" /S /D=%PROGRAMFILES%\Net\Mozilla Firefox

(this is just an example - after that /D you can choose whatever path you want).
Then, in the same setup.cmd replace all this entries:

%SHORTPF%\MOZILL~1

for this (accordingly to whatever path you have choosen):

%SHORTPF%\Net\MOZILL~1

And replace all

%PROGRAMFILES%\Mozilla Firefox

for

%PROGRAMFILES%\Net\Mozilla Firefox

This replacements can be easily done with notepad.
---------------------------------------------
As I don't want to install Talkback, which is installed by default, I have managed to get rid of it.
How?
Extract the original Firefox installation file and remove the directory under /optional/extensions.
Then compress it again.
I used this guide but then started using CréateurSFX by Vier

#630
blahface

blahface

    Junior

  • Member
  • Pip
  • 57 posts
  • Joined 28-January 07
How can I get it to install to say:
"c:\Appz\Firefox"???

#631
LeveL

LeveL

    Senior Member

  • Member
  • PipPipPipPip
  • 546 posts
  • Joined 30-September 05
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:

#632
-I-

-I-

    win2k Freak

  • Member
  • PipPipPipPip
  • 637 posts
  • Joined 23-November 04
how about changing %programfiles% - to \appz and make it the default for windows.... mine is

c: \ Profiles {documents and settings}
... \ TEMP { all temp folders: also those in windows, and %userprofile%\temp}
... \ Software { program files }
... \ WINXP { windows / winnt }

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-, 31 January 2007 - 08:30 AM.

[message of the .....whatever]
Dont be a luser*!*@msnf.org: Ask Good Questions. , read the microsoft guide, google-it-yourself
Do NOT use pirated software, there is free opensource software for allmost every task you seak!
Where is the "any key" ???

#633
LeveL

LeveL

    Senior Member

  • Member
  • PipPipPipPip
  • 546 posts
  • Joined 30-September 05

how about changing %programfiles% - to \appz and make it the default for windows.... mine is

c: \ Profiles {documents and settings}
... \ TEMP { all temp folders: also those in windows, and %userprofile%\temp}
... \ Software { program files }
... \ WINXP { windows / winnt }

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 Mozilla Firefox Unattended 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.

#634
bj-kaiser

bj-kaiser

    Advanced Member

  • Member
  • PipPipPip
  • 396 posts
  • Joined 05-December 06
Mozilla Firefox stores most if not all of it's settings in it's profile directory.
(%appdata%\Mozilla\Firefox\Profiles\RANDOMVALUE\prefs.js)
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.

links:
http://wiki.mozilla....ploying_Firefox
http://www.mozilla.o...ts/cck/firefox/
"Hello IT. Have you tried turning it off and on again?" -- Roy, The IT Crowd

#635
COKEDUDEUSF

COKEDUDEUSF

    Member

  • Member
  • PipPip
  • 231 posts
  • Joined 24-January 07
Thx for all of this.

#636
dimiro97

dimiro97
  • Member
  • 2 posts
  • Joined 07-May 09

Posted Image <span style='font-size:14pt;line-height:100%'>Introduction</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 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:

<span style='font-size:21pt;line-height:100%'>Firefox 1.0.2 and Above Silent</span>
Check this post.

<span style='font-size:21pt;line-height:100%'>Firefox 1.0.1 Silent</span>
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

<span style='font-size:14pt;line-height:100%'>DOWNLOAD</span> 6,41 MB (6.722.217 bytes) - RapidShare main mirror, please use this

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

<span style='font-size:14pt;line-height:100%'>DOWNLOAD</span> 6,87 MB (7.214.719 bytes) - Mirror 3

<span style='font-size:14pt;line-height:100%'>DOWNLOAD</span> 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

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

<span style='font-size:21pt;line-height:100%'>Custom Profile</span>
Original idea by crahak.
You'll be able to add skins, themes, bookmarks... More to be written

<span style='font-size:21pt;line-height:100%'>Defaults Profile Method</span>
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.

<span style='font-size:21pt;line-height:100%'>Final Notes</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 the MSFN unattended section.

<span style='font-size:21pt;line-height:100%'>Thanks to Most of You</span>
  • 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...



#637
dimiro97

dimiro97
  • Member
  • 2 posts
  • Joined 07-May 09
Thanx's a lot bro, may Allah bless n keep u with all of ur knowledge! Assalamu Alaikum wr.wb. :thumbup