Help - Search - Members - Calendar
Full Version: Firefox 1.0.1 Silent Switch (-ms) Working!
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
DigeratiPrime
I just tested it 'Firefox Setup 1.0.1.exe' will install silently with JUST the -ms switch.
Much Nicer smile.gif
iwod
Now we need a way to Auto install extensions.
SiMoNsAyS
that would be really nice, i'll still preffer to edit the installer to add my settings, place custom plugins and so on
Nologic
In SiMoNsAys FF thread I have some code that will install extensions and themes post FF install.

I still haven't looked at the 1.01 update...maybe they have fixed the issue that I'm having of adding extensions and themes directly to the installer with out me needing to automate the repackaging of the extensions...maybe I'll get around to it....tho the rough in code for this is also listed in simons thread.

So any one that wonts to get thier hands dirty go a head, but be sure to post your results when done. smile.gif
jrf2027
I just completed an uninstall of Firefox 1.0 and an install of 1.0.1, keeping all my plugins and search plugins by doing this:

First, I downloaded FFDeploy.exe from Bob Templeton's site.

Next, I ran FFDeploy, selected the Firefox directory, did not import favorites, and did not create .exe file. Then, in the Firefox_Deployment directory created on the desktop, I deleted all but the GlobalProfiles, Plugins, and Searchplugins folders and the CreateProfile.vbs file. (CreateProfile.vbs is placed in the directory by FFDeploy.)

(Why not just use FFDeploy to make the entire installation? Because Firefox isn't technically "installed" then, it doesn't appear in the Add/Remove Programs dialog, and this allows you to use your same settings with a compatible version of Firefox, not just reinstall your original installation.)

After that, I made a WinRAR SFX file of the remaining file and folders, using the following comment:

CODE
;The comment below contains SFX script commands

Path=C:\Program Files\Mozilla Firefox\
SavePath
Setup="C:\Program Files\Mozilla Firefox\CreateProfile.vbs"
Silent=2
Overwrite=1
Title=Firefox Unattended Customization Setup


Then, I uninstalled Firefox 1.0, and manually deleted the following folder: C:\Documents and Settings\(username)\Application Data\Mozilla.

I then renamed the 1.0.1 installation "Firefox.exe", for simplicity, and ran the following using RunOnceEx:

CODE
REG ADD %KEY%\260 /VE /D "Mozilla Firefox 1.0.1" /f
REG ADD %KEY%\260 /V 1 /D "D:\Install\Firefox\Firefox.exe -ms" /f
REG ADD %KEY%\260 /V 2 /D "D:\Install\Firefox\Custom.exe" /f


(No, that doesn't mean I have 259 other programs installing before Firefox... biggrin.gif )

All settings are intact. It's like I never uninstalled it at all. Windows even still recognized Firefox as the default browser.

I don't have a very complex installation of Firefox, so this works for me...just thought I'd share my way of doing it, in case somebody happens to find it useful.

EDIT: I've never tried doing it this way with extensions, but there is an extensions folder in the Firefox_Deployment folder after FFDeploy runs - if somebody is willing to try it, let us know how it works.

Also, when Firefox runs for the first time on a new machine, it will ask you if you want to set it as the default browser. To prevent IE 6.0 from nagging you about being the default browser, put the following registry key into your registry tweaks:

CODE
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Internet Explorer\Main]
"Check_Associations"="no"


I haven't verified this is the only registry tweak needed to prevent IE from nagging you - there may be, and are probably, other tweaks which do the same thing, and I will update as I find them.

Overall - this allows for somebody with intermediate skills, who isn't a programmer, to easily create a custom Firefox installation.
rendrag
seems easy enough... will have to include it in my next build... very nice
lilweirddude
thanks for the switch
the other methods of intregrating custom profiles still works right?
hmaster10
CODE
@echo off
cmdow @ /HID

for %%e in ("%SYSTEMDRIVE%\Firefox\XPI\*.xpi") do "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -install-global-extension "%%e"


this still works for installing extensions for 1.0.1
SiMoNsAyS
@hmaster10, yes it works, tested here too...

i'm working on something... my firefox thread will be updated soon with nice features...
a06lp
maybe start a new thread, for v1.0.1 (the other thread is kind of cluttered anyways)
bmn
QUOTE (hmaster10 @ Feb 26 2005, 07:32 PM)
CODE
@echo off
cmdow @ /HID

for %%e in ("%SYSTEMDRIVE%\Firefox\XPI\*.xpi") do "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -install-global-extension "%%e"


can i use ("%cdrom%\Firefox\XPI\*.xpi") here
hmaster10
yes, but it should be executed after firefox first run, beacuse it would conflict

**first run -> refers to, after running firefox once which is the "Import Settings" and "Browser Check Default"

how to suppress the asking of firefox "import settings" during first run ?
bacd
QUOTE (bmn @ Feb 27 2005, 12:23 AM)
QUOTE (hmaster10 @ Feb 26 2005, 07:32 PM)
CODE
@echo off
cmdow @ /HID

for %%e in ("%SYSTEMDRIVE%\Firefox\XPI\*.xpi") do "%PROGRAMFILES%\Mozilla Firefox\firefox.exe" -install-global-extension "%%e"


can i use ("%cdrom%\Firefox\XPI\*.xpi") here
*



I believe you can so long as you define the variable as you do in your other cmd files for yoru install...

but you will get the import settings problem as well...
RBCC
welcome.gif blink.gif confused.gif Where is the CreateProfiles.vbs file I looked through my hard disk and couldn't find it can I download it somewhere? John
Telenut
QUOTE (hmaster10 @ Feb 27 2005, 04:21 PM)
how to suppress the asking of firefox "import settings" during first run ?
*


Need that one too, same for Thunderbird.
And I would like to set both as 'default'. (Guess the answer to this question can be found in the forum someware...)
SiMoNsAyS
QUOTE (hmaster10 @ Feb 27 2005, 04:21 PM)
how to suppress the asking of firefox "import settings" during first run ?
*

CODE
md /y "%userprofile%\Mozilla\Firefox\Profiles"
"%programfiles%\mozilla firefox\firefox.exe" -CreateProfile profilename "%userprofile%\Mozilla\Firefox\Profiles"

then launch XPIs cmd. note that i writted it from memory but it MUST work.
Telenut
Works perfect!
Except the adblock extension :s
And I realy love that one

Code for thinderbird:
CODE
md /y "%userprofile%\Mozilla\ThunderBird\Profiles"
"%programfiles%\mozilla thunderbird\thunderbird.exe" -CreateProfile profilename

"%userprofile%\Mozilla\thunderbird\Profiles"
(this was easy tongue.gif )
SiMoNsAyS
hahaha! laugh.gif
we are aware of adblock, check the latest posts on "guide: mozilla firefox unattended" there is a link for an adblock xpi provided by nologic that works perfect with this method smile.gif
jrf2027
QUOTE (RBCC @ Mar 4 2005, 02:16 AM)
welcome.gif  blink.gif  confused.gif  Where is the CreateProfiles.vbs file I looked through my hard disk and couldn't find it can I download it somewhere?  John
*


QUOTE (jrf2027 @ Feb 25 2005, 10:12 PM)
First, I downloaded FFDeploy.exe from Bob Templeton's site.

Next, I ran FFDeploy, selected the Firefox directory, did not import favorites, and did not create .exe file.  Then, in the Firefox_Deployment directory created on the desktop, I deleted all but the GlobalProfiles, Plugins, and Searchplugins folders and the CreateProfile.vbs file.  (CreateProfile.vbs is placed in the directory by FFDeploy.)

*
Telenut
Found it: http://www.msfn.org/board/index.php?showto...06&#entry261706
This forum sucks if you need te find something :s
Is there no search plugin available for the msfn board to integrate in firefox ?
SiMoNsAyS
search is ok, you only need to know how to use it tongue.gif
http://www.msfn.org/board/index.php?showtopic=36149
Telenut
When I search for "firefox search plugin" on this forum I get a lot of results, bot most of them useless... using google to search this forum works better.
Maybe change the plugin to use google to search the forum?
scankurban
Many guys trying to hard ways.I think its so easy.Firefox setup is self extracting 7zip archive.Just extract and edit config.ini

replace or change all "Show Dialog=TRUE" to "Show Dialog=FALSE"

and "Launch App Checked=TRUE" to "Launch App Checked=FALSE"

repackage setup files any self extracting archive utility thats it.
SiMoNsAyS
@scankurban, if you want it really easier just add the -ms switch on the command line, that is.
our objetive is to create a customized installation with a default profile, extensions, themes, preferences... that's why there are multiple threads open with a similar content newwink.gif
graysky
Aside from the -ms switch... what are some other options for silent installs? Do you have a link that details other switches and their behaviors? Thanks!

(I'm very interested in having FF become my default browser on install without adding reg keys... there has to be a switch that does it.)
doubleM
very good!




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.