Closed
Bug 370126
Opened 18 years ago
Closed 18 years ago
Wrong value written to EditFlags by NSIS installer?
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: mcsmurf, Assigned: robert.strong.bugs)
References
Details
(Keywords: verified1.8.1.2)
Attachments
(1 file)
(deleted),
patch
|
moco
:
review+
dveditz
:
approval1.8.1.2+
|
Details | Diff | Splinter Review |
First: I'm not sure if this is a valid bug; Robert, can you confirm/deny this?
The NSIS installer writes a binary value of "2" under http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/toolkit/mozapps/installer/windows/nsis/common.nsh&rev=1.12#1668 to a generic protocol handler registry key (AddHandlerValues). But if you look at this key in regedit, it says "binary value of length zero" (not sure if this is the exact translation, I only have a German Windows here). This seems wrong to me, the code comment under http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/components/shell/src/nsWindowsShellService.cpp&rev=1.43#163 says that EditFlags has a DWORD value of 2, not a binary value of 2. Also with a binary value of 2, Windows hides the "Firefox URL" entry in the File Types dialog (not a valid value?).
Assignee | ||
Comment 1•18 years ago
|
||
I believe the old comment in the shell service is incorrect but this is a valid bug since the value is not being set properly.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/shell_basics/shell_basics_extending/fileassociations/fileassoc.asp
Assignee: nobody → robert.bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•18 years ago
|
||
ok... it can be a dword or binary.
http://msdn2.microsoft.com/en-us/library/aa969374.aspx
I'll check a couple versions of Windows and go from there.
Assignee | ||
Comment 3•18 years ago
|
||
Also fixes a bug with the logic used to set gopher
Attachment #254908 -
Flags: review?(sspitzer)
Assignee | ||
Comment 4•18 years ago
|
||
If we do a respin for 1.8.1.2 I'd like to get this in
Flags: blocking1.8.1.3?
Assignee | ||
Updated•18 years ago
|
Flags: blocking1.8.1.2?
Updated•18 years ago
|
Flags: blocking1.8.1.3?
Flags: blocking1.8.1.2?
Flags: blocking1.8.1.2+
Comment 5•18 years ago
|
||
Comment on attachment 254908 [details] [diff] [review]
patch
r=sspitzer, thanks robert.
Attachment #254908 -
Flags: review?(sspitzer) → review+
Assignee | ||
Comment 6•18 years ago
|
||
Fixed on trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•18 years ago
|
Attachment #254908 -
Flags: approval1.8.1.2?
Comment 7•18 years ago
|
||
Comment on attachment 254908 [details] [diff] [review]
patch
a=dveditz for 1.8 branch
Attachment #254908 -
Flags: approval1.8.1.2? → approval1.8.1.2+
Assignee | ||
Comment 9•18 years ago
|
||
To verify install 2.0.0.2 RC1, check the HKLM Software\Classes\FirefoxURL EditFlags registry key value, and you will find it is a REG_BINARY data type with (zero-length binary value) for the value. Install the latest 2.0.0.2, check EditFlags again by pressing refresh, and you will find it is a REG_DWORD data type with a value of 0x00000002 (2).
Comment 10•18 years ago
|
||
verified fixed for 1.8.1.2 using Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.1.2pre) Gecko/20070215 BonEcho/2.0.0.2pre Mnenhy/0.7.5.0 ID:2007021503
the HKLM\Sofware\Classes\FirefoxURL EditFlags key has now a value of of 0x00000002 (2)
thanks for the steps to verify rob.
Keywords: fixed1.8.1.2 → verified1.8.1.2
You need to log in
before you can comment on or make changes to this bug.
Description
•