Closed Bug 1970905 Opened 6 months ago Closed 4 months ago

Execute Windows Backup fix during PostUpdate

Categories

(Firefox :: Shell Integration, enhancement, P3)

enhancement

Tracking

()

VERIFIED FIXED
143 Branch
Tracking Status
firefox143 --- wontfix
firefox144 --- fixed

People

(Reporter: mpohle, Assigned: mpohle)

References

Details

(Whiteboard: [fidedi])

Attachments

(1 file)

Windows Backup can be used to migrate from Windows 10 to Windows 11. It restores placeholder items in the Start menu for applications installed under Windows 10. Windows Backup uses the uninstall keys in the registry to determine which applications are installed. However, our uninstall key contains a version number, which has caused problems like Bug 1505436 in the past.

This ticket attempts to solve this problem for most users. Those who installed Firefox in the default location, C:\Program Files\Mozilla Firefox, will receive a different uninstall key that does not contain a version number. This ensures that Windows Backup does not have to search for version numbers that it may not recognize and helps users restore the most recent version of Firefox.

Users who already have Firefox installed will be migrated to the new Uninstall key scheme if applicable.

After a fresh installation, users will see a placeholder icon with the Firefox logo in their Windows 11 Start menu. Clicking it opens a Windows Store dialog box with buttons to the vendor's website.

Whiteboard: [fidedi]
Priority: -- → P3
Assignee: nobody → mpohle
Attachment #9493340 - Attachment description: WIP: Bug 1970905 - Fix Windows Backup → Bug 1970905 - Fix Windows Backup r?nrishel,cdupuis r=bytesized
Summary: Add Windows Backup support → Hide Windows Backup fix behind a preference
Blocks: 1974464
Summary: Hide Windows Backup fix behind a preference → Execute Windows Backup fix during PostUpdate
Blocks: 1974467
Attachment #9493340 - Attachment description: Bug 1970905 - Fix Windows Backup r?nrishel,cdupuis r=bytesized → WIP: Bug 1970905 - Fix Windows Backup r?nrishel,cdupuis r=bytesized
Attachment #9493340 - Attachment description: WIP: Bug 1970905 - Fix Windows Backup r?nrishel,cdupuis r=bytesized → Bug 1970905 - Fix Windows Backup r?nrishel,cdupuis r=bytesized

The latest version includes a fix for Bug 1978591.

See Also: → 1978591
See Also: → 1981261
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Duplicate of this bug: 1978591

I tested on Windows 10 64bit and 32bit and I can confirm that the name of the Nightly folder inside all the bellow paths is now changed from Nightly 142.0a1 (x64 en-US) into Nightly at install or updating from an old version to the latest one.

HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall
HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall

This does not work right now on Windows 11, but it is planned to work in the future (will retest once that change happens).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c143/b142]
See Also: 1978591
Regressions: 1987156

Sorry for the mistake in the backout commit message. For posterity, bug 1983996 was the reason for the backout from 143.

Blocks: 1978591
No longer duplicate of this bug: 1978591
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: