Firefox has 388 inventory records, 82 Questions, 8 Blogs and 49 links. Please help add to this by sharing more!

Deployment Tips (39)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 1 / 5 (Very Easy) based on 3 ratings
Most Commonly Reported Deployment Method
Repackaged (to a setup.msi)

Deployment Tip Summary

hi , it seems silly question but its quite difficult me to find the solution, i have created .msi of mozilla firefox 3.6 but when i try to open the application on machine its been showing error called "couldn't read Application.ini.. pls any one give the solution for this .. thanks

172
Command Line

Silent install:

setup.exe -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
153
Command Line

Silent uninstallation:


"C:\Program Files\Mozilla Firefox\uninstall\helper.exe /S"


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
124
Note

-Capture the C:\Temp files/folders created by "Firefox Setup 3.0.exe

-Once you have these files these will be your source files

-Silent Install : setup.exe /S


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
122
Note

Using Wise Package Studio, captured the Mozilla installer, selecting the desired options.  Made adjustments to the Start Menu and install directory to mesh with corporate standards, removed the files captured in the installing account's directory, removed profile-specific INIs.  Compiled into an MSI and was able to distribute via Active Directory.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
20
Note

To disable the import wizard from prompting you to import settings and data create an override.ini file in the program folder (C:\Program Files\Mozilla Firefox\) and copy the following lines:


[XRE]

EnableProfileMigrator=false


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
17
Command Line

Mozilla changed the Silent install for FireFox 3.5.


The /s switch no longer works.


Instead use:  -ms


example:


{DIP}\APL\Firefox 3.5\FirefoxSetup35\setup.exe -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
14
Command Line

The recommendation is to use the /INI switch.

http://wiki.mozilla.org/Installer:Command_Line_Arguments


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
14
Command Line

To make firefox default browser silently, use following command:


"C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /SetAsDefaultappGlobal


To remove desktop and Quick Launch shortcuts, use following command:


"C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /Hideshortcuts


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
12
Note

Useful for all versions. (This made for 3.5.5)

Unpack files by starting the installer and go to %temp%. (Write %temp% in explorer address bar)

Copy the files and abort the installation.


Create config.ini file with the content below:

[Install]

QuickLaunchShortcut=false

DesktopShortcut=false


More alternatives: http://wiki.mozilla.org/Installer:Command_Line_Arguments


Use commandline:

setup.exe /INI=\\path\config.ini


The installation will be silent without progress bar. Nothing will show up for the user.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
12
Command Line

3.6

Full unc & no combination of /S, ms, /ini


c:\firefox3.6\setup.exe" /INI="c:\firefox3.6\firefox.ini"


Ini:

[Install]

InstallDirectoryName=Mozilla Firefox

QuickLaunchShortcut=false

DesktopShortcut=false


Copy 'override.ini' file in your c:\Program Files\Mozilla Firefoxini

  [XRE]

EnableProfileMigrator=false


To change personal setting (for instance: 'auto update')

Copy firefox.js in C:\Program Files\Mozilla Firefox\defaults\pref

with settings like

"app.update.enabled", false

where default is true


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
11
Command Line

I'd like to add to the above, that without any fancy customization you can set all of the default settings by launching "firefox -p" from a command line, creating a new profile located at %PROGRAMFILES%\Mozilla Firefox\defaults\profile, and then copying that profile down to a machine in the same location just after install.  This will force firefox to copy your customized profile as the template whenever firefox is launched for the first time.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
10
Note

To set the default homepage for new users, edit the following file:


C:\Program Files\Mozilla Firefox\browserconfig.properties


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
6
Command Line

For a silent install of v3.0.5, I recommend the following:


"<install directory>\Firefox Setup 3.0.5.exe" /S


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
6
Command Line

FF 3.5.7 installs silently with

"Firefox Setup 3.5.7.exe" -ms /INI=firefox.ini


whereas firefox.ini in my case was:

[Install]

CloseAppNoPrompt=false

DesktopShortcut=true


Some more infos in the Mozilla wiki at
https://wiki.mozilla.org/Talk:Installer:Command_Line_Arguments

(combine two lines of URL if broken)


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
6
Command Line

FIREFOX_3.5.8


Installation Commmand Line:

Firefox_Setup_3.5.8.exe /S /INI=<path to ini file>Firefox3.5.8.ini


Silent Un-installation command line:

"%ProgramFiles%\Mozilla Firefox\uninstall\helper.exe" /S


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
5
Command Line

To install or update 2.x, 3.x versions (keeping the user profiles)


> "Firefox Setup 3.5.6.exe" -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

If you want to apply specific settings for Firefox deployment you need to customize "prefs.js" file in the  %ProgramFiles%\Mozilla Firefox\defaults\profile folder.


Necessary preferences can be taken from http://www.mozilla.org/unix/customizing.html#prefs or, you can set up installed Firefox yourself and replace "prefs.js" file from %AppData%\Mozilla\Firefox\Profiles\<number>.default\ with "prefs.js" in Installation directory (mentioned in the beginning).


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

Deploying a new certificate in Firefox, post installation.


Download NSS Certutil somewhere here: https://developer.mozilla.org/NSS_3.12.4_release_notes


And NSPR: http://www.mozilla.org/projects/nspr/release-notes/nspr482.html


Download and copy all the files into folder nsstools.

Copy the *.cer file into the folder.


Make a .cmd file something like this:


rem @echo off

rem this expects NSS certutil, its required libraries and %CACERT%

rem to be in directory %SOFTWARE%\nsstools

set SOFTWARE=\\Server\software

set CACERT=certificate.cer

set CACERTNAME=certificate

set USERSTORAGE="%APPDATA%"


rem test if cert already installed (and copied into appdir)

if exist "%APPDATA%\%CACERT%" goto end


:install

rem copy nsstools with cert to the PC, install for ff

xcopy /S/C/I/Q/Y "%SOFTWARE%\nsstools" "%TEMP%\nsstools"


:ff

if not exist "%APPDATA%\Mozilla\Firefox\Profiles" ( echo no Firefox profile found

) else (

for /D %%X in ("%APPDATA%\Mozilla\Firefox\Profiles\*") do "%TEMP%\nsstools\certutil" -A -n "%CACERTNAME%" -t "TC,TC,TC" -i "%TEMP%\nsstools\%CACERT%" -d "%%~fX"

)


:postinstall

rem copy cert into users appdir to show we're done and delete nsstools

copy /Y "%SOFTWARE%\nsstools\%CACERT%" "%APPDATA%\%CACERT%"

if exist "%TEMP%\nsstools" del /S/Q "%TEMP%\nsstools"


:end


OK, now edit the -t option or whatever option, to your needs. Info on the certutil application can be found here:
http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html#1034010


Its supposed to work with .crt files also.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Command Line

For Firefox (3.5.4) 3.5.4 (en-US) I used the following...


Full Command Line: "firefox setup 3.5.4.exe" -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

FIREFOX 3.5.8 Auto-Update


Auto update is disabled by copying file “firefox.js” to “Program Files\Mozilla Firefox\defaults\pref” and changing setting "app.update.enabled", false.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Command Line

ForFirefox (3.6.6) 3.6.6 (en-US) I used the following...


Full Command Line: "firefox setup 3.6.6.exe" -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

I used the Firefox Add-on Maker to make a custom exe build of Firefox that would install silently and not have shortcuts (there are a lot more options available), download at http://sourceforge.net/projects/firefoxaddonmak/files/


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

To disable the Firefox first run page, create the following file:


C:\Program Files (x86)\Mozilla Firefox\defaults\profile\user.js


Containing the following line:


user_pref("browser.startup.homepage_override.mstone", "rv:1.9.2.12");


The above setting gets written by Firefox to the following location when a user's profile is created, so it might change one day (keep an eye on it in case a newer version does something different; I'm using 3.6.12 at time of writing):


%USERPROFILE%\AppData\Roaming\Mozilla\Firefox\Profiles\????????.default\prefs.js


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
4
Note

Automatic Update (Background)

=============================


Applies to:  Firefox 3.6.x

Tested with: Firefox 3.6.11/3.6.12 on Windows XP Pro 32bit


If you want to use the automatic background update of firefox, consider the following:


Download behavior:

------------------


By default, updates are being downloaded in background in intervals of 24hours and start 10min after browser startup. At this point the updater downloads only a chunk of 300'000 Bytes of an available update to %userprofile%\local settings\application data\mozilla\mozilla firefox\updates\0\update.mar.

It therefore might take a while until the update is completely downloaded and installed, depending on the following factors:


- size of the update

- how often a user launches firefox

- how long a user keeps the browser open


We improved the download/installation behavior on our site by adding the following preference settings (prefs.js).


Required preferences:

---------------------


          // enable/overwrite autoupdate settings

          user_pref("app.update.auto", true);

          user_pref("app.update.autoUpdateEnabled", true);

          user_pref("app.update.enabled", true);


          // download all background updates at once (instead of DOWNLOAD_CHUNK_SIZE (300KB) each backgroundInterval (10min))

          user_pref("app.update.download.backgroundInterval", 0);


          // reset background update related timers (enforce update 1min after application start)

          user_pref("app.update.lastUpdateTime.addon-background-update-timer", 0);

          user_pref("app.update.lastUpdateTime.background-update-timer", 0);

          user_pref("app.update.lastUpdateTime.blocklist-background-update-timer", 0);


          // download all updates, ignore compatibility conflicts

          user_pref("app.update.mode", 0);


          // interval in [ms] to check whether a timer needs to fire (1min)

          user_pref("app.update.timer", 60000);


          // interval in [s] in which mozilla.org will be checked for updates (24h)

          user_pref("app.update.interval", 86400);


          // updates will be downloaded silently. installation occurs on next browser restart. no notification to the user about available updates.

          user_pref("app.update.silent", true);


With these settings the update will be downloaded 1min after the browser started up and will be installed on next browser startup unattended.


Required privileges:

--------------------


The background updater currently needs adminstrative privileges. To enable the updater to work as a regular user, additional file/registry permissions are necessary.

As a side effect, a regular user (no admin privileges) can uninstall Firefox. In our case this was desired.


privileges added: "Full" privileges to BUILTIN\Users


affected files/folder:


- C:\Program Files\Mozilla Firefox

- C:\Documents and Settings\All Users\Start Menu\Mozilla Firefox

- C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk


affected registry locations:


- HKLM\Software\mozilla.org

- HKLM\Software\Mozilla

- HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall (awful, I know)


regards,

Nik


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
3
Note

FIREFOX 3.5.8 Auto-Update


Auto update is disabled by copying file “firefox.js” to “Program Files\Mozilla Firefox\defaults\pref” and changing setting "app.update.enabled", false.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
3
Note

Installing extensions globally and resolving false compatibility errors.


From http://www.appdeploy.com/messageboards/tm.asp?m=57251&mpage=1


Packaged Firefox using setup capture and including this add-on here: https://addons.mozilla.org/en-US/firefox/addon/51892 (GPO For Firefox) which was installed globally.


I modified the ADM to include extension.checkCompatibility.3.6 and set it to false in the GPO object.


I then had to modify C:\Program Files\Mozilla Firefox\defaults\pref\firefox.js and add the line:


pref("extensions.checkCompatibility.3.6", false);

This pref doesn't exist by default so it needs to be specified before the GPO can control it. For those that don't intend to use GPO objects, lockpref() can be used instead to set it in the package.


Note: This approach isn't reccomended if you're not intending to lock down XPI installations, as users will be able to install incompatible extensions.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
3
Note

Further to my previous note, here's a link that explains this particular setting:

http://kb.mozillazine.org/Browser.startup.homepage_override.mstone


Instead of a value like "rv:1.9.2.12", set it to "ignore" and users will never get that page, even if you upgrade to a newer version.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
2
Command Line

For Firefox (3.6) 3.6 (en-US) I used the following...


Full Command Line: "Firefox Setup 3.6.exe" -ms


Be sure to include the quotes.  Would like to see a better way of applying custom settings for mozilla stuff.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
2
Note

Instead of customizing the start page after install, unpack the Firefox Setup 3.x.x.exe using an archiver (Winzip, WinRAR, etc...), find browserconfig.properties in the "localized" folder and set browser.startup.homepage to whatever you want.


Repack the whole thing in a new executable that launches setup.exe when it is opened.  I use IExpress for this step.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
2
Note

Uninstall all version FireFox:


(Script AutoIT)


if ProcessExists("firefox.exe") then

ProcessClose("firefox.exe")

EndIf

Uninstall_Firefox()

Exit


func Uninstall_Firefox()

$RegUninst="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"

$i=1

while 1=1

$var=RegEnumKey($RegUninst,$i)

If @error <> 0 then ExitLoop

$pos=StringInStr($var,"Mozilla Firefox",0)

if $pos>0 then

$VerFirefox=RegRead($RegUnInst & "\" & $var,"DisplayVersion")

$VerNum=StringLeft($VerFirefox,1)

$UnInstFirefox=RegRead($RegUnInst & "\" & $var,"UninstallString")

if $VerNum=1 Then

$Uninst=$UnInstFirefox & " -ms"

else

$Uninst=$UnInstFirefox & " /s"

EndIf

RunWait($Uninst)


EndIf

$i=$i+1

WEnd

EndFunc


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
2
Note

Import FireFox Certificat for all profiles.


1. Download CertUtil Tools here --> http://www.mozilla.org/projects/security/pki/nss/tools/index.html


2. Create Folder Import-Cert

3. In the folder Import-Cert, create folder bin and cert

4. Copie in bin folder: Certutile.exe and freebl3.dll, jss4.dll, libnspr4.dll, libplc4.dll, libplds4.dll, nss3.dll, nssckbi.dll, smime3.dll, softokn3.dll, ssl3.dll

5. Copie your certifcat in cert folder

6. Create Import-Cert.ini in Import-Cert folder

7. In the ini file:

        [Cert1]

        NickName=<<name certificat file>>

        Name=<<name certificat file>>.cer

        Trustargs= ",TC,"  (see http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html)

8. Copie Autoit script import_cert_FireFox.exe in Import-Cert folder




Script (AutoIT) for import_cert_FireFox.exe:


----------------------------------------------------------

#Include <File.au3>

#include <Process.au3>

;Variable

$bin = ExtractDirExe() & "bin\"

$cert = ExtractDirExe() & "cert\"

$inicert = ExtractDirExe() & "Import-Cert.ini"

$iniprofile = @AppDataDir & "\Mozilla\Firefox\Profiles.ini"


; Verification du process FireFox

if ProcessExists("firefox.exe") then

ProcessClose("firefox.exe")

EndIf


;Lecture du fichier INI Certificats et INI Profile


$varprofile = IniReadSectionNames($iniprofile)

If @error then

Exit

Else

for $i=1 to $varprofile[0]

if StringInStr($varprofile[$i],"Profile") Then

$pathProfile=IniRead($iniprofile, $varprofile[$i],"Path","")

$pathProfile1=StringReplace($pathProfile,'/','\')

$DirDB = (@AppDataDir & '\Mozilla\Firefox\' & $pathProfile1)

ReadCertIni()

EndIf

;msgbox(4096,'Nom du Certificat', $keyName)

Next

EndIf

Exit


func ReadCertIni()

$varcert = IniReadSectionNames($inicert)

If @error then

Exit

Else

for $j=1 To $varcert[0]

$KeyNickName=IniRead($inicert, $varcert[$j], "NickName", "")

$KeyName=IniRead($inicert, $varcert[$j], "Name", "")

$KeyTrust=IniRead($inicert, $varcert[$j], "Trustargs", "")

RunWait($bin & "certutil.exe -A -n" & " "& '"' & $KeyNickName & '"' & " " & "-t" & " """ & $KeyTrust & """ " & "-d" & "  """ & $DirDB & """ " & "-i" & " """& $cert & $KeyName & """ ","",@SW_HIDE)

Next

EndIf

EndFunc


Func ExtractDirExe()

local $drv,$dir,$name,$ext

  _PathSplit(@autoitExe,$drv,$dir,$name,$ext)

  return($drv & $dir)

EndFunc

-----------------------------------------------------------


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
2
Note

This website details how to deploy Firefox using SCCM (ConfigMgr).
http://mockbox.net/configmgr-sccm/174-install-and-configure-firefox-silently.html 


The process allows you to deploy the package with changes to the default configuration:

      -- Sets the proxy server details (example server - proxy.server.local:8080)

      -- Disables the 'Automatically check for updates' option

      -- Disables the 'Always check to see if Firefox is the default browser on startup' option

      -- Changes the download option 'Always ask me where to save files' to enabled.


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
1
Command Line

"~%dp0Firefox Setup 3.0.7.exe" -ms

copy ~%dp0override.ini "%programfiles%\Mozilla Firefox\"

copy /Y %~dp0firefox.js %programfiles%\Mozilla Firefox\defaults\pref\


where override.ini disable the Import Bookmark Wizard.

firefox.js contains your firefox default settings.

read more here


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
1
Command Line

For Firefox (3.6.11) 3.6.11 (en-US) I used the following...


Full Command Line: "Firefox Setup 3.6.11.exe" -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
1
Command Line

For Firefox 3.5.5 (en-US) I used the following...


Run Parameters: '-ms'


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
0
Terminal Services

You can install global add-ons / extensions for a shared pc like Windows 2003 Terminal Server with the following command line:


firefox.exe -install-global-extension <path>\myextension.xpi


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
-3
Command Line

Uninstall 3.6.8 silently using BAT file...


@echo off

SET LOG=%TMP%\firefox368_uninstall.log

echo %DATE% %TIME% searching for firefox uninstall helper... >%LOG%

If Exist "%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" (

GoTo REMOVE

) else (

Goto NOTFOUND

)


:REMOVE

echo %DATE% %TIME% uninstalling firefox 3.x... >>%LOG%

c:

"%PROGRAMFILES%\Mozilla Firefox\uninstall\helper.exe" /S

echo %DATE% %TIME% uninstalling completed... >>%LOG%

GoTo END


:NOTFOUND

echo %DATE% %TIME% firefox 3.x uninstaller was not found... >>%LOG%

GoTo END


:END


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
-3
Command Line

For Firefox (3.0.3) 3.0.3 (en-US) I used the following...


Full Command Line: "firefox setup 3.0.3.exe" -ms


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment
-17
Command Line

For Firefox 3.0.3 (en-US) I used the following...


Full Command Line: "C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /S


This will serve as an unattended silent install for Firefox 3.0.3


Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Please log in to comment

Inventory Records (388)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Firefox

Version

3.0.16 (en-GB)

Comments

Mozilla Firefox

Uninstall String

C:\Program Files\Mozilla Firefox\uninstall\helper.exe

Questions & Answers (82)

Questions & Answers related to Mozilla Firefox