Open Bug 1982323 Opened 11 months ago Updated 13 days ago

Firefox shortcut is not created on desktop for standard Windows users.

Categories

(Firefox :: Installer, defect, P2)

Firefox 143
Desktop
Windows
defect

Tracking

()

ASSIGNED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- unaffected
firefox142 --- unaffected
firefox143 --- disabled
firefox144 --- disabled
firefox145 --- wontfix
firefox146 --- wontfix
firefox147 --- fix-optional
firefox148 --- fix-optional

People

(Reporter: mchiorean, Assigned: dmcintosh)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fidedi])

Attachments

(1 file)

Found in

  • version: 143.0a1

Affected versions

  • versions: 143.0a1

Tested platforms

  • Affected platforms: Windows ARM
  • Unaffected platforms: Mac, Ubuntu

Steps to reproduce

  1. Log in with a standard user.
  2. Download latest .exe file for latest Nightly on ARM device A and connect it with an MS account on One drive
  3. Install latest Nightly
  4. Click on YES in the UAC prompt
  5. Check the Desktop shortcut

Expected result

  • Shortcut should be created on desktop.
    Actual result
  • Shortcut is not created on desktop.

Regression range
*New feature not a regression.
*Shortcut seems to get installed but on admin user on same machine and standard users can access it, also registry key "DesktopLauncherAppInstalled" from "Computer\HKEY_CURRENT_USER\Software\Mozilla\Nightly" can be accessed using "run as admin".

Blocks: 1968279
Has STR: --- → yes
QA Whiteboard: [qa-4315] [qa-found-in-c143] [s3]
OS: Unspecified → Windows
Hardware: Unspecified → Desktop

Leaving for :cdupuis to assign severity/priority.

Flags: needinfo?(cdupuis)

We noticed that: Shortcut is created on desktop if standard users select 'No' at UAC.

(In reply to Monica Chiorean from comment #2)

We noticed that: Shortcut is created on desktop if standard users select 'No' at UAC.

How does a standard user select "Yes" for the UAC prompt? Does that mean providing a different username/password?

Flags: needinfo?(cdupuis) → needinfo?(mchiorean)

(In reply to Chris DuPuis from comment #3)

(In reply to Monica Chiorean from comment #2)

We noticed that: Shortcut is created on desktop if standard users select 'No' at UAC.

How does a standard user select "Yes" for the UAC prompt? Does that mean providing a different username/password?

When prompted with the UAC the Standard user has a chance to select Yes if provided with admin credentials (user/pass, or pin for admin account, depending on how the admin account is set up) so that the program would install in its default admin path C:\Program Files\Firefox Nightly\. Selecting "No" or closing the prompt will install Firefox in C:\Users\<user>\AppData\Local\Firefox Nightly\

Flags: needinfo?(mchiorean)
Severity: -- → S3
Priority: -- → P2

(In reply to Bogdan Maris, Desktop Test Engineering from comment #4)

(In reply to Chris DuPuis from comment #3)

(In reply to Monica Chiorean from comment #2)

We noticed that: Shortcut is created on desktop if standard users select 'No' at UAC.

How does a standard user select "Yes" for the UAC prompt? Does that mean providing a different username/password?

When prompted with the UAC the Standard user has a chance to select Yes if provided with admin credentials (user/pass, or pin for admin account, depending on how the admin account is set up) so that the program would install in its default admin path C:\Program Files\Firefox Nightly\. Selecting "No" or closing the prompt will install Firefox in C:\Users\<user>\AppData\Local\Firefox Nightly\

OK, that makes sense.

When you select "Yes" for the UAC prompt, is the Desktop Launcher installed into the admin user's Desktop folder?

Flags: needinfo?(bmaris)

(In reply to Chris DuPuis from comment #5)

(In reply to Bogdan Maris, Desktop Test Engineering from comment #4)

(In reply to Chris DuPuis from comment #3)

(In reply to Monica Chiorean from comment #2)

We noticed that: Shortcut is created on desktop if standard users select 'No' at UAC.

How does a standard user select "Yes" for the UAC prompt? Does that mean providing a different username/password?

When prompted with the UAC the Standard user has a chance to select Yes if provided with admin credentials (user/pass, or pin for admin account, depending on how the admin account is set up) so that the program would install in its default admin path C:\Program Files\Firefox Nightly\. Selecting "No" or closing the prompt will install Firefox in C:\Users\<user>\AppData\Local\Firefox Nightly\

OK, that makes sense.

When you select "Yes" for the UAC prompt, is the Desktop Launcher installed into the admin user's Desktop folder?

Indeed it is, yes.

Flags: needinfo?(bmaris)
No longer blocks: 1968279
Regressed by: 1968279

This was disabled but re-enabled in Firefox 145

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

Are we thinking of fixing it in a 145 dot release? Thanks

Flags: needinfo?(cdupuis)

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

I've asked in Slack if this is needed for Fx146

Whiteboard: [fidedi]

The uninstaller half should 'work', but doesn't fix anything yet---
if I recall, UAC::ExecCodeSegment doesn't do anything there right now, so
we're no further ahead. The installer half should work, though.

Assignee: nobody → dmcintosh
Status: NEW → ASSIGNED

Cleaning up a needinfo, this uh slightly missed Fx146.

Installing the shortcut is easy enough (UAC::ExecCodeSegment should do it), but removing the shortcut is harder. The uninstaller for whatever reason has a multi-step process: it elevates to admin, writes (from helper.exe) a temporary uninstaller, then runs it. That means that UAC::ExecCodeSegment just thinks we're the admin, so we're no further ahead.

This might not be too hard to tweak, I'll keep myself assigned for now...

Flags: needinfo?(cdupuis)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: