Commit graph

698 commits

Author SHA1 Message Date
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
0d9cc3ac3c Bug 1337856 Part 2 - Swap out stub installer background images with JPEG's, and add high-res versions. r=agashlin
MozReview-Commit-ID: AUa58uY8pKW

--HG--
extra : rebase_source : e01c0e3f7b636979f6762b75b28b7c1fd6986e51
2017-10-12 15:11:53 -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
Aaron Klotz
65fff0a945 Bug 1398922: Add AccessibleMarshal.dll registration to updater; r=mhowell
MozReview-Commit-ID: 1xmE4oi2q2u
2017-09-11 14:35:01 -06:00
Matt Howell
a35859bf12 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

--HG--
extra : rebase_source : 39b445577d09e14d9600ec9ba2052c5ddd22bbaf
2017-09-07 09:41:38 -07:00
Matt Howell
93f72102cc Bug 1396912 - Advance the stub installer progress bar at the correct rate during the install phase. r=agashlin
MozReview-Commit-ID: Gs3ls8iEGqr

--HG--
extra : rebase_source : 49bcf15d8a39813f436e39c0d7569c004cb20f86
2017-09-05 15:44:49 -07:00
Matt Howell
3befbb1014 Bug 1395369 - Keep stub installer progress bar from filling too quickly. r=agashlin
MozReview-Commit-ID: BjWkZB0jBjS

--HG--
extra : rebase_source : 25f78d3e42a6028c6f350c0787477bb2562f33c3
2017-08-31 08:13:47 -07:00
Matt Howell
dcf3ddb54a 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

--HG--
extra : rebase_source : 31d21a3e7c72af874acbebaa30f0f77fc61d555f
2017-08-28 15:12:33 -07:00
Axel Hecht
c1dfd8bc7c 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

--HG--
extra : rebase_source : f8dfad1514956a2b8fbd32a10a7bc46445e4a3c8
2017-08-07 16:43:50 +02:00
Matt Howell
7e507760bd 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

--HG--
extra : rebase_source : 578d0b69482e3ac75eb02d34f5f44a5ba657b08f
2017-08-15 12:43:44 -07:00
Matt Howell
0d0d82e5dd Bug 1376597 Part 1 - Wait for the browser to start before exiting the stub installer. r=agashlin
MozReview-Commit-ID: Hw76NPPvHnK

--HG--
extra : rebase_source : 692aba0ee4a11377c6bd858331cdec024ed46633
2017-08-07 15:39:30 -07:00
Sebastian Hengst
792dbaef79 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
42124debfd 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

--HG--
extra : rebase_source : 97ec7bd049e2d7079908cfb8442417854224b404
2017-08-07 16:43:50 +02:00
Carsten "Tomcat" Book
6b36e00b7c merge mozilla-inbound to mozilla-central a=merge 2017-08-15 11:42:11 +02:00
Matt Howell
0fcb607c97 Bug 1390253 - Increase RAM threshold for automatic 64-bit installation. r=rstrong
MozReview-Commit-ID: 1IDedw68lF6

--HG--
extra : rebase_source : 87cb547e5989410d4fe6df3c13f2ce427acbd70a
2017-08-14 13:14:01 -07:00
Robert Strong
0e60591e22 Bug 1386176 Part 1 - Installer patch. r=mhowell
MozReview-Commit-ID: 9c3ebwNf8QM

--HG--
extra : source : e6c561239b4e97deb55ea542960b7b859e81ac78
extra : histedit_source : be05ddc3d9d4f4e2a1432c9fac9af0e7996b3925
2017-08-14 13:19:18 -07:00
Matt Howell
1aa8a60034 Bug 1291331 - Update last modified time on start menu shortcuts during install or update. r=rstrong
MozReview-Commit-ID: BNP8bbzpu4U

--HG--
extra : source : a4711f6efa890db50c85eaefd1a70263841422e7
extra : amend_source : 27761b1d38e816683cb09feb5c99d2be57e6f48d
2017-08-07 14:22:33 -07:00
Matt Howell
60c8222dae 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

--HG--
extra : rebase_source : b697e1b7b8d5a16d1f59839622a8c3f84c9dbc45
extra : source : c8fa38fa7cabf8bb9185531f6289a7dd02123d85
2017-08-04 11:05:48 -07:00
Matt Howell
0f34b0248e Bug 1369255 - Part 1: Add a prompt in the stub installer for running profile cleanup. r=rstrong
MozReview-Commit-ID: CLeVEAQe5qr

--HG--
extra : rebase_source : 6d2a45e6302fa93dcc57173f609da14f18df7a88
extra : source : ae9327645b6d9ed02d732ab3ad8f99d5be389913
2017-07-12 10:29:38 -07:00
Axel Hecht
aebc0e7f7e 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

--HG--
extra : rebase_source : 0605a4adba018fa4b85d563cdafba80b0533bc91
2017-06-16 15:21:16 +02:00
gasolin
7204d28172 Bug 1381650 - Update bottom tag line on the stub installer;r=mhowell
MozReview-Commit-ID: EVtY8ouhSa0

--HG--
extra : rebase_source : 8b060b4a04331c06e7bdf1c9463f93ee104869cc
2017-07-21 16:13:04 +08:00
Aaron Klotz
2b41a68aa6 Bug 1372357: Remove FixCorruptOleAccRegistration from installer as it is no longer necessary; r=mhowell
MozReview-Commit-ID: DptKD4dvDSK

--HG--
extra : rebase_source : 65a400de4d4cf98392bc2c3d20fd2088aeeab0fa
2017-06-12 14:52:09 -06:00
Matt Howell
933f502cb1 Bug 1376489 - Allow stub installer header text to use the full window width. r=rstrong
MozReview-Commit-ID: L5OdDqdS12e

--HG--
extra : rebase_source : 0f0b6ee362c34bbd722a70517c7932d300e78a2b
2017-06-27 11:43:42 -07:00
Matt Howell
d9e72ebb54 Bug 1375013 - Fix stub footer text for RTL locales, and adjust width to prevent running over logo image. r=rstrong
MozReview-Commit-ID: 7UyK9SKV17D

--HG--
extra : rebase_source : 57f534c27b2586d67d4f646727c5255564f68ffd
2017-06-22 15:18:52 -07:00
Matt Howell
16c367e8e6 Bug 1372521 - Support multi-line stub installer footer text. r=rstrong
MozReview-Commit-ID: CVFRg2y3ruo

--HG--
extra : rebase_source : 3e310afae748adca121a4f095aa9970e436e0d3e
2017-06-13 13:47:59 -07:00
Matt Howell
1750525a88 Bug 1366860 - Require a minimum amount of RAM to get a 64-bit build from the stub installer. r=rstrong
MozReview-Commit-ID: 4lR9pjafnTq

--HG--
extra : rebase_source : 37dbab58bce96d2697ede973b44b81c00a6fef75
2017-05-23 13:22:33 -07:00
Adam Gashlin
f54578b883 Bug 1365998 Part 2 - Streamlined stub installer. r=mhowell
MozReview-Commit-ID: BSwvsGbC7bN

--HG--
extra : source : a0504aa8925f37e532860787324d2a548402a2a7
extra : histedit_source : d1de628035a2530e8ea3af6fd1ff879aa021b066
2017-05-18 10:56:55 -07:00
Aaron Klotz
ad8a291810 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.

--HG--
extra : rebase_source : 1e8948ec09c707e99182424f79f746419b490b24
2017-04-26 14:19:19 -06:00
Matt Howell
343a32dcce Bug 1357161 - Replace shortcut icons on application update. r=agashlin
MozReview-Commit-ID: LHrN4eXwRFt

--HG--
extra : rebase_source : 9ea8d0b3da94cbf111985c9a5033195d8180ee8b
2017-04-17 16:06:46 -07:00
Aaron Klotz
92ce20591b 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.

--HG--
extra : rebase_source : 8cb28a22a3cac16fb743a8fe81db5e120c1fdf6d
2017-04-17 14:47:41 -06:00
Wes Kocher
514e230373 Merge inbound to central, a=merge 2017-04-13 17:24:01 -07:00
Matt Howell
64a247fee9 Bug 1354325 - Update the StartMenuInternet registry keys in PostUpdate. r=agashlin
MozReview-Commit-ID: COH5TM5ck7Y

--HG--
extra : rebase_source : 0baee4605d0b629fc4bb19b111ef298ad43155ff
2017-04-10 15:50:21 -07:00
Aaron Klotz
157a405af7 Bug 1355968: Ensure AccessibleHandler.dll is registered in PostUpdate; r=mhowell
MozReview-Commit-ID: 844rRTVvIIW

--HG--
extra : rebase_source : 471859db84d5c63318f488a0e70809344db39048
2017-04-12 14:46:05 -06:00
Aaron Klotz
33a8823b8b Bug 1354208: Add AccessibleHandler.dll to installer; r=mhowell
MozReview-Commit-ID: 4EMkQMhS3B2

--HG--
extra : rebase_source : 15f9283e2fc4c41d708b6349c36c70600d0731d1
2017-02-14 16:33:48 -07:00
Matt Howell
b51bc18a35 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

--HG--
extra : rebase_source : 1ad06799f1d1447386ec6ce1a242552ccf748f1d
2017-04-06 15:57:32 -07:00
Matt Howell
62cdf603c8 Bug 1354321 - Rename installer-created shortcuts on update if the branding name has changed. r=agashlin
MozReview-Commit-ID: IB74aVjhQ58

--HG--
extra : rebase_source : 7f1b27fa7319a50a82ed85f03d9ba16ce74ee181
2017-04-10 09:07:27 -07:00
Matt Howell
a825f495fc 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

--HG--
extra : rebase_source : 44bc526ca4badb16438a674b5657d4d79d0f545f
2017-03-27 09:28:45 -07:00
Matt Howell
0fcdf6f8cb Bug 1343938 - Fix new installs erroneously not prompting to change the default browser setting. r=agashlin
MozReview-Commit-ID: EYPeEOE8Ldr

--HG--
extra : rebase_source : 4d8ab430700b20ad5b4934ec03c617143cf3f6e1
2017-03-02 10:55:24 -08:00
Matt Howell
0cf240a0d5 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

--HG--
extra : rebase_source : 4edbd508ae125b3b0f7c6d4b9ee6a6550f316cb7
2017-02-24 09:17:22 -08:00
Matt Howell
4754b193c3 Bug 1339504 - Use silent file copies in the Maintenance Service installer. r=agashlin
MozReview-Commit-ID: AUse9SjJaIA

--HG--
extra : rebase_source : 9c3ad05c966c95a7c3eb20e33ffe93f0dba2946f
2017-02-23 10:05:36 -08:00
Gabriele Svelto
276f7423bb Bug 1310703 - Introduce the pingsender executable; r=ted
MozReview-Commit-ID: 2SEwwGywahQ
2017-01-16 17:39:22 +01:00