Closed Bug 6714 Opened 26 years ago Closed 26 years ago

GetFolder: May be called before StartInstall is called

Categories

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

x86
Windows NT

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: jimmykenlee, Assigned: dougt)

Details

Build: 5/17/99 SeaMonkey build 1. Use http://jimbob/jars/getfolder_then_startinstall.jar 2. Using the form, f = Install.GetFolder("Program", "getfolder_then_startinstall"); Install.StartInstall("getfolder_then_startinstall Test", "getCompFolderPrep", vi, 0); 3. Trigger this jar RESULT: The jar appears to be triggered successfully. The folder object appears created properly since a component is added to expected directory. The Install.log communicates success: --------------------------------------------------------------------------- getfolder_then_startinstall Test --------------------------------------------------------------------------- Starting Installation at 05/18/1999 17:01:10 Installing: C:\Program Files\mozbin517\x86rel\getfolder_then_startinstall\smrtupdt.txt Finished Installation 05/18/1999 17:01:10 EXPECTED RESULT: I'm not sure exactly how this should work. I did try calling AddSubcomponent before StartInstall, but the component does not get added. So it seems that perhaps not all methods can be called before StartInstall is called. Plus I'm not really sure if the Version Registry is written correctly. There is an entry, but the RefCount is 0. There is an outstanding bug (http://bugzilla.mozilla.org/show_bug.cgi?id=5378) with writing to the Version Registry, so this likely impacts the behavior of this case.
QA Contact: 4395 → 4138
Changing QA Contact from Grace to Jimmy.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
It is okay that if GetFolder works outside of the StartInstall/FinalizeInstall block. This differs from the ASC api. Marking as Invalid, not a bug.
That's fine with me.
Status: RESOLVED → VERIFIED
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.