urie Posted May 3, 2006 Share Posted May 3, 2006 Here is compleate list of switches in firefox i don't know where some people are getting the -setdefaultbrowser it is not in the list,notes unpack firefox installer and run setup with -hUsage: setup.exe [options] [options] can be any of the following combination: -h: This help. -a [path]: Alternate archive search path. -app [app id]: ID of application which is launching the installer (shared installs) -app_path [app]: Points to (full path) representative file of application (Shared installs) * -dd [path]: Suggested install destination directory. (Shared installs) * -greLocal: Forces GRE to be installed into the application dir. * -greShared: Forces GRE to be installed into a global, shared dir (normally) c:\program files\common files\mozilla.org\GRE -reg_path [path]: Where to make entries in the Windows registry. (Shared installs) -f: Force install of GRE installer (Shared installs), though it'll work for non GRE installers too. -greForce: Force 'Component GRE' to be downloaded, run, and installed. This bypasses GRE's logic of determining when to install by running its installer with a '-f' flag. -n [filename]: Setup's parent process filename. * -ma: Run setup in Auto mode. * -ms: Run setup in Silent mode. -ira: Ignore the [RunAppX] sections -ispf: Ignore the [Program FolderX] sections that show the Start Menu shortcut folder at the end of installation. * -showBanner: Show the banner image in the download and install progress dialogs * -hideBanner: Hide the banner image in the download and install progress dialogs * -cleanupOnUpgrade: Tells Setup to check to see if user is upgrading (installing on top of previous version of product). If user is upgrading: * NORMAL mode: prompt user on how to proceed * All other modes: assume user wants to cleanup. * -noCleanupOnUpgrade: Tells Setup to not check if user is upgrading (installing on top of previous version of product). This will disable the cleanup feature. * means it will override config.ini Link to comment Share on other sites More sharing options...
ZileXa Posted May 3, 2006 Share Posted May 3, 2006 I always just use the -ms switch to do a silent install. Its a nice list though.Do you perhaps know how to disable the Import Wizard? Its useless for unattended use since ff will be installed on a clean system without IE bookmarks or such. I hate the Import Wizard! Link to comment Share on other sites More sharing options...
Nologic Posted May 3, 2006 Share Posted May 3, 2006 (edited) Deleted Edited May 5, 2006 by Nologic Link to comment Share on other sites More sharing options...
arabianhorse Posted May 4, 2006 Share Posted May 4, 2006 Why did you embark on such a difficult journey.OK I feel generous today...just use silent switchMozilla-Firefox-1.5.0.3.exe -ms Link to comment Share on other sites More sharing options...
svenby Posted May 4, 2006 Share Posted May 4, 2006 Does it simple. Unrar edit config.ini[General]; Run Mode values:; Normal - Shows all dialogs. Requires user input.; Auto - Shows some dialogs, but none requiring user input. It will; automatically install the product using default values.; Silent - Show no dialogs at all. It will install product using default; values.Run Mode=Silent Link to comment Share on other sites More sharing options...
urie Posted May 4, 2006 Author Share Posted May 4, 2006 Why did you embark on such a difficult journey.OK I feel generous today...just use silent switchMozilla-Firefox-1.5.0.3.exe -msMozilla-Firefox-1.5.0.3.exe -ms that is the switch i use myselfe just thought peeps would like to know all switches available to them Link to comment Share on other sites More sharing options...
ZileXa Posted May 4, 2006 Share Posted May 4, 2006 Yeah but, for every user account I would need to run this script... there should be an easier way..hmm could use AutoIt; Execute InstallerIf FileExists ( @ScriptDir & "\Firefox_1.5.0.3.exe" ) Then Run ( @ScriptDir & "\Firefox_1.5.0.3.exe -ms" )Else ExitEndIfDo Sleep ( 100 )Until WinExists ( "Import Wizard" )WinWaitActive ( "Import Wizard" )WinClose ( "Import Wizard" )ProcessClose ( "firefox.exe" )Heh or you could go the full AutoIt route: [link] Link to comment Share on other sites More sharing options...
Nologic Posted May 4, 2006 Share Posted May 4, 2006 (edited) Deleted Edited May 5, 2006 by Nologic Link to comment Share on other sites More sharing options...
Paradox Me Posted May 11, 2006 Share Posted May 11, 2006 Mozilla-Firefox-1.5.0.3.exe -msOk what gives? I did that and FF doesn't install! Am I missing something? I got "Firefox Setup 1.5.0.3.exe" directly from the mozilla.com site, put it into my $oem$ and added this to my runonceex.cmdREG ADD %KEY%\005 /VE /D "FireFox 1.5" /fREG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f Link to comment Share on other sites More sharing options...
urie Posted May 11, 2006 Author Share Posted May 11, 2006 (edited) Mozilla-Firefox-1.5.0.3.exe -msOk what gives? I did that and FF doesn't install! Am I missing something? I got "Firefox Setup 1.5.0.3.exe" directly from the mozilla.com site, put it into my $oem$ and added this to my runonceex.cmdREG ADD %KEY%\005 /VE /D "FireFox 1.5" /fREG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f Maybey try renaming it without spaces.REG ADD %KEY%\005 /VE /D "FireFox 1.5" /fREG ADD %KEY%\005 /V 1 /D "%PP%Firefox_Setup_1.5.0.3.exe -ms" /f Edited May 11, 2006 by urie Link to comment Share on other sites More sharing options...
weebl Posted May 11, 2006 Share Posted May 11, 2006 (edited) How do I avoid FF installing itself as the default browser using silent install? No switch for that as far I can see. Edited May 11, 2006 by weebl Link to comment Share on other sites More sharing options...
JuMz Posted May 11, 2006 Share Posted May 11, 2006 Mozilla-Firefox-1.5.0.3.exe -msOk what gives? I did that and FF doesn't install! Am I missing something? I got "Firefox Setup 1.5.0.3.exe" directly from the mozilla.com site, put it into my $oem$ and added this to my runonceex.cmdREG ADD %KEY%\005 /VE /D "FireFox 1.5" /fREG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f You have spaces in your path. This is going to cause problems. You have to follow a special set of characters to accomplish this (has to do with slashes). You can find the complete solution here:Applications that use Quotation Marks Link to comment Share on other sites More sharing options...
Djé Posted May 13, 2006 Share Posted May 13, 2006 Here is compleate list of switches in firefox i don't know where some people are getting the -setdefaultbrowser it is not in the listYour list of switches is for firefox SETUP, but -setdefaultbrowser is a switch for the application itself.You would have first to install Fx, and then to run it using this switch. But this is not silent at the moment and you would have to close (manually or AutoIt) Fx window. In the next version (1.5.0.4) they will normally add a -silent switch to do it unattended:firefox.exe -silent -setdefaultbrowser Link to comment Share on other sites More sharing options...
urie Posted May 13, 2006 Author Share Posted May 13, 2006 Djé, thanks for the explanation thats cleared things up Link to comment Share on other sites More sharing options...
COKEDUDEUSF Posted October 2, 2008 Share Posted October 2, 2008 Does anyone have updated switches? 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