Closed Bug 14902 Opened 21 years ago Closed 12 years ago

Version Registry: Duplicate node appears after patching

Categories

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

x86
Windows NT

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: jimmykenlee, Assigned: dveditz)

References

Details

Build: 9/24/99 SeaMonkey build

1. From http://jimbob/trigger2.html, click drop-down button and select
   f_addwinpatch_exe and click Trigger case button to install file to be
   patched
2. From http://jimbob/trigger2.html, click drop-down button and select
   f_winpatch_exe and click Trigger case button to patch

var regName = "f_winpatch.exe";
var jarSrc = "charmap.exe.gdf";
var vi = "1.0.1.11";

Install.StartInstall("Functional: f_winpatch_exe", "f_winpatch_exe", "1.0.1.11",
0);
f = Install.GetFolder("Program", "f_winpatch_exe");
err = Install.Patch(regName, vi, jarSrc, f, "clock.exe", true);
Install.LogComment("Install Patch = " + err);

RESULT:
File on disk appears to be patched correctly.  The Install.log is accurate in
describing the patching.  A dump of the Version registry shows the following:

Subtree Dump of /Version Registry/Netscape/Communicator #20
--------------------------------
f_winpatch_exe
    Version (S)=1.0.1.11
f_winpatch_exe/f_winpatch.exe
    Path (F)=C:/Program Files/moz924/x86rel/f_winpatch_exe/clock.exe
    Version (S)=1.0.1.11
f_winpatch_exe/f_winpatch_exe
    RefCount (S)=1
    Path (F)=C:\Program Files\moz924\x86rel\f_winpatch_exe\clock.exe
    Version (S)=1.0.1.10

EXPECTED RESULT:
There is only one leaf node that corresponds to the patched file.  Notice the
use of "/" versus "\" in the Path.  Can this be part of the reason?
Target Milestone: M11
possible dup of 12020
Depends on: 12020
Blocks: 17432
Assignee: cathleen → dveditz
Target Milestone: M11 → M12
reassign to dveditz.  possible dup of his bug 12020
Blocks: 17907
Blocks: 18471
Status: NEW → ASSIGNED
Target Milestone: M12 → M13
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Target Milestone: M13 → M15
Target Milestone: M15 → M17
we don't register individual files anymore.
push out to M30
Target Milestone: M17 → M30
Taking advantage of new "Future" target milestone.
Target Milestone: M30 → Future
No longer blocks: 17432
No longer blocks: 17907
No longer blocks: 18471
*** Bug 156292 has been marked as a duplicate of this bug. ***
The xpinstall script engine has been removed from the trunk, bugs in it are obsolete.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.