[win] No shortcuts are created in the Start Menu Program folder after selecting “No” on the User Account Control (UAC) prompt
Categories
(Firefox :: Installer, defect)
Tracking
()
People
(Reporter: atrif, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Found in
- 125.0a1 (2024-03-14)
Affected versions
- 125.0a1 (2024-03-14)
- 124.0
- 123.0.1
Tested platforms
- Affected platforms: Windows 10x64, Windows 11
- Unaffected platforms: macOS 12, Ubuntu
Steps to reproduce
- Download and open Firefox full installer from https://archive.mozilla.org/pub/firefox/nightly/latest-mozilla-central/
- Click No on the UAC prompt and install Firefox.
- Verify that the Shortcuts are created inside the Start Menu Program folder.
Expected result
- The shortcuts are created inside the Start Menu Program folder.
Actual result
- No shortcuts are created inside the Start Menu Program folder.
Regression range
- Manual regression range:
Good build: https://archive.mozilla.org/pub/firefox/nightly/2023/11/2023-11-15-21-45-19-mozilla-central/
Bad Build: https://archive.mozilla.org/pub/firefox/nightly/2023/11/2023-11-16-09-39-42-mozilla-central/
Pushlog: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=6f3be95d65116af346971c9a559f77dbb8e9e14a&tochange=30972f1e5f790da2db4cf542e49e522275787122
Unfortunately, I don’t know which issue is the regressor.
Additional notes
- This works as expected when clicking Yes on the UAC prompt.
Comment 2•10 months ago
|
||
I haven't tested it specifically but after looking at the code I can't see why that would be the cause. We are planning on removing the protocol code for unrelated reasons in Fx126 anyway so if that's the cause this should resolve itself.
Updated•10 months ago
|
Comment 3•10 months ago
|
||
It's fairly unlikely this is caused by that bug / changes.
Does this happen when the response is yes to the UAC prompt?
Could be a Windows change. They've been making changes lately to what they'll allow. Can QA confirm that this is happening on older builds of Windows please?
Reporter | ||
Comment 4•10 months ago
•
|
||
(In reply to Michael Hughes from comment #3)
It's fairly unlikely this is caused by that bug / changes.
Does this happen when the response is yes to the UAC prompt?Could be a Windows change. They've been making changes lately to what they'll allow. Can QA confirm that this is happening on older builds of Windows please?
This does not happen when clicking Yes in the UAC prompt. I tried this on Windows 10x86 (1809.17763) and this still reproduces with 125.0b1. Attached a screen recording: link.
Comment 5•10 months ago
|
||
This line breaks the shortcut creation for per user install. SetShellVarContext all
will change $SMPROGRAMS
to all user programs folder which is writable only when UAC elevated. So CreateShortCut will fail.
Updated•10 months ago
|
Comment 7•9 months ago
|
||
Set release status flags based on info from the regressing bug 1862450
Comment 8•9 months ago
|
||
(In reply to Nipun Shukla from comment #2)
We are planning on removing the protocol code for unrelated reasons in Fx126 anyway so if that's the cause this should resolve itself.
Fx126 is now in beta, can you confirm this landed and share the bug tracking it?
Wondering if this should be marked as fixed for Fx126
Comment 9•9 months ago
|
||
I just got reviewer approval for https://bugzilla.mozilla.org/show_bug.cgi?id=1889232 and plan on pushing it soon which should fix this issue. Unfortunately, it looks we missed the train for Fx126 however should be good to go for 127.
Comment 10•9 months ago
|
||
Confirmed that shortcuts are created in Start Menu after selecting “No” on the User Account Control (UAC) prompt with the latest installer.
Updated•9 months ago
|
Reporter | ||
Comment 11•8 months ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #10)
Confirmed that shortcuts are created in Start Menu after selecting “No” on the User Account Control (UAC) prompt with the latest installer.
Confirming this as well with Firefox 127.0a1 (20240512212637) on Windows 10x64 and Windows 11.
Description
•