Closed Bug 2035214 Opened 3 months ago Closed 3 months ago

Installing/Uninstalling the full installer twice leaves both the desktop shortcut and the Desktop Launcher on the desktop

Categories

(Firefox :: Installer, defect, P1)

defect

Tracking

()

VERIFIED FIXED
152 Branch
Tracking Status
firefox-esr140 --- unaffected
firefox150 --- unaffected
firefox151 --- verified
firefox152 --- verified

People

(Reporter: aborondo, Assigned: aborondo)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidedi])

Attachments

(2 files)

Steps to reproduce:

  1. Install Nightly with the full installer and default options.
  2. Desktop shortcut is created.
  3. Start Nightly and update it to the latest version.
  4. Desktop shortcut is replaced by Desktop Launcher.
  5. Uninstall Nightly.
  6. Install Nightly with the full installer and default options.
  7. Start Nightly and update it to the latest version.

Expected

Desktop shortcut is replaced by Desktop Launcher.

Actual

Desktop shortcut appears alongside Desktop Launcher.

Assignee: nobody → aborondo
Status: NEW → ASSIGNED
Keywords: regression
Regressed by: 2023696
Whiteboard: [fidedi]

Just as a note: this is not reproducible if running the steps using a Standard (local) account

Set release status flags based on info from the regressing bug 2023696

Severity: -- → S3
Priority: -- → P1
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
No longer regressions: 2035758

Looks fixed to me on both Windows 10 and Windows 11 using Nightly 152.0a1 after the fix, updating it to the latest one, uninstalling it and installing it again over and over again.
Note that if bug 2023696 is to be uplifted to 151, this fix will also need to follow up as well.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-done-c152/b151]
Flags: qe-verify+

firefox-beta Uplift Approval Request

  • User impact if declined/Reason for urgency: This is a bug fix for the changes introduced with Bug 2023696. If the latter is uplifted, this needs to be uplifted as well.
  • Code covered by automated testing?: no
  • Fix verified in Nightly?: yes
  • Needs manual QE testing?: yes
  • Steps to reproduce for manual QE testing: ## Steps to reproduce:
  1. Install [Nightly]((https://archive.mozilla.org/pub/firefox/nightly/2026/04/2026-04-22-20-47-44-mozilla-central/firefox-152.0a1.en-US.win64.installer.exe) with the full installer and default options.
  2. Desktop shortcut is created.
  3. Start Nightly and update it to the latest version.
  4. Desktop shortcut is replaced by Desktop Launcher.
  5. Uninstall Nightly.
  6. Install Nightly with the full installer and default options.
  7. Start Nightly and update it to the latest version.

Expected

Desktop shortcut is replaced by Desktop Launcher.

Actual

Desktop shortcut appears alongside Desktop Launcher.

  • Risk associated with taking this patch: medium
  • Explanation of risk level: If Bug 2023696 is uplifted but not this one, we'd introduce a bug in Fx151.
  • String changes made/needed?: No.
  • Is Android affected?: no
Attachment #9574996 - Flags: approval-mozilla-beta?
Flags: qe-verify+

The uninstaller never removed the HKLM UpdaterDeletedShortcut flag, leaving it stale across uninstall/reinstall cycles. On the next update, the stale flag caused OnUpdateDesktopLauncher_HKLM to skip deleting the public desktop shortcut, leaving both it and the Desktop Launcher on the desktop.

Original Revision: https://phabricator.services.mozilla.com/D296781

Attachment #9574996 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-ver-done-c152/b151] → [uplift][qa-ver-needed-c152/b151]
QA Contact: bmaris

Also verified as fixed using Firefox 151 builds (beta 9 update to beta 10) on both Windows 10 and Windows 11.

QA Whiteboard: [uplift][qa-ver-needed-c152/b151] → [uplift][qa-ver-done-c152/b151]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: