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

#26
SiMoNsAyS

SiMoNsAyS

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

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

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)


How to remove advertisement from MSFN

#27
lilweirddude

lilweirddude

    Senior Member

  • Member
  • PipPipPipPip
  • 573 posts
  • Joined 24-August 04
alright 12 more days
i probably wouldnt have my unattended done be then anyways

#28
ic0dk0c00

ic0dk0c00

    Newbie

  • Member
  • 20 posts
  • Joined 27-July 04
SiMoNsAyS can the config.ini be used to install extensions?

#29
SiMoNsAyS

SiMoNsAyS

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

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

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.

#30
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04
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

#31
SiMoNsAyS

SiMoNsAyS

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

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

Drop a line if you want to know more

dropped :P

#32
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04

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.

#33
SiMoNsAyS

SiMoNsAyS

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

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@toe_cutter that it's really interesting... i'll try to update the guide ASAP thanks :thumbup

#34
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04

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

#35
edmoncu

edmoncu

    Advanced Member

  • Member
  • PipPipPip
  • 331 posts
  • Joined 28-April 04
@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.
Please join the growing Filipino Community of PC Experts and Enthusiasts
Posted Image

#36
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04

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

#37
hqdefel

hqdefel
  • Member
  • 5 posts
  • Joined 15-August 04

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?

#38
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04

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

#39
SiMoNsAyS

SiMoNsAyS

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

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
First post it's updated! with toe_cutter changes on "config.ini" file :thumbup

#40
bmn

bmn

    Unattended Friend

  • Member
  • PipPipPip
  • 398 posts
  • Joined 05-October 04
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

#41
ic0dk0c00

ic0dk0c00

    Newbie

  • Member
  • 20 posts
  • Joined 27-July 04
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?

#42
SiMoNsAyS

SiMoNsAyS

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

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@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, 06 October 2004 - 04:41 PM.


#43
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04
@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 :)

#44
toe_cutter

toe_cutter

    Junior

  • Member
  • Pip
  • 52 posts
  • Joined 30-August 04
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....t/FFDeploy.html
im currently running it, but it seems to hang when building the exe, 100% cpu aswell...

#45
SiMoNsAyS

SiMoNsAyS

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

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@toe_cutter that link it's at the bottom of the guide on interesting links section ;)

#46
ic0dk0c00

ic0dk0c00

    Newbie

  • Member
  • 20 posts
  • Joined 27-July 04
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.

#47
CoffeeFiend

CoffeeFiend

    Coffee Aficionado

  • Super Moderator
  • 5,399 posts
  • Joined 14-July 04
  • OS:Windows 7 x64
  • Country: Country Flag
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).
Coffee: \ˈkȯ-fē, ˈkä-\. noun. Heaven in a cup. Life's only treasure. The meaning of life. Kaffee ist wunderbar. C8H10N4O2 FTW.

#48
Nologic

Nologic

    Advanced Member

  • Member
  • PipPipPip
  • 461 posts
  • Joined 07-October 03
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.

#49
SiMoNsAyS

SiMoNsAyS

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

  • Patrons
  • 3,455 posts
  • Joined 17-May 04
@Nologic i'll take a look later, anyway nice work ;)

#50
bmn

bmn

    Unattended Friend

  • Member
  • PipPipPip
  • 398 posts
  • Joined 05-October 04
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 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users