Closed Bug 440704 Opened 16 years ago Closed 16 years ago

Installer sets Firefox 3 as default browser and there's no silent unattend switch.

Categories

(Firefox :: Installer, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: emin.atac, Assigned: robert.strong.bugs)

Details

(Keywords: fixed1.9.0.2, fixed1.9.1)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9) Gecko/2008052906 Firefox/3.0

Hello,
When I install Firefox 3 RTM on Windows XP or Vista using the /INI=path\config.ini
for a silent unattended installation, there's no way to avoid Firefox 3 to be setup as the default browser.
It's not the same question as the bug # 433249.
I want to deploy firefox silently using an unattended answer file (config.ini) and set there an option like "SetAsDefaultAppUser=False" and "SetAsDefaultAppGlobal=False"
Thx for modifying the NSI installer according to my request and needs :-)
Emin

Reproducible: Always

Steps to Reproduce:
1. setup.exe /INI=path\config.ini

Actual Results:  
Firefox is set as the default browser

Expected Results:  
Firefox should not be set as the default browser

My corporate default profile for Firefox already turns off the user prompt asking if firefox should be the default browser.

Currently my workaround is to execute:
"%systemroot%\system32\ie4uinit.exe" -reinstall
So that IE is set back as the default browser in my corporate environment.
Ted, could you review this? I'd prefer not to bother Benjamin with this simple patch.
Assignee: nobody → robert.bugzilla
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #326573 - Flags: review?(ted.mielczarek)
(In reply to comment #0)
>...
> I want to deploy firefox silently using an unattended answer file (config.ini)
> and set there an option like "SetAsDefaultAppUser=False" and
> "SetAsDefaultAppGlobal=False"
To set those you can use the following
"<path to install dir>\uninstall\helper.exe" /SetAsDefaultAppGlobal
note: must be called with the permissions to set as the system default browser

"<path to install dir>\Mozilla Firefox\uninstall\helper.exe" /SetAsDefaultAppUser
note: must be called as the user that you want to set Firefox as the default browser
Flags: blocking1.9.0.1?
Flags: blocking-firefox3.1?
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.1?
Flags: blocking1.9.0.1-
Flags: blocking-firefox3.1?
Flags: blocking-firefox3.1+
Attachment #326573 - Flags: review?(ted.mielczarek) → review+
Checked in to mozilla-central
changeset:   15643:0d5537bf5634
tag:         tip
user:        Robert Strong <robert.bugzilla@gmail.com>
date:        Wed Jul 02 13:08:12 2008 -0700
summary:     Bug 440704 - Installer sets Firefox 3 as default browser and there'
s no silent unattend switch. r=ted.mielczarek
Severity: minor → normal
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment on attachment 326573 [details] [diff] [review]
Check if we are running silent

Drivers, this patch checks if the installer is running silently and skips the setting as the default browser for the user. See comment #2 for additional info
Attachment #326573 - Flags: approval1.9.0.2?
Comment on attachment 326573 [details] [diff] [review]
Check if we are running silent

Approved for 1.9.0.2. Please land in CVS. a=ss
Attachment #326573 - Flags: approval1.9.0.2? → approval1.9.0.2+
Checked in for 1.9.0.2

Checking in mozilla/browser/installer/windows/nsis/installer.nsi;
/cvsroot/mozilla/browser/installer/windows/nsis/installer.nsi,v  <--  installer.
nsi
new revision: 1.43; previous revision: 1.42
done
Keywords: fixed1.9.0.2
Reporter, can you verify this has been fixed on the latest 3.0.2pre nightly?  Thanks.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: