Closed
Bug 5378
Opened 25 years ago
Closed 25 years ago
StartInstall passes parameters incorrectly
Categories
(Core Graveyard :: Installer: XPInstall Engine, defect, P2)
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.
Updated•25 years ago
|
Assignee: dveditz → dougt
Assignee | ||
Updated•25 years ago
|
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 2•25 years ago
|
||
Marking as invalid. Testcase calls startinstall like this:
err = Install.StartInstall("AddDelComp Test", "/DeleteComponent", vi, 0);
Assignee | ||
Updated•25 years ago
|
Status: RESOLVED → REOPENED
Assignee | ||
Comment 3•25 years ago
|
||
I am a loser. It is still here...
Status: REOPENED → RESOLVED
Closed: 25 years ago → 25 years ago
Resolution: --- → FIXED
Agreed. Any new problems will reflected in new bug reports.
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
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
•