Closed Bug 873039 Opened 11 years ago Closed 6 years ago

Cleaning update directory should be changed from CleanUpdatesDir to CleanUpdateDirectories for Thunderbird

Categories

(Thunderbird :: Installer, defect)

x86_64
Windows 8
defect
Not set
normal

Tracking

(thunderbird24+)

RESOLVED DUPLICATE of bug 1336804
Tracking Status
thunderbird24 + ---

People

(Reporter: bbondy, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: helpwanted)

Attachments

(1 file)

In Windows, the update directory was changed to be a subdirectory of C:\Users\Brian\AppData\Local\Mozilla\updates based on the taskbarIDs value for the install path.

See bug 572162 for more information.

CleanUpdatesDir is obsolete and will clear the old update directory only.
CleanUpdateDirectories should be used instead now.
Blocks: 873043
Attached patch The fixSplinter Review
Straight port of the m-c patch. Try server build here: https://tbpl.mozilla.org/?tree=Thunderbird-Try&rev=fd5445ececd6
Assignee: nobody → mbanner
Status: NEW → ASSIGNED
Attachment #781023 - Flags: review?
Attachment #781023 - Flags: review? → review?(mkmelin+mozilla)
Comment on attachment 781023 [details] [diff] [review]
The fix

I copied and pasted this badly.
Attachment #781023 - Flags: review?(mkmelin+mozilla)
Brian, I'm confused, I've just checked on latest Daily update, and we're still storing updates in:

C:\Users\Brian\AppData\Local\Thunderbird\Daily\updates\

Is this because we're not specifying the vendor id?

So I'm not actually sure we need to do this change for TB at the moment.
Flags: needinfo?(netzen)
I think you may be missing the TaksbarIds entry, see:
http://dxr.mozilla.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.cpp#l1008
Flags: needinfo?(netzen)
(In reply to Brian R. Bondy [:bbondy] from comment #5)
> I think you may be missing the TaksbarIds entry, see:
> http://dxr.mozilla.org/mozilla-central/source/toolkit/xre/nsXREDirProvider.
> cpp#l1008

Hmm, yes, that would be because Thunderbird doesn't have the vendor field specified (which isn't possible atm).
Not working on this atm. I think there would need to be some investigation as to what's required as per Brian's comments.
Assignee: standard8 → nobody
Status: ASSIGNED → NEW
This may be wanted for 64bit
We updated the installer in bug 1336804 there we use CleanUpdateDirectories like FX does. Marking as dupe.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: