Firefox has 126 inventory records, 90 Questions, 11 Blogs and 53 links. Please help add to this by sharing more!

Deployment Tips (23)

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

Deployment Tip Summary

For Re-Packaging Firefox, you can follow this link: http://msiworld.blogspot.com.au/2012/01/packaging-mozilla-firefox-901.html
or cancel
122
Note
In file "localized\browserconfig.properties" set browser.startup.homepage and browser.startup.homepage_reset to your preferred homepage

In file "localized\defaults\pref\firefox-l10n.js" add lines to change settings like the connection settings or warning on submitting insecured info:
pref("network.proxy.share_proxy_settings", true); // use the same proxy settings for all protocols
pref("network.proxy.ftp", "proxy");
pref("network.proxy.ftp_port", 8080);
pref("network.proxy.gopher", "proxy");
pref("network.proxy.gopher_port", 8080);
pref("network.proxy.http", "proxy");
pref("network.proxy.http_port", 8080);
pref("network.proxy.no_proxies_on", "localhost, 127.0.0.1, 192.168.0.0/16, 10.0.0.0/8");
pref("network.proxy.ssl", "proxy");
pref("network.proxy.ssl_port", 8080);
pref("network.proxy.type", 1);
pref("security.warn_submit_insecure", false);

Customize file "localized\defaults\profile\bookmarks.html".

Extract nonlocalized\chrome\browser.jar
Edit the migration.js file in the "content\browser\migration" folder, commenting out 2 lines and inserting 2 new lines like this:
if (this._autoMigrate) {
// Show the "nothing" option in the automigrate case to provide an
// easily identifiable way to avoid migration and create a new profile.
// var nothing = document.getElementById("nothing");
// nothing.hidden = false;
document.documentElement.cancel();
return;
}
If you want to permanently disable the import window, even when a user clicks on import in the file menu, then move the two inserted lines to above the "if (this._autoMigrate) {" line.
Now rebuild the browser.jar file.

If you want to add an extension extract it in "nonlocalized\extensions".
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
121
Command Line
I use this command to deploy to my clients:

start /wait Firefox2.0.exe -ms -ira
del "C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
121
Note
I have created an MSI for this Firefox. I wanted to have the proxy settings and the home page setup via the MSI install.

Details:
- Capture the C:\Temp files/folders created by "Firefox Setup 2.0.exe"
- Once you have these files these will be your source files.
- Run the setup.exe from your source files. Once you have run through your setup...Lauch Firefox and setup your proxy settings.
- Copy C:\Documents and Settings\%USERNAME%\Application Data\Mozilla\Firefox\Profiles\dajstr19.default\prefs.js and replace the prefs.js in your source files.
- In your source files there will be a browserconfig.properties file. Edit it with notepad and set your web page up. It should look like this:

browser.startup.homepage=http://www.appdeploy.com

- Create your MSI without capturing any user data.

Final thoughts:
- After the MSI is loaded on a machine the Firefox logic will copy the files needed to setup a users profile needed to use Firefox as these are per user settings. Finally, they (the user) will get prompted with a Import Wizard to migrated Bookmarks, History, Password and other data from MS Internet Explorer. This is a one time prompt and the user can cancle without ever seeing the propmt again. No self-healing...

You can relaunch the Import Wizarded by editing C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\profiles.ini. Change ISRelative=1
to ISRelative=0 and relaunch Firefox...
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
120
Note

I used AdminStudio to package Fx2 as an MSI. Deploys great, with one minor issue. The included js3250.dll file is always versioned at 4.0.0.0, no matter which Mozilla build (or product!) you're working with. So, to get the MSI to update an existing installation, you must set that file to "Copy Always."

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
120
Note
I found the easiest non-MSI route was to extract all the support files from the temp directory, then run the installer, configure a blank profile as I want it and copy that profile back into localized\defaults\profile. We also package IETab in with our distribution, so I included the extension folder in nonlocalized\extensions which installs extensions for all users (C:\Program Files\Mozilla Firefox\extensions is the "All Users" equivalent for extensions). That way, even if a user already has a profile, the extension will become available to them regardless.

For distribution I use 7-zip to zip up the installer files, then package it into a self-extracting, self-running .exe file (just like Mozilla does). The result is that it looks exactly like the OEM installer, except that it is a little smaller and installs with all my options preset.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
120
Note
Here is a VB Script to replace the desktop shortcut

'Firefox_Static_Desktop_Icon.vbs
'Author: Nathan Felton
'Date: 08/02/07
'Purpose: To remove the shortcut created by default by the Mozilla Firefox installer and replace
' it with a static icon with more options.
'Credit: Based on .reg files created by Collin Grady at http://collingrady.com/2004/12/12/firefox-static-desktop-icon/

Dim objFSO,objShell
Set objFSO = CreateObject("scripting.filesystemobject")
Set objShell = CreateObject("WScript.Shell")

If objFSO.FileExists("C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk") Then
objFSO.DeleteFile "C:\Documents and Settings\All Users\Desktop\Mozilla Firefox.lnk",True
End If

objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\","Firefox"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\InfoTip","Mozzilla Firefox"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\DefaultIcon\","C:\Program Files\Mozilla Firefox\firefox.exe,0"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\","&Open"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Open\",""
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Open\Command\","C:\Program Files\Mozilla Firefox\firefox.exe"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Options\","Op&tions"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Options\Command\","C:\Program Files\Mozilla Firefox\firefox.exe -chrome chrome://browser/content/pref/pref.xul"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Profile Manager\","&Profile Manager"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Profile Manager\Command\","C:\Program Files\Mozilla Firefox\firefox.exe -p"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Safe Mode\","&Safe Mode"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\Shell\Safe Mode\Command\","C:\Program Files\Mozilla Firefox\firefox.exe -safe-mode"
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\ShellEx\",""
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\ShellEx\PropertySheetHandlers\",""
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\ShellEx\PropertySheetHandlers\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\",""
objShell.RegWrite "HKCR\CLSID\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\ShellFolder\Attributes","0","REG_DWORD"
objShell.RegWrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{0011C78C-4B81-41d2-80F5-3D992DD9ACC7}\",""
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
120
Command Line
ForFirefox v2.0.0.9 (en-US) I used the following...

start /wait Firefox2.0.exe -ms -ira
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
120
Command Line
Silent Install with the Normal Firefox download:
"Firefox Setup 2.0.0.14.exe" /S /ira

Silent Uninstall from a standard install:
"C:\Program Files\Mozilla Firefox\uninstall\helper.exe" /S

I tested the above with a direct Firefox download using the following link:
http://www.mozilla.com/products/download.html?product=firefox-2.0.0.14&os=win&lang=en-US
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Command Line
Uninstall string is as follows


regsvr32 /u /s "c:\program files\google\googletoolbar1.dll"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Command Line
Global Extension: I used the below command line to register Firefox extensions as global, so every user who uses the app will have these pre-loaded.

firefox.exe -install-global-extension <path>

http://kb.mozillazine.org/Command_line_arguments
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Note
Here's some VBScript code that will remove previous versions...

Option Explicit
const HKEY_CLASSES_ROOT = &H80000000
const HKEY_CURRENT_USER = &H80000001
const HKEY_LOCAL_MACHINE = &H80000002
const HKEY_USERS = &H80000003

Dim objWshShell, objFSO, objWMI, WshEnv
Dim ProgramFiles, strScriptFileDirectory

Set objWshShell = WScript.CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objWMI = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\.\root\cimv2")
Set WshEnv = objWshShell.Environment("PROCESS")
ProgramFiles = objWshShell.ExpandEnvironmentStrings("%ProgramFiles%")
strScriptFileDirectory = objFSO.GetParentFolderName(wscript.ScriptFullName)

ExecuteApplicationItems

Wscript.Quit



' ~$~----------------------------------------~$~
' FUNCTIONS & SUBROUTINES
' ~$~----------------------------------------~$~
Sub ExecuteApplicationItems
Dim strSubKey

' Attempts to remove old previous Mozilla Firefox installations.
If objFSO.FileExists (ProgramFiles & "\Mozilla Firefox\uninstall\uninst.exe") Then
objWshShell.Run """" & ProgramFiles & "\Mozilla Firefox\uninstall\uninst.exe"" /S", 1, True
End If
If objFSO.FileExists (ProgramFiles & "\Mozilla Firefox\uninstall\helper.exe") Then
objWshShell.Run """" & ProgramFiles & "\Mozilla Firefox\uninstall\helper.exe"" /S", 1, True
End If

strSubKey = DetermineSubKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Classes\Installer\Products","ProductName","Mozilla Firefox")
If Not strSubKey = "" Then
DeleteRegistryKey HKEY_LOCAL_MACHINE, strSubKey
End If
End Sub

' ~$~----------------------------------------~$~
Function DetermineSubKey(strRegRoot,strKeyPath,strValueName,strPattern)
' Attempts to check the subkeys in order to locate and delete the correct subkey that matches the submitted text pattern.
Dim objReg, RegExp, subkey, arrSubKeys, strValue, strCheckKey, strKey

On Error Resume Next

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv")
Set RegExp = new RegExp
RegExp.IgnoreCase = true
RegExp.Pattern = strPattern
objReg.EnumKey strRegRoot, strKeyPath, arrSubKeys
strKey = ""

For Each subkey In arrSubKeys
strValue = ""
strCheckKey = strKeyPath & "\" & subkey
' Attempts to obtain the submitted subkey value.
objReg.GetStringValue strRegRoot,strCheckKey,strValueName,strValue

If Not IsNull(strValue) Then
If (RegExp.test (strValue) = TRUE) Then
strKey = subkey
End If
End If
Next

If strKey = "" Then
DetermineSubKey = ""
Else
DetermineSubKey = strKeyPath & "\" & strKey
End If
End Function

' ~$~----------------------------------------~$~
Sub DeleteRegistryKey(RegRoot, strPath)
' Attempts to delete all subkeys and values before deleting the parent registry key.
Dim strRegistryKeys, SubKeyCount, objRegistry, lRC, lRC2, strKey

On Error Resume Next

Set objRegistry = GetObject("winmgmts:root\default:StdRegProv")
lRC = objRegistry.EnumKey(RegRoot, strPath, strRegistryKeys)

If IsArray(strRegistryKeys) Then
For each strKey in strRegistryKeys
DeleteRegistryKey RegRoot, strPath & "\" & strKey
Next
End If

lRC2 = objRegistry.DeleteKey(RegRoot, strPath)
End Sub
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
119
Command Line
Set Firefox to be the default browser:
firefox.exe -silent -nosplash -setDefaultBrowser
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
118
Command Line
Silent installation:
/S or -ms
-ms is deprecated

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

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
Google toolbar installation notes:

First off i install the application as suggested above with switched /q /d. Many of the setting for this application can be configured in the HKEY_CURRENT_USER\Software\Google part of the registry. Aside from these settings the autofill data and its checkbox enable option are stored in the a file "C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\Google\Autofill.dat" Configure the application and check or uncheck this option, copy this to all computer when you perform the installation(only if it should be unchecked or there is information you would like configured). Lastly go to all known sites that you do not want popup blocking to interfere. After you've maked all sites which should accept popups export the 2 reg keys:
HKEY_CURRENT_USER\Software\Google\NavClient\1.1\whitelist\allow2 (list of permitted sites)
HKEY_CURRENT_USER\Software\Google\NavClient\1.1\whitelist\lastmod (some hash number based upon added sites)
Because of this hash number you are not able to simply edit the "allow2" list of accepted sites, if you do you MAY break your current list of accepted sites.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note

I don't believe that lastmod is a hash that prevents you from altering the whitelist. It's just a modification date value. As long as you have a valid value then Google should still use the modified whitelist.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
The "lastmod" is a date/time stamp in universal time, in the form of the number of seconds from midnight 1970. This is a fairly common programming timestamp.

Simply add the number of seconds from midnight 1/1/1970, and convert to your local time zone (eastern time is -5 hours), and you've got it.

Example: 1100879851 becomes 11/19/2004 10:57:31 AM
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Virtualization

A ready-to-go sequenced package for SoftGrid is avaiable at instantapp.net.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
116
Command Line
From the command line, type '/q' to run the file. You can install the toolbar without its advanced features by adding "/q /d" [d = disable] to the command line.

Source: Deploying the Google Toolbar
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
116
Command Line
For google toobar 4.00. and up the following uninstall command worked for me:

MsiExec.exe /x{DBEA1034-5882-4A88-8033-81C4EF0CFA29} /quiet
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
116
Note
For Firefox 2.0.0.4:
- Download Setup
- Extract Setup into a folder (e.g. with WinRAR)

INSTALLATION
============
Start "setup.exe /S"
=> Setup will start installing Firefox with default preferences.

PREFERENCES
===========
Want to change something? nonlocalized\defaults\pref is the folder of choice. Edit the .js files contained within this folder to change default preferences

UNINSTALL
=========
execute
[program files folder]\Mozilla Firefox\uninstall\helper.exe /S
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Command Line
Silent uninstall for Firefox Versions 2.0 and 2.0.0.1

"C:\Program Files\Mozilla Firefox\uninstall\uninst.exe" /s
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
1
Note

For Re-Packaging Firefox, you can follow this link:

http://msiworld.blogspot.com.au/2012/01/packaging-mozilla-firefox-901.html

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
0
Note
Google Updater Service is not aware of Peroxy Server settings. This script can be used to get rid of the Updater Service.

option explicit
on error resume next

dim objWMI , objSVC
dim strSVC , x

set objWMI = GetObject("winmgmts:\\.\root\cimv2")
strSvc = "gusvc"
set objSVC = objWMI.Get("Win32_Service.Name='" & strSVC & "'")

x = objSVC.StopService
WScript.Sleep 10000
if (x = 0) or (x = 5) then
x = objSVC.Delete
end if
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (126)

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

Versions

Firefox

Version

2.0.0.10-3.fc8

Contact

Fedora Project

Comments

Mozilla Firefox Web browser.

Questions & Answers (90)

Questions & Answers related to Mozilla Firefox

2
ANSWERS
6
ANSWERS
7
ANSWERS
23
ANSWERS
17
ANSWERS
39
ANSWERED
2
ANSWERS
0
ANSWERS
9
ANSWERS
0
ANSWERS
5
ANSWERS
1
ANSWERS
13
ANSWERS
0
ANSWERS
6
ANSWERS
3
ANSWERS

Reviews (0)

Reviews related to Mozilla Firefox