Spad Posted June 4, 2004 Share Posted June 4, 2004 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/~fredrick/win2k/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.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 0Further down in the config.ini, locate this:[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 XPCOMC1=Component GREC2=Component NavigatorC3=Component UninstallerC4=Component US English Profile DefaultsC5=Component En US lang packC6=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 QFAAnd 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. Link to comment Share on other sites More sharing options...
my2001 Posted June 5, 2004 Share Posted June 5, 2004 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. Link to comment Share on other sites More sharing options...
prathapml Posted June 5, 2004 Share Posted June 5, 2004 Thanx spadvery 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. Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted June 5, 2004 Share Posted June 5, 2004 Would this also work for Firefox?? Thank you! Very usefull! Link to comment Share on other sites More sharing options...
prathapml Posted June 6, 2004 Share Posted June 6, 2004 The same method should work for firefox/thunderbird as well, since it uses the same installer. Link to comment Share on other sites More sharing options...
996 Posted June 7, 2004 Share Posted June 7, 2004 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.... Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted June 7, 2004 Share Posted June 7, 2004 Thanks for testing. And too bad it didn't work :'( Link to comment Share on other sites More sharing options...
996 Posted June 7, 2004 Share Posted June 7, 2004 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... Link to comment Share on other sites More sharing options...
Alanoll Posted June 9, 2004 Share Posted June 9, 2004 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 ) Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted June 9, 2004 Share Posted June 9, 2004 That's what I WAS doing and AM doing... (sfx) Only this method could have turned out to be better and easier... Link to comment Share on other sites More sharing options...
996 Posted June 9, 2004 Share Posted June 9, 2004 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 XPCOMC1=Component BrowserC2=Component UninstallerC3=Component UK English Profile DefaultsC4=Component En GB lang packC5=Component UK region packC6=Component Google BarC7=Component FireSomethingC8=Component Sort BookmarksC9=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 FireFoxArchive=googlebar0_8.xpiInstall Size=1025Install Size System=0Attributes=SELECTED|FORCE_UPGRADEForce Upgrade File0=[SETUP PATH]\install.js[Component FireSomething]Description Short=FireSomething;*** LOCALIZE ME BABY ***Description Long=All your branding are belong to FiresomethingArchive=firesomething.xpiInstall Size=1025Install Size System=0Attributes=SELECTED|FORCE_UPGRADEForce Upgrade File0=[SETUP PATH]\chrome\firesomething.jar[Component Sort Bookmarks]Description Short=Sort Bookmarks;*** LOCALIZE ME BABY ***Description Long=Sort bookmarks alphabeticallyArchive=sortbookmarks.xpiInstall Size=1025Install Size System=0Attributes=SELECTED|FORCE_UPGRADEForce 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 openArchive=textlink.xpiInstall Size=1025Install Size System=0Attributes=SELECTED|FORCE_UPGRADEForce Upgrade File0=[SETUP PATH]\textlink.jar Link to comment Share on other sites More sharing options...
Alanoll Posted June 9, 2004 Share Posted June 9, 2004 all their sizes are 1025? Link to comment Share on other sites More sharing options...
996 Posted June 9, 2004 Share Posted June 9, 2004 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... Link to comment Share on other sites More sharing options...
Alanoll Posted June 9, 2004 Share Posted June 9, 2004 huh.....well, then back to the drawing board....did you use the 1.6 setup? or the 1.7? Link to comment Share on other sites More sharing options...
996 Posted June 9, 2004 Share Posted June 9, 2004 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... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now