Commit graph

391 commits

Author SHA1 Message Date
Aaron Klotz
338dde4754 Bug 1543807 - Part 2: Update the installer to reflect new launcher process registry settings; r=mhowell
* New installs should always have launcher process telemetry enabled by default
  (since it is opt-out telemetry).
* Upgrades do a reset of the force-disabled launcher state, as that state might
  have been set by SHIELD but is no longer desired in 68.
* We add the `|Telemetry` registry value to the list of values to be removed at
  uninstall.

Differential Revision: https://phabricator.services.mozilla.com/D29544

--HG--
extra : moz-landing-system : lando
2019-05-01 21:08:49 +00:00
Adam Gashlin
97ebd76f82 Bug 1523802 - Cancel BITS jobs in uninstaller. r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D22442

--HG--
extra : moz-landing-system : lando
2019-04-30 15:25:48 +00:00
Matt Howell
db553811ee Bug 1546694 - Support install-specific profiles in the stub installer profile refresh check. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D28750

--HG--
extra : moz-landing-system : lando
2019-04-29 15:46:58 +00:00
Matt Howell
4b0a8ec90f Bug 1538249 - Support pinning to the taskbar on Windows 10. r=agashlin
--HG--
extra : source : bb7191521d2633228538d638afd76c4a7ea579da
2018-10-15 08:13:12 -07:00
Matt Howell
4951b696f0 Bug 1498689 - Support partner builds changing the stub installer download URL. r=agashlin,mkaply
Differential Revision: https://phabricator.services.mozilla.com/D25431

--HG--
extra : moz-landing-system : lando
2019-04-05 16:17:08 +00:00
Aaron Klotz
e028ac8bfd Bug 1529429: Part 1 - Make the installer initially disable the launcher process on Nightly; r=mhowell
The idea here is that the installer always disables by default, but then
Firefox itself later re-enables when the appropriate pref is turned on.

I also added a check for the third launcher process registry key (|Image)
since we really only want to do this when all three registry values are
nonexistent.

Differential Revision: https://phabricator.services.mozilla.com/D20620

--HG--
extra : moz-landing-system : lando
2019-02-21 18:54:12 +00:00
Bob Owen
392f603291 Bug 1515088 Part 1: Backed out changeset 86ef2274deff (bug 1519368). r=mhowell
This change also includes temporary installer code to try and remove any
remaining Image File Execution Options.
2019-02-08 17:16:29 +00:00
Cosmin Sabou
8bd3dcb455 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-05 23:58:20 +02:00
June Wilde
11118a100a Bug 1329869 - Add missing variable AddTaskbarSC to uninstaller.nsi; r=mhowell
Fix for warnings in uninstaller.nsi for unknown variable AddTaskbarSC by adding
the variable to the nsi file rather than adding a version of MigrateTaskBarShortcut
specific to the uninstall procedure

Differential Revision: https://phabricator.services.mozilla.com/D18629

--HG--
extra : moz-landing-system : lando
2019-02-05 02:29:02 +00:00
June Wilde
1010fb2799 Bug 1415743 - Remove unused function MigrateStartMenuShortcut from the installer, r=mhowell
This code hasn't been needed in quite a long time at this point and it should be removed.

Differential Revision: https://phabricator.services.mozilla.com/D17657

--HG--
extra : moz-landing-system : lando
2019-01-25 17:54:56 +00:00
Aaron Klotz
d56e504ec2 Bug 1517642: Make the installer and updater disable the launcher process by default on beta and release; r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D15758

--HG--
extra : moz-landing-system : lando
2019-01-16 00:06:39 +00:00
Matt Howell
219be7ea4f Bug 1512039 - Allow the stub installer to detect and download the AArch64 Windows build. r=agashlin
This patch also removes the last vestiges of the old architecture dropdown
structure, and removes a use of GetBinaryTypeW because it doesn't seem to
return a useful result for any ARM ISA.

Differential Revision: https://phabricator.services.mozilla.com/D14811

--HG--
extra : moz-landing-system : lando
2019-01-10 23:09:01 +00:00
Bob Owen
b4047e7f77 Bug 1519368: Set MaxLoaderThreads to 1 in the registry for arm64 Windows installs. r=mhowell
This Image File Execution Option is required for firefox.exe and
plugin-container.exe because the multi-threaded loading interferes
with the chromium sandbox.
2019-02-05 16:22:45 +00:00
Matt Howell
8f375ba526 Bug 1512699 - Detect the AArch64 platform in the full installer. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D14662

--HG--
extra : moz-landing-system : lando
2018-12-18 02:42:48 +00:00
Robert Strong
24b436868b Bug 1478032 - Add aarch64 detection and set the correct registry views in the installer. r=mhowell 2018-12-17 11:17:26 -08:00
Sebastian Hengst
df1d0673b0 Backed out changeset 725a692947dd (bug 675428) for opening multiple tabs (bug 1496380) - bug 1512496
--HG--
extra : source : 0cf938ef3c98b60c9e276a197b50ea9a2bf14c38
2018-12-10 18:44:24 +02:00
Matt Howell
54c17abaeb Bug 1453613 Part 2 - Add a full installer telemetry ping. r=agashlin
--HG--
extra : source : d7ee73e237c70cb7d13567e9a0ec2c32a1162211
2018-10-15 11:21:25 -07:00
Kirk Steuber
19c8368ea5 Bug 1458314 - Move the update directory to an installation specific location r=rstrong
This change applies to Windows only.
Firefox will need to migrate the directory from the old location to the new location. This will be done only once by setting the pref `app.update.migrated.updateDir2.<install path hash>` to `true` once migration has completed.

Note: The pref name app.update.migrated.updateDir has already been used, thus the '2' suffix. It can be found in ESR24.

This also removes the old handling fallback for generating the update directory path. Since xulrunner is no longer supported, this should no longer be needed. If neither the vendor nor app name are defined, it falls back to the literal string "Mozilla".

The code to generate the update directory path and the installation hash have been moved to the updatecommon library. This will allow those functions to be used in Firefox, the Mozilla Maintenance Service, the Mozilla Maintenance Service Installer, and TestAUSHelper.

Additionally, the function that generates the update directory path now has extra functionality. It creates the update directory, sets the permissions on it and, optionally, recursively sets the permissions on everything within.

This patch adds functionality that allows Firefox to set permissions on the new update directory on write failure. It attempts to set the permissions itself and, if that fails and the maintenance service is enabled, it calls into the maintenance service to try from there. If a write fails and the permissions cannot be fixed, the user is prompted to reinstall.

Differential Revision: https://phabricator.services.mozilla.com/D4249

--HG--
rename : toolkit/mozapps/update/updater/win_dirent.cpp => toolkit/mozapps/update/common/win_dirent.cpp
rename : toolkit/mozapps/update/tests/unit_aus_update/cleanupSuccessLogMove.js => toolkit/mozapps/update/tests/unit_aus_update/updateDirectoryMigrate.js
extra : moz-landing-system : lando
2018-10-23 21:41:04 +00:00
Bogdan Tara
4110bb0a9b Backed out 2 changesets (bug 1453613) for Windows MinGW build bustages CLOSED TREE
Backed out changeset 77fabbff45e0 (bug 1453613)
Backed out changeset 1df447ff4c77 (bug 1453613)
2018-10-23 19:18:10 +03:00
Matt Howell
55caf9383f Bug 1453613 Part 2 - Add a full installer telemetry ping. r=agashlin
Depends on D8870

Differential Revision: https://phabricator.services.mozilla.com/D8872

--HG--
extra : moz-landing-system : lando
2018-10-23 15:23:43 +00:00
Matt Howell
62a191de2d Bug 1497907 - Don't accidentally hide the uninstaller reboot opt-out radio button. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D8309

--HG--
extra : moz-landing-system : lando
2018-10-11 22:59:49 +00:00
Matt Howell
bdc8808795 Bug 1494900 Part 2 - Always use IE to show the uninstall survey on Win7/8. r=agashlin
--HG--
extra : source : 23b7831bccdbc3972da9a8b19e900d85f4a192fc
2018-09-28 08:44:11 -07:00
Matt Howell
39c00aeec5 Bug 1488857 - Correctly detect the current dev edition version for showing stub installer profile reset prompts. r=agashlin
Also remove a useless line that looks like some debugging code I accidentally left in.

Differential Revision: https://phabricator.services.mozilla.com/D5059

--HG--
extra : moz-landing-system : lando
2018-09-05 20:55:04 +00:00
Hal Wine
d56280bad5 Bug 675428 - register Firefox to handle mailto URLs in Windows r=mhowell
At least in Win10, Firefox is not an option to configure as a mailto handler.

Differential Revision: https://phabricator.services.mozilla.com/D2247

--HG--
extra : moz-landing-system : lando
2018-08-08 20:56:45 +00:00
Matt Howell
5464744b1d Bug 1448804 Part 2 - Offer an opt-in survey at the end of the Windows uninstaller. r=agashlin
MozReview-Commit-ID: 2yPAfY3S2Bl

--HG--
extra : rebase_source : 936e6e4edd555059ac5ae95d40e7e4aa807a843f
2018-07-09 10:54:05 -07:00
Adam Gashlin
dfbba9a1fa Bug 1451366: Part 2 - Wait after launch from installer r=mhowell 2018-05-14 14:28:15 -07:00
Matt Howell
6a0e837433 Bug 799710 - Move installer certificate validation to its own thread. r=agashlin
We occasionally get reports of UI unresponsiveness immediately following the
download phase of the stub installer. The longest operation that runs on the
main thread during this phase is validating the code signature of the full
installer. This patch moves that work (which is done in a native NSIS plugin)
to a separate thread. Hopefully this helps resolve the hangs.

I've also converted the build files for the plugin from Visual C++ 6 to 2017,
just to avoid the inconvenience of needing to pull up VC6 to build it.

MozReview-Commit-ID: CKje2a8M62i

--HG--
extra : rebase_source : ec9a11268eed3c4f9e0783532b0e910289e809f9
2018-05-03 13:11:02 -07:00
Matt Howell
ab9dbcd000 Bug 1425468 - Add command-line parameters for setting full installer options. r=agashlin
I'm also adding a "StartMenuShortcut" option as an alias for "StartMenuShortcuts",
because I could not stop leaving off the 's' while testing this patch, so I
figure I'm not the only one making that mistake and getting frustrated.

MozReview-Commit-ID: Fdsc6CTBJr4

--HG--
extra : rebase_source : c57295e0936b6721bc75d6f11f33bad6691b96de
2018-04-20 13:09:24 -07:00
Matt Howell
2a034bc30a Bug 986081 - Allow backing out of closing the stub installer. r=agashlin
Currently, clicking the close button or otherwise trying to exit the Windows
stub installer always ends up canceling the installation. This patch prompts
the user to either continue or cancel the installation.

MozReview-Commit-ID: 4KMgCcyjTnv

--HG--
extra : rebase_source : 0c0636c9c02fabd32df37471033d8e847caea5d3
2018-03-21 10:39:38 -07:00
Matt Howell
7f033bf33e Bug 1246387 - Switch to HTTPS for downloads from the stub installer. r=agashlin
MozReview-Commit-ID: BlaZf0a2O8D

--HG--
extra : rebase_source : 1b2f9a88d6ebe857a1c2f2c72b08532c684ccc2f
2018-02-06 13:37:34 -08:00
Hector Zhao
92ed511d9a Bug 1427712 - full installer page to install optional extensions with partner distribution. r=mhowell
MozReview-Commit-ID: FGIgyQTwfj

--HG--
extra : rebase_source : a4abe52dfd85c8603f82dba214bf6f4826215f67
2018-01-03 19:00:23 +08:00
Joey Chagnon
11c13bea59 Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell
MozReview-Commit-ID: C5ZJd6ZQwzz

--HG--
extra : rebase_source : 32ddd55d2c50a314ad2d0d9c7c2f4e8e8e909632
2018-01-02 22:40:44 -05:00
Sylvestre Ledru
9e7f918015 bug 1378834 - Update of the installers to reflect the nightly name change r=mhowell,dao
BrandFullName is now defined in the branding files


MozReview-Commit-ID: 5wmInT9xbrT
2017-12-21 22:13:07 +02:00
Dorel Luca
6c33c9bab7 Backed out changeset ffc76e7fc38b (bug 1378834) for failing Browser-chrome on toolkit/xre/test/browser_checkdllblockliststate.js on a CLOSED TREE 2017-12-21 21:03:21 +02:00
Sylvestre Ledru
f42229fb7d bug 1378834 - Update of the installers to reflect the nightly name change r=mhowell,dao
BrandFullName is now defined in the branding files


MozReview-Commit-ID: 5wmInT9xbrT

--HG--
extra : histedit_source : 28df1fc3cafda4f9146af7d4f207263abac6f6ec
2017-12-18 16:17:01 +01:00
Cosmin Sabou
1204c668a2 Backed out 5 changesets (bug 1423856, bug 1404796, bug 1378834, bug 1404823) for build bustages on compare-mozconfigs-wrapper.py r=backout on a CLOSED TREE
Backed out changeset 8d8bb8542b3d (bug 1423856)
Backed out changeset 42339ef2360c (bug 1404796)
Backed out changeset 75fd371db04b (bug 1404823)
Backed out changeset 3011254797d5 (bug 1378834)
Backed out changeset c76ad732c275 (bug 1378834)
2017-12-21 00:52:28 +02:00
Sylvestre Ledru
6b9fc8ffaf bug 1378834 - Update of the installers to reflect the nightly name change r=mhowell,dao
BrandFullName is now defined in the branding files


MozReview-Commit-ID: 5wmInT9xbrT

--HG--
extra : rebase_source : f22be9058c8ba4e9a7988e5df0130ac89f0116b3
extra : histedit_source : 292da497cb326e2cae83c0c3a618dc676e320c2e
2017-12-18 16:17:01 +01:00
Matt Howell
aa36153e21 Bug 1424670 - Don't hard code a Program Files path. r=cpeterson
MozReview-Commit-ID: 6mTwiyvvrVk

--HG--
extra : rebase_source : 3f74a1b8a40fad99e25d131b73e2ec69f2fe1a12
2017-12-10 19:11:10 -08:00
Matt Howell
44db2641ef Bug 1423958 - Check for problematic third-party software before automatically installing a 64-bit build. r=agashlin
MozReview-Commit-ID: ZzXuSmY7k3

--HG--
extra : rebase_source : 63e971f74d6cbd9cec77e057b973589c20a070c3
2017-12-07 11:23:13 -08:00
Matt Howell
192436e586 Bug 1415647 Part 2 - Support renaming shortcuts during paveover installs. r=rstrong
MozReview-Commit-ID: yHfvfJpHao

--HG--
extra : source : 1a001e6c5f1a3d4efec9ef6be50adec82a978699
2017-11-08 11:12:06 -08:00
Matt Howell
8db2973a08 Bug 1415647 Part 1 - Streamline PostUpdate shortcut renaming code. r=rstrong
In an attempt to make the code that renames shortcuts during PostUpdate more
reliable, this patch switches to renaming the existing shortcut files instead
of deleting them and creating new ones, removes unused code dealing with icons,
and deduplicates the code by adding a new macro.

MozReview-Commit-ID: EnE2dGrunx2

--HG--
extra : source : 7173059b5ccfc60c86e1a1106b5c572e188d5fea
2017-11-08 11:07:54 -08:00
Matt Howell
fd96b7623b Bug 1413295 - Use BrandShortName as the title for new shortcuts, and rename existing shortcuts our installer created. r=rstrong
MozReview-Commit-ID: K4YvG5DZgqb

--HG--
extra : source : 324e11f297d7e4ced78f3402792e5fdcdf2abac1
2017-10-31 12:18:25 -07:00
Matt Howell
0a3125a592 Bug 1406169 - Don't try to create a StartMenuInternet key in HKCU when there's already one in HKLM. r=agashlin
MozReview-Commit-ID: DmbVhreDKjv

--HG--
extra : rebase_source : 493a4ade8d0911064a179f9280ed2b1c11b2111f
2017-10-23 09:13:50 -07:00
Matt Howell
35e575e16b Bug 1410944 - Support uninstalling a duplicated registry entry we might have erroneously created. r=agashlin
MozReview-Commit-ID: 3WR2NfAYFgl

--HG--
extra : rebase_source : 995b5f032b453524f96a54493f542609908be707
2017-10-23 11:04:59 -07:00
Matt Howell
5ed38fdf7f Bug 1337856 Part 1 - Use a better up/down-scaling method for the stub installer background. r=agashlin
MozReview-Commit-ID: Ag02ni4nJ00

--HG--
extra : rebase_source : 391e57a31468a9215953ba0491756bff99bec1bd
2017-10-10 08:50:31 -07:00
Matt Howell
9c4076ce60 Bug 798005 - Resume interrupted downloads in the stub installer, instead of starting over. r=agashlin
MozReview-Commit-ID: GxEqsrDBdIm

--HG--
extra : rebase_source : 809f39e14010622fbd6b791600f23586457e4ff2
2017-09-08 11:03:48 -07:00
Matt Howell
be4fbc10e3 Bug 1405438 - Make sure the stub installer exit code is initialized before the user can exit it. r=agashlin
Also make sure the download phase time is initialized, so it will always be
correct in affected pings.

MozReview-Commit-ID: 3aLHbMiRUZl

--HG--
extra : rebase_source : 17c7f475a9fdfcc72b4d8c4d6b5d35a134aa584d
2017-10-03 13:18:21 -07:00
Ryan VanderMeulen
05214a3fca Backed out changesets d60d9897fd39 and c508081bb938 (bug 1378834) for various regressions. r=sledru, a=me 2017-10-02 18:33:39 -04:00
Sylvestre Ledru
99d452a04f bug 1378834 - Update of the installers to reflect the nightly name change r=mhowell
BrandFullName is now defined in the branding files


MozReview-Commit-ID: 5wmInT9xbrT

--HG--
extra : rebase_source : 97f85c75026a354cbd7f55a4ed9860abad56820b
2017-09-12 09:06:09 +02:00
Matt Howell
35ff2759a8 Bug 1397902 - Switch on the new stub installer strings and remove the old ones. r=agashlin,flod
MozReview-Commit-ID: 87PmEx0BbHe

--HG--
extra : rebase_source : 75dbd979e1ebec8955ee1233d30520cf4e3af798
extra : source : 20f0e8f7f241c9becb500773f1044eacfd07efc1
2017-09-12 13:10:13 -07:00