Closed
Bug 22341
Opened 25 years ago
Closed 25 years ago
Error -208 unexpectedly returned when installing file with version info that is smaller
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P3)
Core Graveyard
Installer: XPInstall Engine
Tracking
(Not tracked)
VERIFIED
FIXED
M14
People
(Reporter: jimmykenlee, Assigned: dbragg)
References
Details
Build: 1999-12-21-00-M12(WIN), 1999-12-20-23-M12(MAC), 1999-12-20-23-M12(LINUX) 1. From http://jimbob/trigger2.html, click drop-down button and select f_addsubcomp and click Trigger case button. 2. When this installation completes, then select f_addsubcomp_vi_no_update and trigger /////////////////////////////////////////////////////////////////// // f_addsubcomp.js // // o Setup for GetComponentFolder() call test: getCompFolder.jar // o Uses the Program folder to install to // // ~ XPInstall QA // April 21, 1999 // //////////////////////////////////////////////////////////////////// var regName = "f_addsubcomp"; vi = "1.0.1.1"; var jarSourcePath = "smrtupdt.txt"; var localDirSpec; var relativeLocalPath = "localsmrtupdt.txt" localDirSpec = Install.GetFolder("Program"); netscape.softupdate.SoftwareUpdate.FULL_INSTALL); err = Install.StartInstall("Functional: f_addsubcomp", "f_addsubcomp", vi, 0); err = Install.AddSubcomponent(regName, vi, jarSourcePath, localDirSpec, relativeLocalPath, true); Install.FinalizeInstall(); /////////////////////////////////////////////////////////////////// // f_addsubcomp_vi_no_update.js // // Dependency: // Trigger f_addsubcomp.jar before f_addsubcomp_vi_no_update.jar // // o vi is smaller, so no update should occur // // ~ XPInstall QA // May 5, 1999 // December 21, 1999 JimmyLee Rewritten to conform to new JScript form // //////////////////////////////////////////////////////////////////// var regName = "f_addsubcomp"; vi = "1.0.0.0"; var jarSourcePath = "smrtupdt.txt"; var localDirSpec; var relativeLocalPath = "localsmrtupdt.txt"; startInstall("Functional: f_addsubcomp_vi_no_update", "f_addsubcomp", vi, 0); localDirSpec = getFolder("Program"); err = addFile(regName, vi, jarSourcePath, localDirSpec, relativeLocalPath, false); //false parameter is passed logComment("addFile returns " + err); if (0 == getLastError()) finalizeInstall(); else abortInstall(); RESULT: The installation from f_addsubcomp_vi_no_update does not occur as expected since the vi is less than from f_addsubcomp. However, there is an error that is returned as shown by the following Install.log: ------------------------------------------------------------------------------- http://jimbob/jars/f_addsubcomp.jar -- 12/21/1999 16:14:47 ------------------------------------------------------------------------------- Functional: f_addsubcomp ------------------------ [1/1] Installing: C:\Program Files\moz1221\localsmrtupdt.txt Install completed successfully Finished Installation 12/21/1999 16:14:47 ------------------------------------------------------------------------------- http://jimbob/jars/f_addsubcomp_vi_no_update.jar -- 12/21/1999 16:14:53 ------------------------------------------------------------------------------- Functional: f_addsubcomp_vi_no_update ------------------------------------- ** ERROR (-208): Skipping: (null) ** addFile returns -208 Install script aborted Finished Installation 12/21/1999 16:14:53 EXPECTED RESULT: -208 means invalid parameter. The expectation is that the install will not occur because the vi is smaller.
Updated•25 years ago
|
Target Milestone: M13
Fixed. You get no error and the file is not updated.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Build 2000-02-09-09-M14(WIN), 2000-02-09-08-M14(MAC), 2000-02-09-14-M14(LINUX) No more error messages.
Status: RESOLVED → VERIFIED
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
•