Closed Bug 18047 Opened 25 years ago Closed 25 years ago

addDirectory: Four parameter form does not register properly to version registry

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jimmykenlee, Assigned: ssu0262)

Details

Build: 1999-11-04-09-M11(WIN), 1999-11-04-10-M11(MAC), 1999-11-04-08-M11(LINUX)

1. From http://jimbob/trigger2.html, click drop-down button and select
   a_adddirectory_4
2. Click Trigger case button

var regName = "adddirectory_4";
var jarSrc = "thefolder";
var f;
var appenddir = "subdir"

Install.StartInstall("Acceptance: adddirectory_4_string_ver", "acceptance",
"1.0.1.3");
f = Install.GetFolder("Temporary");
Install.AddDirectory(regName, jarSrc, f, appenddir);

RESULT:
The directory is installed.  The Install.log reflects accurate information.  The
version registry is not correct.

For Windows and Linux, the RefCount unexpectedly shows 2 similar to the
following:

adddirectory_4
adddirectory_4/smrtupdt.txt
    RefCount (S)=2
    Path (F)=C:\WIN98\TEMP\subdir\smrtupdt.txt
    Version (S)=1.0.1.3

Macintosh completely omits the Path and Version as shown here:

adddirectory_4
adddirectory_4/smrtupdt.txt
    RefCount (S)=1

EXPECTED RESULT:
The RefCount for Windows and Linux should be 1.  From Macintosh, the Path and
Version should be registered.

NOTE:
Other forms of addDirectory register properly.
Assignee: cathleen → ssu
Status: NEW → ASSIGNED
Target Milestone: M14
reassigning to myself.  I'll take a look at it.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
it seems to be working now (the file count, the version string, and paths are 
being updated).  Let me know if it still doesn't for you.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Build 2000-01-24-01-M13(WIN), 2000-01-24-01-M13(MAC), 2000-01-24-01-M13(LINUX)

Everything looks fine except for Win 98.  A new bug will be written for this 
particular case.  Marking Verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.