MSFN Forum: Unattended Mozilla Install - 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
  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Unattended Mozilla Install Found out how Rate Topic: -----

#1 User is offline   Spad 

  • Group: Members
  • Posts: 2
  • Joined: 03-June 04

Posted 04 June 2004 - 09:35 AM

I've been looking around for someway of installing certain aspects of Mozilla through a silent install (as opposed to the -ma -ira switches) and I've found it here: http://acd.ucar.edu/...2k/mozilla.html - I've actually modded it a bit because it's quicker just to set the default install type to "0" (Browser only) than to customize the existing default if you just want the browser. Obviously if you want multiple components, follow the rest of his guide, which also shows you how to change the default Mozilla prefs.

Quote

Making Mozilla install silently and unattended

    * I downloaded "mozilla-win32-1.4-installer.exe"
    * I ran the installer, and before the first question, copied the contents of the folder "ns_temp" from C:\Documents and Settings\fredrick\ Local Settings\Temp\ns_temp. (if you don't grab a copy of this directory, the Mozilla installer deletes it after its install.
    * I quit the Mozilla installer.
    * Within ns_temp you'll see a setup.exe program, a bunch of .xpi files, and a couple of .ini files. The xpi files are actually zip files with a different 3-letter extension, ".xpi".
    * To achieve a silent install, edit config.ini and change the Run Mode in the first line to be "silent". Or to get a little more information, you can use the "Auto" setting which will show dialogs but not require user input.
    * I didn't want to install the IRC chat option or quality feedback agent (QFA) in Mozilla, so in config.ini I went to the section [Setup Type]. I changed the setup type to 2 with the line:

; Default Setup Type values:
; Setup Type 0 - first radio button (default)
; Setup Type 1 - second radio button
; Setup Type 2 - third radio button
; Setup Type 3 - fourth radio button (usually the Custom option)
Default Setup Type=Setup Type 0
Further down in the config.ini, locate this:

Quote

[Setup Type0];*** LOCALIZE ME BABY ***
Description Short=Bro&wser only
;*** LOCALIZE ME BABY ***
Description Long=Program will be installed with the minimal options.

; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
C0=Component XPCOM
C1=Component GRE
C2=Component Navigator
C3=Component Uninstaller
C4=Component US English Profile Defaults
C5=Component En US lang pack
C6=Component US region pack
; Make sure Component QFA is LAST so 3rd party developers who might not want
; this component can easily remove it.
;C7=Component QFA
And comment out the QFA (unless you want it).

Then finally just set your system.cmd/RunOnceEx.cmd to run "setup.exe -ma -ira" from the mozilla folder.


#2 User is offline   my2001 

  • Member
  • PipPip
  • Group: Members
  • Posts: 260
  • Joined: 31-May 04

  Posted 05 June 2004 - 07:20 AM

Hi Spad!

Oh, very nice, indeed! I don't have time to apply your hints to my system now, but thanks a lot in advance, I guess they are very useful for me. :)

#3 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 June 2004 - 07:27 AM

Thanx spad

very useful - shall try it out now.
I used to just copy the installed directory previously, but that way, I wouldn't get the registry entries. I suppose this way I can.

#4 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

  Posted 05 June 2004 - 09:01 AM

Would this also work for Firefox?? :)

Thank you! Very usefull!

#5 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 June 2004 - 08:54 AM

The same method should work for firefox/thunderbird as well, since it uses the same installer.

#6 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 07 June 2004 - 06:04 AM

prathapml, on Jun 6 2004, 08:54 AM, said:

The same method should work for firefox/thunderbird as well, since it uses the same installer.

I have just tried it. Sadly Firefox 0.8 bluntly ignores the Run Mode=Silent and Auto flags....

#7 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 07 June 2004 - 09:26 AM

Thanks for testing. And too bad it didn't work :'(

#8 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 07 June 2004 - 11:07 AM

Bâshrat the Sneaky, on Jun 7 2004, 09:26 AM, said:

Thanks for testing. And too bad it didn't work :'(

It is such a pity. Recently my Internet Explorer 6 gave up its java capabilities overnight and I wasn't able to fix it. I didn't want to reinstall XP just yet so I started using Firefox, which I had installed for quite a while now - I just never used it. I really fell in love with Firefox in the last few days and a silent install like Mozilla (supposedly) would have been beautiful because the config.ini allows a very neat way to install and maintain plug-ins (which wouldn't be possible with a home made msi). The only flaw in my new browser of choice... no silent install... :)

#9 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 June 2004 - 11:55 AM

I never understood why people just didn't create a SFX archive from the ZIP download.....
I'll look into the installer....


well now.....wasn't too hard...
Replace the setup.exe included with Firefox and replace it with the one frmo Mozilla. Then it should work.... (as a note, your screen may go alittle crazy, but maybe it's because I tested it on Win98 :) )

#10 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 09 June 2004 - 01:15 PM

That's what I WAS doing and AM doing... (sfx) Only this method could have turned out to be better and easier...

#11 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 09 June 2004 - 01:31 PM

Alanoll, on Jun 9 2004, 11:55 AM, said:

well now.....wasn't too hard...
Replace the setup.exe included with Firefox and replace it with the one frmo Mozilla. Then it should work.... (as a note, your screen may go alittle crazy, but maybe it's because I tested it on Win98 :) )

Oh wow... I never thought of that....

I'm gonna try that right away...

HORRAY! It works! Firefox installs silently...
The only thing that failed is the installation of the plugins which i fiddled carefully into CONFIG.INI...

; List of components to install/enable for this Setup Type.
; All other components not listed here will be disabled if
; this Setup Type is selected.
C0=Component XPCOM
C1=Component Browser
C2=Component Uninstaller
C3=Component UK English Profile Defaults
C4=Component En GB lang pack
C5=Component UK region pack
C6=Component Google Bar
C7=Component FireSomething
C8=Component Sort Bookmarks
C9=Component Text Links
; Make sure Component QFA is LAST so 3rd party developers who might not want
; this component can easily remove it.
; C6=Component QFA


;#####################
;# CUSTOM COMPONENTS #
;#####################

[Component Google Bar]
Description Short=Google Bar
;*** LOCALIZE ME BABY ***
Description Long=Google's Toolbar ported for FireFox
Archive=googlebar0_8.xpi
Install Size=1025
Install Size System=0
Attributes=SELECTED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\install.js

[Component FireSomething]
Description Short=FireSomething
;*** LOCALIZE ME BABY ***
Description Long=All your branding are belong to Firesomething
Archive=firesomething.xpi
Install Size=1025
Install Size System=0
Attributes=SELECTED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\chrome\firesomething.jar

[Component Sort Bookmarks]
Description Short=Sort Bookmarks
;*** LOCALIZE ME BABY ***
Description Long=Sort bookmarks alphabetically
Archive=sortbookmarks.xpi
Install Size=1025
Install Size System=0
Attributes=SELECTED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\sortbookmarks.jar

[Component Text Links]
Description Short=Text Links
;*** LOCALIZE ME BABY ***
Description Long=Treats selected plain text urls as links, right click to open
Archive=textlink.xpi
Install Size=1025
Install Size System=0
Attributes=SELECTED|FORCE_UPGRADE
Force Upgrade File0=[SETUP PATH]\textlink.jar


#12 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 June 2004 - 02:46 PM

all their sizes are 1025? :)

#13 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 09 June 2004 - 03:07 PM

Alanoll, on Jun 9 2004, 02:46 PM, said:

all their sizes are 1025? :)

No, but the sizes given in the other components don't make sense... Its not the XPI file size not the number of files in the archive...etc... Slipstreaming extensions into Mozilla is still a mystery.

Oh yeah, I also found the first bug. Using the Mozilla installer the Firefox browser ist't added to the Add/Remove Programs list and the uninstaller isnt copied over for some reason...

#14 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 June 2004 - 03:12 PM

huh.....
well, then back to the drawing board....

did you use the 1.6 setup? or the 1.7?

#15 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 09 June 2004 - 03:45 PM

Alanoll, on Jun 9 2004, 03:12 PM, said:

did you use the 1.6 setup? or the 1.7?

I used the 1.6 installer because it is a stable build. Maybe we should try the 1.7...

#16 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 June 2004 - 04:34 PM

dunno

#17 User is offline   996 

  • Member
  • PipPip
  • Group: Members
  • Posts: 118
  • Joined: 19-September 03

Posted 10 June 2004 - 01:02 PM

The installer file versions for 1.6 and 1.7RC3 are the same.
I have to report that now Mozilla DOES show up in the add/remove programs dialog (as Mozilla Firefox 0.8). Maybe I was just too tired and overlooked it yesterday or the machine needs a reboot before this shows in the add/remove section...

I'm still working on slipstreaming extensions into the installer and any help towards that is greatly appreciated...

EDIT:
Firefox shows up in add/remove programs when NONE of the slipstreamed extensions in config.ini fails. Should one of these extensions fail to install, Firefox is installed correctly nontheless but the script aborts and the uninstaller isn't copied over to the installation directory and NOT added to the add/remove section.

#18 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 June 2004 - 12:39 PM

Hey Alanoll,996 & Bashrat!
carry on with the good work.

Looks like we are just 2 days of discussions away from *FORCING* this beast (moz installer) to work for us. My wishes are with you :tongue:

#19 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 11 June 2004 - 12:44 PM

I believe the Mozilla one works fine....

the only problem is the components/plugins....and that was some custom ones he included, not the presets.....

#20 User is offline   prathapml 

  • Follow the rules please :-)
  • Group: Patrons
  • Posts: 6,791
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 June 2004 - 01:06 PM

But I don't like Mozilla the monolithic browser-cum-email, WAAAAHHH!!!!!

And I'm sure even "The only problem" will be solved soon.

Share this topic:


  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • 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 - 2013 msfn.org
Privacy Policy