Commit graph

751 commits

Author SHA1 Message Date
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
Sylvestre Ledru
b6356f4723 Bug 1523092 - Enable codespell on more directories r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D17740

--HG--
extra : moz-landing-system : lando
2019-01-30 14:16:08 +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
Matt Howell
28ff59ecfc Bug 1514806 Part 5 - Select the appropriate 7-zip SFX stub binary for the build target. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15983

--HG--
extra : moz-landing-system : lando
2019-01-22 21:58:49 +00:00
Aaron Klotz
6b426a13b2 Bug 1520974: Fix typo in browser/installer/windows/Makefile.in; r=nalexander#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D16922

--HG--
extra : moz-landing-system : lando
2019-01-18 01:01:36 +00:00
Robert Strong
55bdeb26e6 Bug 1515075 - Build failure: Error in script maintenanceservice_installer.nsi on line 184 -- aborting creation process. r=mshal
Prevents the build failure by copying files for maintenanceservice_installer.nsi just as is done for other installers
2019-01-16 10:16:30 -08: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
Cosmin Sabou
1558607307 Backed out 6 changesets (bug 1514806) for causing windows 2012 opt repack bustages.
Backed out changeset 63debb1d02d3 (bug 1514806)
Backed out changeset 803d20ba3f80 (bug 1514806)
Backed out changeset 3b95c5d8466d (bug 1514806)
Backed out changeset eb09e108a439 (bug 1514806)
Backed out changeset 6a738993de29 (bug 1514806)
Backed out changeset 303b19a8b923 (bug 1514806)

--HG--
rename : other-licenses/7zstub/firefox/7zSD.win32.manifest => other-licenses/7zstub/firefox/7zSD.manifest
rename : other-licenses/7zstub/firefox/7zSD.Win32.sfx => other-licenses/7zstub/firefox/7zSD.sfx
2019-01-15 19:17:09 +02:00
Matt Howell
37e3810088 Bug 1514806 Part 5 - Select the appropriate 7-zip SFX stub binary for the build target. r=firefox-build-system-reviewers,mshal#firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D15983

--HG--
extra : moz-landing-system : lando
2019-01-14 21:58:58 +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
Mike Hommey
d8065af7e8 Bug 1502457 - Use MOZ_APP_VERSION instead of FIREFOX_VERSION. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D11982

--HG--
extra : source : 2c2b09264a82bb21a56620189020e146d80259d3
2018-11-16 01:14:07 +00:00
shindli
4756350be2 Backed out 6 changesets (bug 1502457) for causing Mn mozprocess automation failures in '/Users/cltbld/tasks/task_1542517470/build/venv/bin/python
Backed out changeset 9174dadf38b0 (bug 1502457)
Backed out changeset 2bc4c0bfa299 (bug 1502457)
Backed out changeset 1442604ea266 (bug 1502457)
Backed out changeset 1cf7694c8aa2 (bug 1502457)
Backed out changeset a73cfbabdd47 (bug 1502457)
Backed out changeset 2c2b09264a82 (bug 1502457)
2018-11-18 10:24:11 +02:00
Mike Hommey
9fa95a7c67 Bug 1502457 - Use MOZ_APP_VERSION instead of FIREFOX_VERSION. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D11982

--HG--
extra : moz-landing-system : lando
2018-11-16 01:14:07 +00:00
Narcis Beleuzu
df50f67e20 Backed out 6 changesets (bug 1502457) for build bustages. CLOSED TREE
Backed out changeset febdb867785a (bug 1502457)
Backed out changeset 7ea52c602445 (bug 1502457)
Backed out changeset 73bb6a74cad0 (bug 1502457)
Backed out changeset b172bda6e983 (bug 1502457)
Backed out changeset 0e283ddc6c3b (bug 1502457)
Backed out changeset 638fa0251123 (bug 1502457)
2018-11-16 02:13:57 +02:00
Mike Hommey
cf76f0e20d Bug 1502457 - Use MOZ_APP_VERSION instead of FIREFOX_VERSION. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D11982

--HG--
extra : moz-landing-system : lando
2018-11-15 23:24:27 +00:00
Matt Howell
8c92d01dbf Bug 1504244 - Remove an erroneous parameter that's overriding /ExtractDir in the MSI installer. r=agashlin
--HG--
extra : source : 001e54e9309c7b09c888ba1ec6f94510ba2a3995
2018-11-09 09:55:01 -08:00
Kim Moir
db3477911d Bug 1485228 - Add support for repackage msi r=mhowell
Differential Revision: https://phabricator.services.mozilla.com/D9331

--HG--
extra : moz-landing-system : lando
2018-11-07 17:45:46 +00: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
Suriyaa Sundararuban
7f994bbad2 Bug 1481532 - Use HTTPS protocol for Searchfox link in InstallerBuild.rst file r=mossop
Summary: Change protocol of the Searchfox URL in InstallerBuild.rst from HTTP to HTTPS.

Reviewers: mossop

Reviewed By: mossop

Subscribers: suriyaa

Bug #: 1481532

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

--HG--
extra : histedit_source : 08ee2f4eb2aeb48e05e92a4a7c88476eb9e7851b
2018-08-14 08:31:18 +03: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
ff8aa1e27a Bug 1461364 - Update installer build documentation to cover recent changes. r=agashlin
MozReview-Commit-ID: HnTDPxSEVtO

--HG--
extra : rebase_source : a83a4ce6d2be2ce477da7d5dd8c773834b5547b7
2018-05-15 08:47:18 -07:00
Matt Howell
db6e6b403d Bug 1461592 - Clarify in docs that new installer command-line options are only available in 62+. r=agashlin
MozReview-Commit-ID: 3bjBhO93DN6

--HG--
extra : rebase_source : 087e7ebd775b9d759e5a124662bb35473a703a4f
2018-05-15 08:38:14 -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
Tom Prince
c8c9d47e92 Bug 1436662: Package translated uninstaller; r=pike,mshal
The uninstaller was being built as a side-effect of building `setup.exe`. In
Bug 1385227, that was moved from "somewhere" to part of the windows installer
packaging, which happens after the zip and mar are generated. Since the
installer we ship is actually repackaged from the zip[1], we stopped shipping
translated uninstallers.

This changes things around so that the uninstaller gets translated:
- Explicitly build the uninstaller as part of the L10n repack step.
- Use the same logic to build the installer locally as we do to create the ones
  we ship.

[1] Except on Thunderbird

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

--HG--
extra : rebase_source : 05fe935c1d2a9fbfeef786819bfe5913ed8ef862
extra : source : d6bf22099e2195dcb64c3c3d7700d3edd0850a3a
2018-04-16 12:49:53 -06:00
Brindusan Cristian
34b33a520a Backed out 2 changesets (bug 1436662) for build bustages on /installer/windows. CLOSED TREE
Backed out changeset fcb756834abb (bug 1436662)
Backed out changeset d6bf22099e21 (bug 1436662)
2018-04-17 19:08:21 +03:00
Tom Prince
cdf80aa336 Bug 1436662: Package translated uninstaller; r=pike,mshal
The uninstaller was being built as a side-effect of building `setup.exe`. In
Bug 1385227, that was moved from "somewhere" to part of the windows installer
packaging, which happens after the zip and mar are generated. Since the
installer we ship is actually repackaged from the zip[1], we stopped shipping
translated uninstallers.

This changes things around so that the uninstaller gets translated:
- Explicitly build the uninstaller as part of the L10n repack step.
- Use the same logic to build the installer locally as we do to create the ones
  we ship.

[1] Except on Thunderbird

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

--HG--
extra : rebase_source : 2b28b9ff7196d12f4a188c8dddf750b9a5efac5b
extra : histedit_source : 9bc28891950ae8c226cfdefef6f8121ce0b51f58
2018-04-16 12:49:53 -06: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
022b3fe431 Bug 1325121 - Add some installer documentation to the tree. r=agashlin
This is not exhaustive technical documentation for every aspect of the installer
code, but it's better than what we had, and it does contain the ping
documentation that this bug was originally asking for.

MozReview-Commit-ID: 5h7UwnAk4Iq

--HG--
extra : rebase_source : a3a8a8bdee9e76ee039c342a07a121170872708c
2018-02-14 10:01:38 -08: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