Closed Bug 5378 Opened 25 years ago Closed 25 years ago

StartInstall passes parameters incorrectly

Categories

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

x86
Windows NT

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jimmykenlee, Assigned: dougt)

References

()

Details

Build: 4/9/99 Engineering build 1. Run the Viewer 2. Open the site "http://jimbob/jars/" and click on adddelcomp.jar RESULT: The jar correctly creates the folder adddelcomp with the component smrtupdt.txt. Viewing the version registry reveals that the parameters are not registered as expected. The StartInstall call from install.js is as follows: Install.StartInstall("Setup DeleteComponent", "/adddelcomp", vi, 0); //Note: vi = "1.0.1.1" The registry setting for this jar is as follows: Dumping //Version Registry/Netscape/Communicator/Setup DeleteComponent/smrtupdt.txt -------------------------------- RefCount (S)=2 Path (F)=C:/Program Files/mozbin49/adddelcomp/smrtupdt.txt Version (S)=/adddelcomp The RefCount is 2 because I may have installed this jar twice. Previously, StartInstall required up to package, version, and flag. Current documentation shows that the first parameter should be ProductName. EXPECTED RESULT: The registry setting for this jar is as follows: Dumping //Version Registry/Netscape/Communicator/adddelcomp/smrtupdt.txt -------------------------------- RefCount (S)=2 Path (F)=C:/Program Files/mozbin49/adddelcomp/smrtupdt.txt Version (S)=1.0.1.1 Syntax: StartInstall(ProductName, packageName, version, flag)
Severity: critical → major
Priority: P3 → P2
QA Contact: 4395 → 4138
Changing QA Contact from Grace to Jimmy. It defaulted to Grace. Also, Severity and Priority are modified accordingly.
Assignee: dveditz → dougt
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Marking as invalid. Testcase calls startinstall like this: err = Install.StartInstall("AddDelComp Test", "/DeleteComponent", vi, 0);
Status: RESOLVED → REOPENED
I am a loser. It is still here...
Resolution: INVALID → ---
Clearing resolution.
marking bug FIXED (bug meeting on 6/15)
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Agreed. Any new problems will reflected in new bug reports.
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.