Closed Bug 41168 Opened 25 years ago Closed 25 years ago

Profile Manager needs to get install directory from a pref

Categories

(Core Graveyard :: Profile: BackEnd, defect, P3)

x86
Windows NT

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 6464

People

(Reporter: selmer, Assigned: racham)

References

Details

(Whiteboard: [nsbeta2-])

The profile manager needs to quit having a hard-coded idea of where the app was installed. It should immediately be changed to use a default pref that contains the actual install directory. Once bug 41167 is fixed, this pref will contain the correct value. In the meantime, we should move the hard-coded string into the pref rather than have it in the code.
nominating for beta2 so we don't get horked again.
Assignee: selmer → racham
Depends on: 41167
Keywords: nsbeta2
Adding Sean and Dan to the cc list.
Severity: normal → major
Status: NEW → ASSIGNED
Target Milestone: --- → M17
What do you mean by the "install directory"? you can already get it from nsIDirectoryService
marking nsbeta2-. Dan seems to be saying that there is another way to accomplish this. if this is not the case, renominate
Whiteboard: [nsbeta2-]
Does that invalidate this bug, or does go on the radar for nsbeta3?
This problem will go away once we fix bug 6464. To derive profile directory, We are dependnig on install directory and hardcode path from there, on only Windows platform. On Mac, we store profile in (system) documents directory..and on Linux get home directory (and append .mozilla to store profile folders). So, as mentioned in bug 6464, we have to get the application data folder and store profiles right there....which will help the user to protect the profile data even if the installed directory is deleted.... Marking this as a dup of bug 6464. I will nominate bug 6464 for nsbeta3. *** This bug has been marked as a duplicate of 6464 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
ok
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.