Closed
Bug 13985
Opened 25 years ago
Closed 25 years ago
xpinstall does not return error code when error occurs
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
VERIFIED
FIXED
M11
People
(Reporter: ssu0262, Assigned: ssu0262)
Details
xpinstall does not return error code when error occurs before calling StartInstall(). I needs to return an error code or some type so the native installers can detect the error and respond appropriately.
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 3•25 years ago
|
||
This is fixed in the M10 build, if the script does not call Finalize or Abort then SCRIPT_ERROR value is returned.
Build 1999-10-18-09-M11(WIN), 1999-10-18-12-M11(MAC), 1999-10-18-08-M11(LINUX) Installation of the file (all platforms) is still occuring with the following script: var regName = "13985"; var jarSrc = "smrtupdt.txt"; startInstall("Bug: 13985", "13985", "1.0.1.4", 0); f = getFolder("Program", "13985"); addFile("Bug_13985", "1.0.1.41", jarSrc, f, jarSrc, true); //Finalize intentionally omitted The file is not getting registered. The Install.log returns the following: --------------------------------------------------------------------------- http://jimbob/jars/13985.xpi -- 10/18/1999 17:20:49 --------------------------------------------------------------------------- Bug: 13985 ---------- Install **FAILED** with error -229 Finished Installation 10/18/1999 17:20:52 This xpi file is at http://jimbob/jars/13985.xpi EXPECTED RESULT: File does not get installed.
Updated•25 years ago
|
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Comment 6•25 years ago
|
||
This bug is fixed, a status code is returned if the script does nothing. Cleaning up after itself is another story entirely, and that's covered by bug 11581
Build 1999-11-08-09-M11(WIN), 1999-11-08-08-M11(MAC), 1999-11-08-08-M11(LINUX) Marking Verified.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall Engine
Comment 9•24 years ago
|
||
Moving test file 13985.xpi from /jimbob/jars to /jimbob/bugs folder.
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•