MSFN Forum: Guide: Mozilla Firefox Unattended - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 32 Pages +
  • « First
  • 30
  • 31
  • 32
  • You cannot start a new topic
  • You cannot reply to this topic

Guide: Mozilla Firefox Unattended Rate Topic: -----

#621 User is offline   MioKawaii 

  • Newbie
  • Group: Members
  • Posts: 28
  • Joined: 02-May 05

Posted 25 June 2005 - 03:24 PM

I have a question on profile backup with batch file. The following batch file can only be run if placed in the profile folder (PS- The filelist might not be the minimum compulsory list):
 
@echo off
IF NOT EXIST "%systemroot%\system32\7zA.exe" copy "%programfiles%\7-zip\7zA.exe" "%systemroot%\system32"
ECHO bookmarks.html>> listfile.txt
ECHO cert8.db>> listfile.txt
ECHO cookies.txt>> listfile.txt
ECHO defaults.ini>> listfile.txt
ECHO formhistory.dat>> listfile.txt
ECHO hostperm.1>> listfile.txt
ECHO inforss.rdf>> listfile.txt
ECHO inforss.xml>> listfile.txt
ECHO key3.db>> listfile.txt
ECHO localstore.rdf>> listfile.txt
ECHO mimeTypes.rdf>> listfile.txt
ECHO prefs.js>> listfile.txt
ECHO search.rdf>> listfile.txt
ECHO secmod.db>> listfile.txt
ECHO signons.txt>> listfile.txt
7zA a -t7z MioProfile.7z @listfile.txt -mx9
DEL listfile.txt
EXIT 

So what do I have to add in order for it to be able to run anywhere? To be precise, how to search for the profile directory and set it as variable automatically?


#622 User is offline   sleepnmojo 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 472
  • Joined: 02-March 04

Posted 26 June 2005 - 12:17 AM

I don't know if you want to parse each user, but that would just mean an extra for loop, but this would get every profile for the current user.

The cmd would save the 7z files next to the cmd file, where you could keep the 7zip executable if you wish, but I remark of the different ways of doing it. Also made editing the list file a little easier.

 
@ECHO OFF
REM Add the path to the 7zip executable
SET PATH=%PATH%;"%ProgramFiles%\7-zip\"

REM or leave it beside this cmd file
SET PATH=%PATH%;%~dp0

REM the list of files to backup
(
ECHO bookmarks.html
ECHO cert8.db
ECHO cookies.txt
ECHO defaults.ini
ECHO formhistory.dat
ECHO hostperm.1
ECHO inforss.rdf
ECHO inforss.xml
ECHO key3.db
ECHO localstore.rdf
ECHO mimeTypes.rdf
ECHO prefs.js
ECHO search.rdf
ECHO secmod.db
ECHO signons.txt ) > %TEMP%\listfile.txt

REM save all the profiles in the profile directory
FOR /d %%D IN ("%APPDATA%\Mozilla\Firefox\Profiles\*") DO (
PUSHD %%D
7zA a -t7z "%~dp0\%%~nD.7z" @"%TEMP%\listfile.txt" -mx9
POPD
) 


#623 User is offline   enderandrew 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 25-May 06

Posted 29 May 2006 - 05:42 AM

How do you make these custom Firefox installers that include Flash, extensions, etc?

I would like to make a cab I can throw in nLite that will install Bon Echo alpha 3 (or maybe even this build of Alpha 3) with all my favorite extensions, etc.

#624 User is offline   JohnS 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 14-May 05

Posted 29 May 2006 - 12:36 PM

View Postenderandrew, on May 29 2006, 11:42 AM, said:

How do you make these custom Firefox installers that include Flash, extensions, etc?

I would like to make a cab I can throw in nLite that will install Bon Echo alpha 3 (or maybe even this build of Alpha 3) with all my favorite extensions, etc.

Just read the "changelog.txt" that is inside the rar file in here (post 599).
You can include Flash dll in the Plugin directory.
By the way I am still using this nice piece of code to install my Firefox v1.5.
Thank you SiMoNsAyS :thumbup :thumbup

This post has been edited by JohnS: 29 May 2006 - 12:40 PM


#625 User is offline   Alphaz 

  • Junior
  • Pip
  • Group: Members
  • Posts: 82
  • Joined: 26-November 03

Posted 08 October 2006 - 04:40 AM

View PostSiMoNsAyS, on May 16 2005, 09:16 AM, said:



This link is dead

View Postspecialized, on Jun 4 2005, 08:05 PM, said:

Install Firefox Unattended

REG ADD %KEY%\010 /VE /D "Firefox 1.0.4" /f 
REG ADD %KEY%\010 /V 1 /D "%systemdrive% /install\firefox\firefox104.exe -ms" /f


greetings!! :hello:


Thanks for this post man, quick and easy

#626 User is offline   WattoDaToydarian 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 12-November 04

Posted 26 October 2006 - 05:02 PM

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

#627 User is offline   WattoDaToydarian 

  • Newbie
  • Group: Members
  • Posts: 22
  • Joined: 12-November 04

Posted 07 November 2006 - 06:46 PM

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!

This post has been edited by WattoDaToydarian: 07 November 2006 - 09:12 PM


#628 User is offline   MGadAllah 

  • Brain Voice
  • PipPipPipPipPip
  • Group: Banned
  • Posts: 786
  • Joined: 03-January 06

Posted 08 November 2006 - 07:08 AM

Posted ImagePosted ImagePosted ImagePosted Image

#629 User is offline   JohnS 

  • Member
  • PipPip
  • Group: Members
  • Posts: 109
  • Joined: 14-May 05

Posted 11 November 2006 - 12:03 PM

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:

Quote

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

Quote

"%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:

Quote

%SHORTPF%\MOZILL~1
for this (accordingly to whatever path you have choosen):

Quote

%SHORTPF%\Net\MOZILL~1

And replace all

Quote

%PROGRAMFILES%\Mozilla Firefox
for

Quote

%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 User is offline   blahface 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 28-January 07

Posted 28 January 2007 - 12:09 PM

How can I get it to install to say:
"c:\Appz\Firefox"???

#631 User is offline   LeveL 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 551
  • Joined: 30-September 05

Posted 30 January 2007 - 09:31 PM

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 User is offline   -I- 

  • win2k Freak
  • PipPipPipPip
  • Group: Members
  • Posts: 639
  • Joined: 23-November 04

Posted 31 January 2007 - 08:25 AM

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

Quote

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

This post has been edited by -I-: 31 January 2007 - 08:30 AM


#633 User is offline   LeveL 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 551
  • Joined: 30-September 05

Posted 31 January 2007 - 10:45 AM

View Post-I-, on Jan 31 2007, 02:25 PM, said:

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

Quote

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 User is offline   bj-kaiser 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 415
  • Joined: 05-December 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 31 January 2007 - 02:09 PM

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.org/Deployment:Deploying_Firefox
http://www.mozilla.o...ts/cck/firefox/

#635 User is offline   COKEDUDEUSF 

  • Member
  • PipPip
  • Group: Members
  • Posts: 226
  • Joined: 24-January 07

Posted 02 October 2008 - 10:46 AM

Thx for all of this.

#636 User is offline   dimiro97 

  • Group: Members
  • Posts: 2
  • Joined: 07-May 09

Posted 20 May 2009 - 10:30 AM

View PostSiMoNsAyS, on Aug 30 2004, 10:44 PM, said:

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 User is offline   dimiro97 

  • Group: Members
  • Posts: 2
  • Joined: 07-May 09

Posted 20 May 2009 - 10:33 AM

Thanx's a lot bro, may Allah bless n keep u with all of ur knowledge! Assalamu Alaikum wr.wb. :thumbup

Share this topic:


  • 32 Pages +
  • « First
  • 30
  • 31
  • 32
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy