Closed Bug 12972 Opened 25 years ago Closed 25 years ago

AddSubcomponent: Installation is not successful when version info is passed

Categories

(Core Graveyard :: Installer: XPInstall Engine, defect, P3)

All
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jimmykenlee, Assigned: samir_bugzilla)

Details

Build: 8/31/99 SeaMonkey build

1. From http://jimbob/trigger2.html, click drop-down menu and choose
   a_addsubcomp_5_iver_ver, a_addsubcomp_5_string_ver,
   a_addsubcomp_full_iver_ver, or a_addsubcomp_full_string_ver and trigger

a_addsubcomp_5_iver_ver
-----------------------

vi.init("1.0.0.28");
Install.StartInstall("Acceptance: a_addsubcomp_5_iver_ver", "acceptance", vi,
1);
f = Install.GetFolder("Communicator", "multisubdir_iver/aaa/bbb/ccc");
Install.AddSubcomponent("addsubcomp_5_iver_ver", vi, jarSrc, f, jarSrc);

RESULT:
No component is registered in Version Registry.  No subdirectory or file is
installed.  But the Install.log seems to think the installation was successful
by:

---------------------------------------------------------------------------
http://jimbob/jars/a_addsubcomp_5_iver_ver.jar     --     09/01/1999 12:21:32
---------------------------------------------------------------------------

     Acceptance: a_addsubcomp_5_iver_ver



     Install completed successfully
     Finished Installation  09/01/1999 12:21:32

EXPECTED RESULT:

NOTE:
The other two forms of AddSubcomponent (where no version info is passed) install
correctly which makes me think that this is related to the version info.

This behavior is not reproducible with AddDirectory.  All forms of AddDirectory
work fine.
Assignee: cathleen → sgehani
Target Milestone: M11
Samir, can you take a look at this bug?
Could this be caused by your changes to take care of forms that do not
take version info?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You'll were both right. I checked in a fix that should make us happy now.
Status: RESOLVED → VERIFIED
Build 9/7/99

We're good on all platforms.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.