Closed
Bug 81716
Opened 24 years ago
Closed 24 years ago
XPInstall from m0.9 or earlier to m0.9.1 fails (Win)
Categories
(SeaMonkey :: Installer, defect)
SeaMonkey
Installer
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.1
People
(Reporter: dveditz, Assigned: ssu0262)
Details
(Keywords: regression, Whiteboard: [smartupdate])
Attachments
(5 files)
6.09 KB,
patch
|
Details | Diff | Splinter Review | |
6.09 KB,
patch
|
Details | Diff | Splinter Review | |
6.11 KB,
patch
|
Details | Diff | Splinter Review | |
5.93 KB,
patch
|
Details | Diff | Splinter Review | |
5.95 KB,
patch
|
Details | Diff | Splinter Review |
Using XPInstall to upgrade the browser from mozilla0.9 or earlier to a recent
build (after 5/17/2001) will fail on Windows as the scripts use install methods
that didn't exist in the older builds.
The use of WinReg.isKeyWritable(), WinReg.keyExists(), and WinReg.valueExists()
must only be used after checking either Install.buildID or checking the
existence of those functions.
Reporter | ||
Updated•24 years ago
|
Keywords: nsbeta1+,
regression
Summary: XPInstall from m0.9 or earlier to recent build fails (Win) → XPInstall from m0.9 or earlier to m0.9.1 fails (Win)
Whiteboard: [smartupdate]
Target Milestone: --- → mozilla0.9.1
example test function:
var is60 = (typeof(buildID) == "undefined");
Status: NEW → ASSIGNED
Reporter | ||
Comment 2•24 years ago
|
||
That would be a sufficient test in the commercial script, but if mozilla.org
ever gets off the stick and supports update.html then mozilla0.9 people might
still fail.
var oldWinReg = (typeof(buildID) == "undefined") || (buildID < 20010518);
alternately, you could simply test for the functions you're about to use when
you have the winreg object:
if (typeof(winreg.isKeyWritable) == "function") { then use it }
[Probably should have spelled that function isKeyWriteable. AltaVista shows the
way you have it wins 300K uses to 50K, but the big-name sites like O'Reilly,
Maxel, Netscape, etc. seem to prefer that 'e'.
java.sun.com had a fun one: documentation for a Java property "writableAction"
with the description "Name of the action to set the editor into writeable
mode." Both ways in the same line of text!]
Both of the following dictionary sites were able to locate definitions for
"writable", but not "writeable". I wonder it "writeable" is Brit?
http://humanities.uchicago.edu/forms_unrest/webster.form.html
http://www.m-w.com/
Reporter | ||
Comment 7•24 years ago
|
||
r=dveditz, sr=dveditz for commercial tree
Reporter | ||
Comment 10•24 years ago
|
||
Thanks for updating the patch, r=/sr= from before stand.
Assignee | ||
Comment 11•24 years ago
|
||
patches checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
Component: Installer: XPI Packages → Installer
QA Contact: agracebush → general
You need to log in
before you can comment on or make changes to this bug.
Description
•