Commit Graph

718 Commits

Author SHA1 Message Date
Adam Gashlin
57528da88b Bug 1451366: Part 2 - Wait after launch from installer r=mhowell 2018-05-14 14:28:15 -07:00
Matt Howell
bdc691b1ce Bug 1461364 - Update installer build documentation to cover recent changes. r=agashlin
MozReview-Commit-ID: HnTDPxSEVtO
2018-05-15 08:47:18 -07:00
Matt Howell
866f738cbc Bug 1461592 - Clarify in docs that new installer command-line options are only available in 62+. r=agashlin
MozReview-Commit-ID: 3bjBhO93DN6
2018-05-15 08:38:14 -07:00
Matt Howell
190eb14d31 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
2018-05-03 13:11:02 -07:00
Matt Howell
f0c6def672 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
2018-04-20 13:09:24 -07:00
Tom Prince
fead162aea 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
2018-04-16 12:49:53 -06:00
Brindusan Cristian
08165faf0d 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
7208c53bde 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
2018-04-16 12:49:53 -06:00
Matt Howell
8ee1161ab4 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
2018-03-21 10:39:38 -07:00
Matt Howell
bc056c4920 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
2018-02-14 10:01:38 -08:00
Matt Howell
7c14583ff1 Bug 1246387 - Switch to HTTPS for downloads from the stub installer. r=agashlin
MozReview-Commit-ID: BlaZf0a2O8D
2018-02-06 13:37:34 -08:00
Hector Zhao
d101b50e0b Bug 1427712 - full installer page to install optional extensions with partner distribution. r=mhowell
MozReview-Commit-ID: FGIgyQTwfj
2018-01-03 19:00:23 +08:00
Joey Chagnon
8ae6c2e715 Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell
MozReview-Commit-ID: C5ZJd6ZQwzz
2018-01-02 22:40:44 -05:00
Sylvestre Ledru
452756d10b 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
42aad57622 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
b9fc1deb6d 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-18 16:17:01 +01:00
Cosmin Sabou
aa40eb6b04 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
c352de26df 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-18 16:17:01 +01:00
Matt Howell
c87b4819e7 Bug 1424670 - Don't hard code a Program Files path. r=cpeterson
MozReview-Commit-ID: 6mTwiyvvrVk
2017-12-10 19:11:10 -08:00
Matt Howell
f1401eb36b Bug 1423958 - Check for problematic third-party software before automatically installing a 64-bit build. r=agashlin
MozReview-Commit-ID: ZzXuSmY7k3
2017-12-07 11:23:13 -08:00
Matt Howell
d1e80c1596 Bug 1415647 Part 2 - Support renaming shortcuts during paveover installs. r=rstrong
MozReview-Commit-ID: yHfvfJpHao
2017-11-08 11:12:06 -08:00
Matt Howell
a066a57412 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
2017-11-08 11:07:54 -08:00
Matt Howell
3e33328049 Bug 1413295 - Use BrandShortName as the title for new shortcuts, and rename existing shortcuts our installer created. r=rstrong
MozReview-Commit-ID: K4YvG5DZgqb
2017-10-31 12:18:25 -07:00
Matt Howell
e8d66c0a15 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
2017-10-23 09:13:50 -07:00
Matt Howell
e2cbf14a1d Bug 1410944 - Support uninstalling a duplicated registry entry we might have erroneously created. r=agashlin
MozReview-Commit-ID: 3WR2NfAYFgl
2017-10-23 11:04:59 -07:00
Matt Howell
a9dda0f618 Bug 1337856 Part 2 - Swap out stub installer background images with JPEG's, and add high-res versions. r=agashlin
MozReview-Commit-ID: AUa58uY8pKW
2017-10-12 15:11:53 -07:00
Matt Howell
fc14600836 Bug 1337856 Part 1 - Use a better up/down-scaling method for the stub installer background. r=agashlin
MozReview-Commit-ID: Ag02ni4nJ00
2017-10-10 08:50:31 -07:00
Matt Howell
1d62e258c1 Bug 798005 - Resume interrupted downloads in the stub installer, instead of starting over. r=agashlin
MozReview-Commit-ID: GxEqsrDBdIm
2017-09-08 11:03:48 -07:00
Matt Howell
61b8fc6ce5 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
2017-10-03 13:18:21 -07:00
Ryan VanderMeulen
0bbc99ec8a 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
f9eacd9146 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
2017-09-12 09:06:09 +02:00
Matt Howell
aff3ae4b8c Bug 1397902 - Switch on the new stub installer strings and remove the old ones. r=agashlin,flod
MozReview-Commit-ID: 87PmEx0BbHe
2017-09-12 13:10:13 -07:00
Aaron Klotz
13e7e665be Bug 1398922: Add AccessibleMarshal.dll registration to updater; r=mhowell
MozReview-Commit-ID: 1xmE4oi2q2u
2017-09-11 14:35:01 -06:00
Matt Howell
04066c95ef Bug 1380984 - Fix a failure to detect that an install is registered as a possible default browser on Windows 7. r=agashlin
MozReview-Commit-ID: BnuvQTeBGFE
2017-09-07 09:41:38 -07:00
Matt Howell
d2931397a0 Bug 1396912 - Advance the stub installer progress bar at the correct rate during the install phase. r=agashlin
MozReview-Commit-ID: Gs3ls8iEGqr
2017-09-05 15:44:49 -07:00
Matt Howell
59a4ac48c8 Bug 1395369 - Keep stub installer progress bar from filling too quickly. r=agashlin
MozReview-Commit-ID: BjWkZB0jBjS
2017-08-31 08:13:47 -07:00
Matt Howell
9054e4e506 Bug 1394582 - Don't hang forever in the stub installer if the browser was already running. r=agashlin
Fixes a regression from bug 1376597, which caused the stub installer to hang
forever and not respond to the close button if the browser was already running
during the installation.

MozReview-Commit-ID: A1XWGvnlgrS
2017-08-28 15:12:33 -07:00
Axel Hecht
b567fd3c98 bug 1385227, pick up (un-)installer branding from src instead dist/branding r=gps
There are a lot of hacks throughout the build system that just
enable us to make export in branding. Just so that we can then
copy the files from dist/branding into l10ngen.

Copy from the srcdir instead, so that we can remove those hacks
eventually.

MozReview-Commit-ID: DMoOrqZlhcn
2017-08-07 16:43:50 +02:00
Matt Howell
9f311c9960 Bug 1376597 Part 2 - Simplify progress bar handling. r=agashlin
Working on the main patch for this bug (part 1), it took me longer than seemed
reasonable to understand how the stub installer progress bar worked and to fit
the new stage into it. So I thought I would take the opportunity to attempt a
refactor and simplify the whole thing.

MozReview-Commit-ID: 9INP1Hgfiuq
2017-08-15 12:43:44 -07:00
Matt Howell
80cfc3792a Bug 1376597 Part 1 - Wait for the browser to start before exiting the stub installer. r=agashlin
MozReview-Commit-ID: Hw76NPPvHnK
2017-08-07 15:39:30 -07:00
Sebastian Hengst
ebdc0e49a9 Backed out changeset 082978a77728 (bug 1385227) for breaking L10n nightlies on Windows. r=backout a=backout
MozReview-Commit-ID: 2q0X3BWpJWP
2017-08-22 15:09:42 +02:00
Axel Hecht
84393d3815 bug 1385227, pick up (un-)installer branding from src instead dist/branding r=gps
There are a lot of hacks throughout the build system that just
enable us to make export in branding. Just so that we can then
copy the files from dist/branding into l10ngen.

Copy from the srcdir instead, so that we can remove those hacks
eventually.

MozReview-Commit-ID: DMoOrqZlhcn
2017-08-07 16:43:50 +02:00
Carsten "Tomcat" Book
2fed701ed0 merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Matt Howell
96bd5e5017 Bug 1390253 - Increase RAM threshold for automatic 64-bit installation. r=rstrong
MozReview-Commit-ID: 1IDedw68lF6
2017-08-14 13:14:01 -07:00
Robert Strong
c86b392abf Bug 1386176 Part 1 - Installer patch. r=mhowell
MozReview-Commit-ID: 9c3ebwNf8QM
2017-08-14 13:19:18 -07:00
Matt Howell
d78a2fe859 Bug 1291331 - Update last modified time on start menu shortcuts during install or update. r=rstrong
MozReview-Commit-ID: BNP8bbzpu4U
2017-08-07 14:22:33 -07:00
Matt Howell
d4a58153d1 Bug 1369255 - Part 2: Move SendPing to be less in the way and move install path checks earlier in the process. r=rstrong
MozReview-Commit-ID: kEkOmbJzfb
2017-08-04 11:05:48 -07:00
Matt Howell
801297d9c3 Bug 1369255 - Part 1: Add a prompt in the stub installer for running profile cleanup. r=rstrong
MozReview-Commit-ID: CLeVEAQe5qr
2017-07-12 10:29:38 -07:00
Axel Hecht
58128d3643 bug 1370506, always merge for l10n repacks, with internally set merge dir, r=glandium
To not merge the en-US language pack, the merge-% steps are in
a conditional function that disables that for en-US. Using a function
here as that's easier than a shell if in the merge rule, and
Makefile conditionals don't get evaluated late enough.

To liberate the l10n builds from settings in the automation,
we move the patch logic from LOCALE_MERGEDIR to REAL_LOCALE_MERGEDIR.

To determine strongly when we're in a repack or building a langpack,
the trick here is to

  export IS_LANGUAGE_REPACK

in l10n.mk, and only set that to true in the entry-point rules.

Now, we can use that value in config.mk to define the l10n-specific
rules.

I did the same thing for langpack-%, which allows us to disable
the crashreporter files for language packs, for example.

With that,

  make installers-de

just works, if you have localizations checked out.

For a while, we might run l10n-merge twice in automation, but it's really not
optional, so let's just make sure we run it.


MozReview-Commit-ID: 3nr33CKxkBQ
2017-06-16 15:21:16 +02:00
gasolin
9774642cd2 Bug 1381650 - Update bottom tag line on the stub installer;r=mhowell
MozReview-Commit-ID: EVtY8ouhSa0
2017-07-21 16:13:04 +08:00