Jump to content

Firefox Setup 1.5.0.3 Switches List


urie

Recommended Posts

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 -h

Usage: 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


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

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

:P

Link to comment
Share on other sites

:thumbup

Why did you embark on such a difficult journey.

OK I feel generous today...just use silent switch

Mozilla-Firefox-1.5.0.3.exe -ms

Mozilla-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

Yeah but, for every user account I would need to run this script... there should be an easier way..

hmm could use AutoIt

; Execute Installer
If FileExists ( @ScriptDir & "\Firefox_1.5.0.3.exe" ) Then
Run ( @ScriptDir & "\Firefox_1.5.0.3.exe -ms" )
Else
Exit
EndIf

Do
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

Mozilla-Firefox-1.5.0.3.exe -ms

Ok 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.cmd

REG ADD %KEY%\005 /VE /D "FireFox 1.5" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f

:wacko:

Link to comment
Share on other sites

Mozilla-Firefox-1.5.0.3.exe -ms

Ok 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.cmd

REG ADD %KEY%\005 /VE /D "FireFox 1.5" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f

:wacko:

Maybey try renaming it without spaces.

REG ADD %KEY%\005 /VE /D "FireFox 1.5" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Firefox_Setup_1.5.0.3.exe -ms" /f

Edited by urie
Link to comment
Share on other sites

Mozilla-Firefox-1.5.0.3.exe -ms

Ok 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.cmd

REG ADD %KEY%\005 /VE /D "FireFox 1.5" /f
REG ADD %KEY%\005 /V 1 /D "%PP%Firefox Setup 1.5.0.3.exe -ms" /f

:wacko:

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

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

Your 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

  • 2 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...