Closed Bug 661363 Opened 14 years ago Closed 14 years ago

Port bug 562753 (On upgrade, old win7 taskbar entries should have their app model id upgraded, based on install path) to Thunderbird

Categories

(Thunderbird :: Installer, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(blocking-thunderbird5.0 beta2+, thunderbird5.0 beta2-fixed, thunderbird6 fixed)

RESOLVED FIXED
Thunderbird 7.0
Tracking Status
blocking-thunderbird5.0 --- beta2+
thunderbird5.0 --- beta2-fixed
thunderbird6 --- fixed

People

(Reporter: rain1, Assigned: rain1)

References

Details

Attachments

(1 file)

This sounds like something we need to do for pinned shortcuts.
Assignee: nobody → sid.bugzilla
Marking as blocking-thunderbird3.3? because otherwise the app will need to be re-pinned after every update.
blocking-thunderbird5.0: --- → ?
Summary: Port bug 562753 (On upgrade, old win7 taskbar entries should have their app modal id upgraded, based on install path) to Thunderbird → Port bug 562753 (On upgrade, old win7 taskbar entries should have their app model id upgraded, based on install path) to Thunderbird
Attached patch patch v1Splinter Review
This is mostly a port, with the changes in bug 621873 included.
Attachment #536787 - Flags: superreview?(dbienvenu)
Attachment #536787 - Flags: review?(mbanner)
Comment on attachment 536787 [details] [diff] [review] patch v1 nsWindowsShellService::ShortcutMaintenance() + nsCOMPtr<nsIPrefService> prefs = + do_GetService(NS_PREFSERVICE_CONTRACTID); + if (!prefs) + return NS_ERROR_UNEXPECTED; + + nsCOMPtr<nsIPrefBranch> prefBranch; + prefs->GetBranch(nsnull, getter_AddRefs(prefBranch)); I think we should use &rv here and NS_ENSURE_SUCCESS(rv, rv); instead of NS_ERROR_UNEXPECTED (I'd like to avoid NS_ERROR_UNEXPECTED where possible)
Comment on attachment 536787 [details] [diff] [review] patch v1 sr=me, modulo the NS_ERROR_UNEXPECTED
Attachment #536787 - Flags: superreview?(dbienvenu) → superreview+
blocking-thunderbird5.0: ? → beta2+
Comment on attachment 536787 [details] [diff] [review] patch v1 Review of attachment 536787 [details] [diff] [review]: ----------------------------------------------------------------- This looks good. We can do a bit more testing on it once we land it, but I think this looks fine. Please land on comm-central and comm-miramar once you've fixed the comment. ::: mail/installer/windows/nsis/installer.nsi @@ +489,5 @@ > ${EndIf} > ${EndUnless} > > + ; Win7 taskbar and start menu link maintenance > + ${UpdateShortcutAppModelIDs} "$INSTDIR\${FileMainEXE}" "${AppUserModelID}" I believe this should have $0 on the end, or do Call FixShortcutAppModelIDs
Attachment #536787 - Flags: review?(mbanner)
Attachment #536787 - Flags: review+
Attachment #536787 - Flags: approval-thunderbird5.0+
Attachment #536787 - Flags: approval-comm-aurora?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 7.0
Attachment #536787 - Flags: approval-comm-aurora? → approval-comm-aurora+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: