Replace the desktop shortcut with the desktop launcher when Firefox is installed via the full installer
Categories
(Firefox :: Installer, task, P2)
Tracking
()
People
(Reporter: aborondo, Assigned: aborondo)
References
Details
(Whiteboard: [fidedi])
Attachments
(18 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
| Assignee | ||
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
Updated•3 months ago
|
| Assignee | ||
Comment 2•3 months ago
|
||
| Assignee | ||
Comment 3•3 months ago
|
||
| Assignee | ||
Comment 4•3 months ago
|
||
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Comment 6•3 months ago
|
||
| Assignee | ||
Comment 7•3 months ago
|
||
| Assignee | ||
Comment 8•3 months ago
|
||
| Assignee | ||
Comment 9•3 months ago
•
|
||
Use cases
Scenario 1
Preconditions
- A user with administrative privileges is logged in.
Steps
- Install Firefox with the full installer in the standard location (
C:\Program Files\Mozilla Firefox). - Update Firefox.
Result
- Desktop shortcut is removed from
C:\Users\Public\Desktop. - Desktop Launcher is added into
%USERPROFILE%\Desktop.
Scenario 2
Preconditions
- A user with administrative privileges is logged in.
Steps
-
Install Firefox with the full installer in the standard location (
C:\Program Files\Mozilla Firefox). -
Add
distribution\policies.jsoninto the installation directory with the following:{ "policies": { "DisableAppUpdate": false, "ManualAppUpdateOnly": false } } -
Update Firefox.
Result
- Desktop shortcut isn't removed from
C:\Users\Public\Desktop. - Desktop Launcher isn't added into
%USERPROFILE%\Desktop.
Scenario 3
Preconditions
- A user with administrative privileges is logged in.
Steps
- Install Firefox with the full installer in the standard location (
C:\Program Files\Mozilla Firefox). - Open registry and create the key
HKCU\SOFTWARE\Policies\Mozilla\Firefox\Test. - Update Firefox.
Result
- Desktop shortcut isn't removed from
C:\Users\Public\Desktop. - Desktop Launcher isn't added into
%USERPROFILE%\Desktop.
Scenario 4
Preconditions
- A user with administrative privileges is logged in.
Steps
- Install Firefox with the full installer in
%USERPROFILE%\AppData\Local\Firefox. - Update Firefox.
Result
- Desktop shortcut is removed from
C:\Users\Public\Desktop. - Desktop Launcher is added into
%USERPROFILE%\Desktop.
Scenario 5
Preconditions
- A user without administrative privileges is logged in.
Steps
- Install Firefox with the full installer.
- Click on
Yesin the UAC prompt. - Custom installation in
C:\Program Files\Firefox Nightly\. - Update Firefox.
Result
- Desktop shortcut is removed from
C:\Users\Public\Desktop. - Desktop Launcher is added into
%USERPROFILE%\Desktop.
Scenario 6
Preconditions
- A user without administrative privileges is logged in.
Steps
- Install Firefox with the full installer.
- Click on
Yesin the UAC prompt. - Custom installation in
C:\Users\<CURRENT_USER>\AppData\Local\Firefox Nightly\. - Update Firefox.
Result
- Desktop shortcut isn't removed from
C:\Users\Public\Desktop. - Desktop Launcher isn't added into
%USERPROFILE%\Desktop.
Scenario 7
Preconditions
- A user without administrative privileges is logged in.
Steps
- Install Firefox with the full installer.
- Click on
Noin the UAC prompt. - Custom installation in
C:\Users\<CURRENT_USER>\AppData\Local\Firefox Nightly\. - Update Firefox.
Result
- Desktop shortcut is removed from
%USERPROFILE%\Desktop. - Desktop Launcher is added into
%USERPROFILE%\Desktop.
Comment 10•3 months ago
|
||
We should also make sure none of this happens with the ESR at all.
| Assignee | ||
Comment 11•3 months ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #10)
We should also make sure none of this happens with the ESR at all.
This won't happen if there's an enterprise policy in distribution/policies.json or in the registry (HKLM or HKCU), as we discussed in this Slack thread. Is that ok?
Comment 12•3 months ago
|
||
This won't happen if there's an enterprise policy in distribution/policies.json or in the registry (HKLM or HKCU), as we discussed in this Slack thread. Is that ok?
This won't cover ESR where we probably just shouldn't do this. Do we have any ESR checks in the installer today?
| Assignee | ||
Comment 13•3 months ago
|
||
(In reply to Mike Kaply [:mkaply] from comment #12)
Do we have any ESR checks in the installer today?
We don't. We need to add that check in the installer.
| Assignee | ||
Comment 14•3 months ago
|
||
Comment 15•3 months ago
|
||
Comment 16•3 months ago
|
||
Comment 17•3 months ago
|
||
Backed out for causing xpc failures @marAppApplyUpdateAppBinInUseStageSuccess_win.js.
| Assignee | ||
Updated•3 months ago
|
Comment 18•3 months ago
|
||
| Assignee | ||
Comment 19•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D288528
Updated•3 months ago
|
| Assignee | ||
Comment 20•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293855
Updated•3 months ago
|
| Assignee | ||
Comment 21•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293856
Updated•3 months ago
|
| Assignee | ||
Comment 22•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293857
Updated•3 months ago
|
| Assignee | ||
Comment 23•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293858
Updated•3 months ago
|
| Assignee | ||
Comment 24•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293859
Updated•3 months ago
|
| Assignee | ||
Comment 25•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293860
Updated•3 months ago
|
| Assignee | ||
Comment 26•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D293861
Updated•3 months ago
|
Comment 27•3 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: Product requires the changes to be included in Fx151.
- Code covered by automated testing?: yes
- Fix verified in Nightly?: no
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: These changes will replace the existing desktop shortcut with the Desktop Launcher during Firefox updates, but only for installations performed using the full installer and not managed by enterprise policies.
- String changes made/needed?: No.
- Is Android affected?: no
| Assignee | ||
Comment 28•3 months ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D294433
Comment 29•3 months ago
|
||
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/c210ca67972d465f63c7527966d46fe34fe4dd2a
[enterprise-main] Bug 2023696 - Do not install the Desktop Launcher if the installation type is MSI r=cdupuis,browser-installer-reviewers,application-update-reviewers
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/87f3dd7d54a36f9fdbb5603dce55be2c86c94f20
[enterprise-main] Bug 2023696 - If the installation type is full, only install the Desktop Launcher if /DesktopLauncher is passed r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/4c41a5cbe80d00ed584b20e7be96b5499490f5ce
[enterprise-main] Bug 2023696 - Avoid duplicate desktop shortcuts in single-process updates r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/07505173403c67608a3ec1d88882015018f79651
[enterprise-main] Bug 2023696 - Add helper functions to manage the enterprise policy flag file r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/d6d757d2aebf42078876264f485fd3f4dc0b06e4
[enterprise-main] Bug 2023696 - Add function to check if enterprise policies are set via distribution/policies.json r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/ed0cff9ed3cd2db6cc2288a6b75588a159a6a9ed
[enterprise-main] Bug 2023696 - Add function to check if enterprise policies are set via registry r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/b6ffe2da734276b9e91db218ec0815f9f3aa9e06
[enterprise-main] Bug 2023696 - Add logic to install the Desktop Launcher to the updater r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/83e553906371d4e771441b478e0044da9b1fdc28
[enterprise-main] Bug 2023696 - Add metric to record the Desktop Launcher installation status with the full installer r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by https://github.com/antonioborondo
https://github.com/mozilla/enterprise-firefox/commit/94d765157e6a440cd52be0bbf01b69b7e01fd1c2
[enterprise-main] Bug 2023696 - Do not install the Desktop Launcher if the update channel is ESR r=application-update-reviewers,browser-installer-reviewers,cdupuis
Authored by agoloman
https://github.com/mozilla/enterprise-firefox/commit/83a42233cd9324a47ee1658558cc9a54df62ace2
[enterprise-main] Revert "Bug 2023696 - Do not install the Desktop Launcher if the update channel is ESR r=application-update-reviewers,browser-installer-reviewers,cdupuis" for causing xpc failures @marAppApplyUpdateAppBinInUseStageSuccess_win.js.
Comment 30•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9781430e0d97
https://hg.mozilla.org/mozilla-central/rev/1fb5994ddecf
https://hg.mozilla.org/mozilla-central/rev/9a74f28e0670
https://hg.mozilla.org/mozilla-central/rev/f24676d76365
https://hg.mozilla.org/mozilla-central/rev/8890eca23873
https://hg.mozilla.org/mozilla-central/rev/4c326c61eaf3
https://hg.mozilla.org/mozilla-central/rev/0f6b80814ae7
https://hg.mozilla.org/mozilla-central/rev/fac29c254a34
https://hg.mozilla.org/mozilla-central/rev/2c44b1f7d424
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 31•3 months ago
•
|
||
To verify the changes, you need a version of Firefox installed using the full installer that includes the changes, as well as a newer version available to update to, since it's during the update process that the desktop shortcut is replaced by the Desktop Launcher.
All the use cases are collected in Comment #9 and were verified in Nightly.
Updated•3 months ago
|
Comment 32•3 months ago
|
||
For a trace in the bug, this is pending QA validation and nightly bake time before uplifting.
Current status: investigating problems found by QA testing Comment 9
Comment 33•3 months ago
|
||
We are in the process of testing this on Nightly 152, will come back with an update as soon as we'll finished the testing. So far we found bug 2035214.
Updated•3 months ago
|
Comment 34•3 months ago
|
||
We finished testing this on both Windows 10 and Windows 11 using Nightly 152. We used the scenarios from comment 9 as a testing reference along other scenarios that we thought about. We did found a new issue bug 2035758 which is related to Scenario 5 from comment 9.
Except from the new issue we verified the previous issue found bug 2035214 as fixed.
Note:
- If we will end up uplifting this to 151 we'll have to uplift the fixes from the bugs that we found as well.
| Assignee | ||
Comment 35•3 months ago
|
||
I've updated the use cases and closed Bug 2035758 since it's correct. If no more issues have been found, the ticket is ready for uplift.
Thanks, Bogdan and Monica, for the extra effort in testing all of this!
Comment 36•3 months ago
|
||
(In reply to Antonio Borondo [:aborondo] from comment #35)
I've updated the use cases and closed Bug 2035758 since it's correct. If no more issues have been found, the ticket is ready for uplift.
No more issues from us. The extra scenarios added were already tested by us and the results are the same as from comment 9. Good to go from our end.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 37•3 months ago
|
||
| uplift | ||
Updated•3 months ago
|
Comment 38•2 months ago
|
||
Sorry for being a bit late. We finished testing this on both Windows 10 and Windows 11 using Firefox 151 builds (beta 9 update to beta 10) on both Windows 10 and Windows 11 and we did not found any new issue.
Description
•