Commit Graph

690 Commits

Author SHA1 Message Date
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
Aaron Klotz
bf28fc36cb Bug 1372357: Remove FixCorruptOleAccRegistration from installer as it is no longer necessary; r=mhowell
MozReview-Commit-ID: DptKD4dvDSK
2017-06-12 14:52:09 -06:00
Matt Howell
36582fadb2 Bug 1376489 - Allow stub installer header text to use the full window width. r=rstrong
MozReview-Commit-ID: L5OdDqdS12e
2017-06-27 11:43:42 -07:00
Matt Howell
c2f1e6944e Bug 1375013 - Fix stub footer text for RTL locales, and adjust width to prevent running over logo image. r=rstrong
MozReview-Commit-ID: 7UyK9SKV17D
2017-06-22 15:18:52 -07:00
Matt Howell
415f7890ae Bug 1372521 - Support multi-line stub installer footer text. r=rstrong
MozReview-Commit-ID: CVFRg2y3ruo
2017-06-13 13:47:59 -07:00
Matt Howell
d4465100aa Bug 1366860 - Require a minimum amount of RAM to get a 64-bit build from the stub installer. r=rstrong
MozReview-Commit-ID: 4lR9pjafnTq
2017-05-23 13:22:33 -07:00
Adam Gashlin
af8ecc6e52 Bug 1365998 Part 2 - Streamlined stub installer. r=mhowell
MozReview-Commit-ID: BSwvsGbC7bN
2017-05-18 10:56:55 -07:00
Aaron Klotz
f3f43946b3 Bug 1358276: Add FixCorruptOleAccRegistration to PostUpdate; r=mhowell
MozReview-Commit-ID: 64hU21BgELu

Some third-party software tampers with the registry settings for the
IAccessible COM interface which is provided by Windows. If these settings
become corrupted, our a11y implementation breaks. We attempt to detect this
by loading the path to the IAccessible typelib and checking to see if that file
still exists. If it is missing, we reset the typelib GUID and version to the
system default.

The GUIDs and version number included in this patch hold from Windows 7 through
to Windows 10 Anniversary Update. The Windows 10 Creators update does not use
a typelib anymore, so we do nothing in that case. This fix is intended to run
on 32-bit builds only.
2017-04-26 14:19:19 -06:00
Matt Howell
87727490e8 Bug 1357161 - Replace shortcut icons on application update. r=agashlin
MozReview-Commit-ID: LHrN4eXwRFt
2017-04-17 16:06:46 -07:00
Aaron Klotz
fb07769842 Bug 1357194: Use MOZ_UPDATE_CHANNEL to distinguish between local/nightly and beta/release builds for AccessibleHandler CLSIDs; r=mhowell,mshal
MozReview-Commit-ID: Kp8x5o66nrY

I want AccessibleHandler.dll to use different UUIDs based on release channel.
The way I was doing it before wasn't working correctly because I also wanted
local builds to have their own set of UUIDs vs our regular Nightly/Beta/Release
builds.

I also want the beta channel to have its own set of UUIDs that are distinct
from release.

I'm using MOZ_UPDATE_CHANNEL to distinguish between the channels when
NIGHTLY_BUILD and BETA_OR_RELEASE are insufficient.
2017-04-17 14:47:41 -06:00
Wes Kocher
e18b7d684a Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Matt Howell
92c791c783 Bug 1354325 - Update the StartMenuInternet registry keys in PostUpdate. r=agashlin
MozReview-Commit-ID: COH5TM5ck7Y
2017-04-10 15:50:21 -07:00
Aaron Klotz
b15ebb6873 Bug 1355968: Ensure AccessibleHandler.dll is registered in PostUpdate; r=mhowell
MozReview-Commit-ID: 844rRTVvIIW
2017-04-12 14:46:05 -06:00
Aaron Klotz
7a0e0960f1 Bug 1354208: Add AccessibleHandler.dll to installer; r=mhowell
MozReview-Commit-ID: 4EMkQMhS3B2
2017-02-14 16:33:48 -07:00
Matt Howell
4a245a2953 Bug 1353955 - Fix making ourselves the default browser on Windows 7. r=agashlin
This fixes a regression from bug 1324617. We were setting all our file and
protocol associations correctly, but failing to invoke SetAppAsDefaultAll,
meaning we act like the default browser (as in, links and files opened from
external applications go to us), but we don't detect ourselves as the default
browser, and the previous default browser still thinks it's the default.

This only applies to Windows 7 because later versions don't allow us to make
ourselves the default browser anyway.

MozReview-Commit-ID: 29iWvzicce9
2017-04-06 15:57:32 -07:00
Matt Howell
04fb28bcf7 Bug 1354321 - Rename installer-created shortcuts on update if the branding name has changed. r=agashlin
MozReview-Commit-ID: IB74aVjhQ58
2017-04-10 09:07:27 -07:00
Matt Howell
ec27e37782 Bug 1350974 - Continue installing unelevated if the UAC prompt is rejected, and don't prompt a second time in the stub installer. r=agashlin
MozReview-Commit-ID: MGlgeNZUIH
2017-03-27 09:28:45 -07:00
Matt Howell
e61a4837b5 Bug 1343938 - Fix new installs erroneously not prompting to change the default browser setting. r=agashlin
MozReview-Commit-ID: EYPeEOE8Ldr
2017-03-02 10:55:24 -08:00
Matt Howell
3818262e5a Bug 1340568 - Fix some cases of the installer generating duplicate registry keys. r=rstrong
This is followup from bug 1324617, which added a new naming scheme for registry
keys related to the default browser settings, to allow more than one installation
to participate in those settings. That patch attempted to prevent creating the
new keys for an installation which already had the old ones, but didn't go far
enough with that attempt.

Also, clean up how we use the IconsVisible registry entry, specifically to
always set it on new installs even if we don't create shortcuts, because it no
longer seems to actually do anything except control the value of the Enable
Access checkbox in the Windows 7 version of Set Program Access and Defaults.
This was, I admit, mostly done to avoid having to fix a couple places where we
were updating the IconsVisible value.

MozReview-Commit-ID: 6VHU8FlBT0M
2017-02-24 09:17:22 -08:00
Matt Howell
2c9475d25a Bug 1339504 - Use silent file copies in the Maintenance Service installer. r=agashlin
MozReview-Commit-ID: AUse9SjJaIA
2017-02-23 10:05:36 -08:00
Gabriele Svelto
13e3767437 Bug 1310703 - Introduce the pingsender executable; r=ted
MozReview-Commit-ID: 2SEwwGywahQ
2017-01-16 17:39:22 +01:00
Matt Howell
a3b551e0e5 Bug 1337422 - Support multiple text lines for the last stub installer checkbox label. r=agashlin
MozReview-Commit-ID: Ke3cUKqm3uk
2017-02-07 08:25:47 -08:00
Matt Howell
b8b9bdc616 Bug 1336243 - Fix a regression from bug 1324617 in launching the browser post-install. r=agashlin
Bug 1324617 changed the name of the registry path that was being used to find
the new installation to launch, but forgot to update that function. This patch
switches to a more direct method of getting the right path to launch.

MozReview-Commit-ID: Hexhj9y4ixc
2017-02-02 16:24:55 -08:00
Matt Howell
86eb661778 Bug 1332496 - Fix 64-bit uninstaller failing to automatically remove maintenance service; r=rstrong
There are two parts to this patch:
1) The maintenance service installer now writes its uninstall registry keys to
the same registry view (either 32-bit or 64-bit) that it uses for all its other
registry keys. Previously it would always use the 32-bit view. Additionally,
if the 64-bit view is used, any existing entries in the 32-bit view are removed.
2) The Firefox uninstaller now looks in both views to find the path to the
maintenance service uninstaller. Previously it looked only in the native view.
This change was made in addition to #1 so that we have a fix for the bug that
will get delivered in an update, as opposed to requiring a reinstall.

MozReview-Commit-ID: Hu5AhopzO2x
2017-01-20 13:12:26 -08:00
Matt Howell
468c1167c1 Bug 1334786 - Support multiple text lines for stub installer checkbox labels; r=rstrong
The bug only mentions the shortcuts checkbox, but the ping checkbox label looks
precariously close to also being too long, so I handled it as well.

This patch only supports up to two lines of text, and only the shortcuts and
ping checkboxes can have multiple lines. Both of those limitations could be
lifted without too much trouble, but it doesn't seem necessary for now.

MozReview-Commit-ID: 9cm1scfrOY5
2017-01-30 10:21:55 -08:00
Matt Howell
129b988df4 Bug 1324617 - Allow any of multiple installations to be set as the Windows default browser; r=jimm,rstrong
Previously each new installation of any Firefox channel in any location would
just overwrite the Windows registry keys which register us as a candidate for
the default browser setting and for all of our potential file and protocol associations.

This meant that only the most recent installation (across all channels) was ever
selectable in those settings.

It also meant that creating a new installation when one was already present
tripped Windows 10's shenanigans alarm, because it saw the registration for an
existing application getting clobbered by a new one and couldn't tell that they
were really the same application.

The response to that alarm going off is to reset the default browser to Edge,
and maybe or maybe not generate a system notification about that. This is the
cause of bug 1324617. Obviously we would like to prevent that outcome.

So with this commit we generate new registration entries for each installation,
by adding a hash of the install path to the relevant identifiers.

MozReview-Commit-ID: Fz1xDtittMi
2017-01-09 08:14:00 -08:00
Sebastian Hengst
678f0ccaaa Bug 1334883 - Remove code NSIS pre-3.0a2 code from installer. r=mhowell
MozReview-Commit-ID: 7mhVME2tUcv
2017-01-31 11:25:18 +01:00
Sebastian Hengst
69dc22e3c9 Bug 1334883 - Remove code Windows Vista code from installer. r=mhowell
MozReview-Commit-ID: 6YTxjkDkwc2
2017-01-31 11:25:03 +01:00
Sebastian Hengst
03fbc20c46 Bug 1334883 - Remove code Windows XP code from installer. r=mhowell
MozReview-Commit-ID: 70I3VPpjwQA
2017-01-31 11:24:30 +01:00