• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
SiMoNsAyS

Guide: Mozilla Firefox Unattended

637 posts in this topic

does it work with 1.0 pr?

i haven't tried it but i've read part of the config.ini and looks ok so at first fiew... yes.

anyway i would wait till firefox 1.0 final (supposed to be released 10/12/04)

0

Share this post


Link to post
Share on other sites
SiMoNsAyS can the config.ini be used to install extensions?

this is a really interesting question, at first view, yes! but i tried to add my gmail extension to the default installation and i wasn't sucessful. if you export your full profile as said in step2, it's not necessary to slipstream extensions on your installation because they're already installed, but... the interesting part it's to create a silent installation with custom ext.

if any1 discovers a way to integrate them on the install please, let me know and i'll update the guide.

0

Share this post


Link to post
Share on other sites

Great guide!

One note tho.

As i opened the config.ini i read in the first few lines that you could change runmode to silent.

I just tried this and it worked fine until it opened FF as the default setting is, dunno either if Developer tools were installed.

Ah, just found what to change to install DevTools and for it not to open FF at the end.

But it opens up anyway.. hmm...

Drop a line if you want to know more

0

Share this post


Link to post
Share on other sites
Drop a line if you want to know more

dropped :P

0

Share this post


Link to post
Share on other sites
dropped :P

Right :D

Heres my little guide to doing it, ill try to be short :)

Some line skipping and i did this on 1.0PR

Edit: Oh yeah, i forgot to say that i fixed the FF opening part, its in this guide at the bottom Hold on part.

Edit again: Added windows integration (Shortcuts)

Edit 4th oct: Ive noticed that after first run wizard (import favorites etc) ff doesnt start automaticly, to lazy to check it out now, might be something with the lines 742-759.

Open the config.ini

Go to line 9

Change from

Run Mode=Normal

too

Run Mode=Silent

On line 29 you can change where to install FireFox

If you dont want ADT (Ablah Developer Tools) go past this part:

Now if you want ADT make sure you do this:

On the line 84 change

Default Setup Type=Setup Type 0

too

Default Setup Type=Setup Type 1

and then go down to line 544 and change this:

Attributes=FORCE_UPGRADE|VISIBLE

too this:

Attributes=SELECTED|FORCE_UPGRADE|VISIBLE

Keep the rest intact on that line!!

Now everyone, continue here:

On the lines 288-301 you can change where you want FF icons to be. Just change the appropriate CheckBoxState=TRUE according to the description under to either FALSE or TRUE (duh? but the quicklaunch doesnt work for some reason, im installing FF from RunOnceEx)

Go up/down to the line number 392 and edit this:

Launch App Checked=TRUE

to this:

Launch App Checked=FALSE

Hold on! Were not done yet. This is the important part!

Go further down to the lines 742-759 and either comment it out with ; (which i did) or delete them (which i havent tested)

Now were done, i hope i havent missed anything, if so tell me and ill have a look.

Run it with the setup you downloaded in the first post and all should be good.

0

Share this post


Link to post
Share on other sites

@toe_cutter that it's really interesting... i'll try to update the guide ASAP thanks :thumbup

0

Share this post


Link to post
Share on other sites
@toe_cutter that it's really interesting... i'll try to update the guide ASAP thanks :thumbup

:D:thumbup

glad i could help a little!

Any questions, just ask.

0

Share this post


Link to post
Share on other sites

@toe_cutter: does the method you mentioned gives firefox the ability to silently installed? i tried your suggestion but i was prompted to specify the install folder where firefox should be installed to.

plus another thing, once i clicked on Next at the Install Folder dialog, nothing happens and the Next button remains depressed. Even at that state, other buttons are still clickable though.

0

Share this post


Link to post
Share on other sites
@toe_cutter: does the method you mentioned gives firefox the ability to silently installed? i tried your suggestion but i was prompted to specify the install folder where firefox should be installed to.

plus another thing, once i clicked on Next at the Install Folder dialog, nothing happens and the Next button remains depressed. Even at that state, other buttons are still clickable though.

Read my bottom line in my guide, you still need the setup.exe from the first page attachment in this thread. Using firefox's setup.exe the same thing happens to me, it just hangs after i press next.

0

Share this post


Link to post
Share on other sites
Read my bottom line in my guide, you still need the setup.exe from the first page attachment in this thread. Using firefox's setup.exe the same thing happens to me, it just hangs after i press next.

I must be missing something. Your guide says you did this to PR1, but the setup.exe on the first page is for 0.9.3 is it not?

0

Share this post


Link to post
Share on other sites
I must be missing something.  Your guide says you did this to PR1, but the setup.exe on the first page is for 0.9.3 is it not?

No, i think you're getting it pretty right.

I did this to 1.0PR but i used the setup.exe from the attachment (FirefoxSilent.zip), not 0.9.3 install file.

Heres a link to that attachment:

http://www.msfn.org/board/index.php?act=At...=post&id=179381

In it is a setup.exe, use that one :)

The only problem now is that it doesnt start after youve done the import favorites wizard, and that you have to copy a shortcut to the quicklaunch bar (if youre using that option ofc) either yourself or have it done by xcopy somewhere along the installation.

0

Share this post


Link to post
Share on other sites

This can all be done w/ little work, your favorite text editor , and your favorite compression tool that creates self extracting archives...

you will also nee a couple file from the mozilla installer for this...

download the stub installer and start it . do not cancel or finish it

pull the following files from %TEMP%\ns_temp\

SETUPRSC.DLL

SETUP.EXE

the firefox installer is a valid 7zip archive and can be opened in winRar or 7zip (probably winzip too but i haven't confirmed this) just exract it to some working directory

replace the setup.exe and setuprsc.dll in the working directory with the ones from the mozilla installer

modify config.ini as you wish to add extensions and change options

creat sfx archive

fire fox uses the folowing in theirs

;!@Install@!UTF-8!

Title="Mozilla Firefox"

RunProgram="setup.exe"

;!@InstallEnd@!

this should work

dont forget the .dll w/out it the installer wont work right

0

Share this post


Link to post
Share on other sites

I like the whole sfx archive thing but I still can't get the config.ini too install extensions.

This is what I have added

C5=Component Clone_Window_0.2.3

[Component Clone_Window_0.2.3]

Description Short=Clone_Window_0.2.3

Description Long=Clone_Window_0.2.3

Archive=Clone_Window_0.2.3.xpi

Install Size=6

Install Size System=1

Install Size Archive=1

Attributes=SELECTED

FileCount= 2

What am I missing?

0

Share this post


Link to post
Share on other sites

@bmn it's very similar to what it's explained on step1, the only 2 differences i see it's that in the zip attached to first post it's stored the setup.exe file from mozilla installation so you don't need to download it and that you use 7zip and not rar :P

@ic0dk0c00 you can always try to export your profile with your extensions as explained in step2 ;)

Edited by SiMoNsAyS
0

Share this post


Link to post
Share on other sites

@ic0dk0c00

Ill have a look into adding extensions into the config in the morning. Until then, hang tight on step 2 in the first post :)

0

Share this post


Link to post
Share on other sites

Ive been trying to add an extension via the installers config.ini for the past 3 hours with no luck. My conclusion is that every extension's install.js would need to be edited. Alot.

And quite frankly, i dont know how to do so. Ive tried editing one extension to get it to work, but all i got was an invalid_argument error (code -208).

So if you really want extensions, go with Step 2 on the first post

@SiMoNsAyS

Have you tried this tool before? -> http://home.comcast.net/~ifrit/FFDeploy.html

im currently running it, but it seems to hang when building the exe, 100% cpu aswell...

0

Share this post


Link to post
Share on other sites

@toe_cutter that link it's at the bottom of the guide on interesting links section ;)

0

Share this post


Link to post
Share on other sites

I think your right. Extension can't be installed with the config.ini but I can't ues the Step 2 way it's too big. I uesd n-lite to make windows setup smaller then added firefox and some stuff and the cd-r I am useing is a 210mb and the files come to 208-209.

0

Share this post


Link to post
Share on other sites

Well, there are other ways to install extensions too. Once this firefox version is final, I'll probably post my whole "guide" too. It's essentially a faster/simplified way, just for english versions though. Perhaps host the modified files or such too (or one big pre-made package)... Right now I'm not bothering with it too much since most of the extensions I just don't work with the new version yet. Also I remember seeing a optimized build of it but I never tried it yet (not sure if the installer and everything is the same).

0

Share this post


Link to post
Share on other sites

God don't you just hate it when you have to eat s***. ;)

Well I finally got crahak's method of installing extensions to work...no clue how I f'ed it up but I managed to...same build as tested against prior...so...I got a mouth full. :(

That said create two folders...one called cache_theme & the other cache_xpi save your themes in the theme one and as I'm sure you guessed drop your extensions iont the xpi one. Then place the attached executable out side of both folders, when called from batch or runonce or what ever it will install the contents of both folders...for this to work firefox has to be installed prior...and in its default location.

0

Share this post


Link to post
Share on other sites

@Nologic i'll take a look later, anyway nice work ;)

0

Share this post


Link to post
Share on other sites

the key to adding extentions is that dll...

the only reason i suggest using 7zip is because it's free and the same format firefox uses

this method creates a new installer that is entirely customized...

0

Share this post


Link to post
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.