Closed Bug 19034 Opened 25 years ago Closed 24 years ago

Install.log needs to be created in XPCOM's notion of cwd

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: samir_bugzilla, Assigned: samir_bugzilla)

References

Details

(Whiteboard: [nsbeta2+])

The install.log gets created in the current process's working directory. This
will fail in the case where the Install Wizards running from CDs use the
XPInstall Engine. Instead, we should get XPCOM's notion of the current working
directory (which is set by the Install Wizards to the user selected target
installation folder) and create the log file there.
Target Milestone: M13
Bulk move of XPInstall (component to be deleted) bugs to Installer: XPInstall
Engine
Target Milestone: M13 → M16
Post beta, we won't have CD installs for the beta
Target Milestone: M16 → M18
Blocks: 40598
nominating this bug for nsbeta2 because it blocks bug #40598
Keywords: nsbeta2
It should be simple enough to use nsSoftwareUpdate::GetProgramDirectory() to 
get the target location in the wizard case, and then fall back on the existing 
code if that's null (see similar stuff in nsInstallFolder.cpp)

The only wrinkle is nsLoggingProgressNotifier.cpp is still using nsFileSpec 
instead of nsIFile returned by the above, so that will have to be converted.
Putting on [nsbeta2+] radar for beta2 fix. 
Whiteboard: [nsbeta2+]
Priority: P3 → P2
Target Milestone: M18 → M17
Blocks: 27488
This is going in tonight.  Discussed it with Sean who will need to unbreak his 
Win32 uninstall procedure.  The uninstaller will break for a day or two.
Whew!  Finally checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Builds: 2000-07-10-09-M17(WIN), 2000-07-09-08-M17(MAC), 2000-07-10-08-M17(LINUX)

Selected target installation folder now contains install.log.  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.