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)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: dveditz, Assigned: ssu0262)

Details

(Keywords: regression, Whiteboard: [smartupdate])

Attachments

(5 files)

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.
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
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/
r=dveditz, sr=dveditz for commercial tree
Thanks for updating the patch, r=/sr= from before stand.
patches checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified code fix- no update.html to test
Status: RESOLVED → VERIFIED
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.

Attachment

General

Creator:
Created:
Updated:
Size: