Commit graph

664 commits

Author SHA1 Message Date
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
Matt Howell
3661ce1526 Bug 1337422 - Support multiple text lines for the last stub installer checkbox label. r=agashlin
MozReview-Commit-ID: Ke3cUKqm3uk

--HG--
extra : rebase_source : ceac8bbb8be68f29fcce1989449a922fdcc4b24a
2017-02-07 08:25:47 -08:00
Matt Howell
106ddaf6fb 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

--HG--
extra : rebase_source : 8937bb4c2182f609388e8f972d002fed35b9443a
2017-02-02 16:24:55 -08:00
Matt Howell
95456a0e2a 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

--HG--
extra : rebase_source : 7bf784cc50f7a0235930f44a78335f73e295db48
2017-01-20 13:12:26 -08:00
Matt Howell
546875cf4c 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

--HG--
extra : rebase_source : b16cc6bd86cf15b74c7b71f3ab31043165deebd7
2017-01-30 10:21:55 -08:00
Matt Howell
ba8e2a22b0 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

--HG--
extra : rebase_source : e0bc19e4abc1b32133f56458daf625527ce188b0
2017-01-09 08:14:00 -08:00
Sebastian Hengst
940ecb23ef 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
ab2e1d213f 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
0182b84af7 Bug 1334883 - Remove code Windows XP code from installer. r=mhowell
MozReview-Commit-ID: 70I3VPpjwQA
2017-01-31 11:24:30 +01:00
Matt Howell
ece5f74086 Bug 797208 - Allow the stub installer to install either 32-bit or 64-bit builds, and make 64-bit the default when supported; r=rstrong
A new control allows the user to select 32 or 64-bit when the system supports both,
and it defaults to 64-bit when available. This means the stub installer is now
the same regardless of its build architecture; it was always a 32-bit executable
anyway, but now its actual behavior depends only on the running system, not the
target architecture of the application it was built alongside.

The options screen has been rearranged according to a design by Michael Verdi
so that the new control doesn't leave the UI so badly cluttered.

Also removed TmpVal, which wasn't used in the stub and so was generating warnings.

MozReview-Commit-ID: 5baJCkAa7bJ

--HG--
extra : source : acfe81155ac21c2047cf64279960014c15e3c5c0
2016-09-14 09:25:48 -07:00
Robert Strong
85d23e35af Followup to handle not installing x64 on x86 systems for Bug 1305453 - Prevent non-esr stand alone installers from installing on XP/Vista. r=mhowell 2016-11-21 12:12:01 -08:00
Jim Mathies
ff3ad8815a Main patch for Bug 1305453 - Prevent non-esr stand alone installers from installing on XP/Vista. r=rstrong 2016-11-21 12:11:44 -08:00
Gabriele Svelto
5201094fbb Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Wes Kocher
0cb51956f2 Backed out changeset 75fc07efe46f (bug 1317968) for reftest crashes a=backout CLOSED TREE 2016-11-16 16:15:30 -08:00
Gabriele Svelto
85a8fbb70f Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Anthony Miyaguchi
a961f5c0bd Bug 1316374 - Fixed typo in uninstaller r=mhowell
MozReview-Commit-ID: 8Le7gaRNOyF

--HG--
extra : rebase_source : b3969b8d574598a5e9b54dbfcdd7d1ef95242503
2016-11-09 10:19:35 -08:00
Gijs Kruitbosch
f74e215c0b Bug 1279240 - save old default browser when setting as default on win7 and below from the installer, r=rstrong
MozReview-Commit-ID: CmMI8bztpaL

--HG--
extra : rebase_source : 4864e30e37d8f7744d80a0fae68461a54e9f98b4
2016-09-27 11:41:24 +01:00
Wes Kocher
485474bedb Backed out 3 changesets (bug 1279240) for leaks on Windows VM mochitests a=backout
Backed out changeset 4b69e32e3a83 (bug 1279240)
Backed out changeset d0d5180dc062 (bug 1279240)
Backed out changeset dc1b725b47d4 (bug 1279240)
2016-09-29 17:44:41 -07:00
Gijs Kruitbosch
3e635d5a51 Bug 1279240 - save old default browser when setting as default on win7 and below from the installer, r=rstrong
MozReview-Commit-ID: CmMI8bztpaL

--HG--
extra : rebase_source : 4864e30e37d8f7744d80a0fae68461a54e9f98b4
2016-09-27 11:41:24 +01:00
Mike Hommey
21fa876241 Bug 1295542 - Don't remove chrome.manifest on upgrades. r=rstrong 2016-09-20 13:44:01 +09:00
Robert Strong
d7c8e8b39c bug 1300738 - Remove old Metro cleanup code that causes Firefox post update to corrupt Windows 10 user profiles when using registry protection software. r=mhowell 2016-09-12 17:20:48 -07:00
Towkir Ahmed
63867da04a Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes

--HG--
extra : rebase_source : a7353680777fd2eeea24c9993f9937bbbcfb9e4f
2016-08-15 17:28:05 -07:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Aaron Klotz
8e363ab951 Bug 1275731: Add IA2Marshal.dll to package and installer; r=rstrong
MozReview-Commit-ID: JSI1Rd5cloD

--HG--
extra : rebase_source : 642ce514551c3a53f7df96437d3ef601c3f6cc06
2016-07-18 16:46:14 -06:00
Jared Wein
4a3dcf75a0 Bug 1284517 - Touch the Start Menu shortcut on Windows 8 and later in the installer so the Start Menu tile cache gets cleared. r=rstrong
MozReview-Commit-ID: FwjVw0BAGdn

--HG--
extra : rebase_source : b3653100af3d3040a1e99512609b691782d09fbd
2016-07-09 22:56:06 -04:00
Robert Strong
2e59bf1b5d Bug 1271759 - Don't install on systems that have a CPU that doesn't support SSE2. r=mhowell 2016-05-27 09:15:16 -07:00
Matt Howell
f5c22cd054 Bug 1261140 - Allow stub installer to read post-signing data and leave it where Firefox can find it; r=rstrong 2016-05-20 18:17:57 -07:00
Bob Owen
e809e9f918 Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3

--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Jared Wein
efe3864d03 Bug 1095739 - Allow a "new user" experience to happen subsequent to Firefox being uninstalled. r=gijs r=jimm
MozReview-Commit-ID: BlynhSXhRT9

--HG--
extra : rebase_source : 1d3bd7c038692fea22a739319b8de4c6abd81816
2016-04-27 11:37:00 +02:00
George Wright
e75c590407 Revert "Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit a94b5f861bd0d25043a3bb7a0c3128acf8c0b93a.


--HG--
rename : ipc/contentproc/firefox-webcontent.cpp => ipc/contentproc/plugin-container.cpp
2016-04-08 13:34:40 -04:00
George Wright
2f920d9592 Revert "Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted" because of widespread breakage due to whitelisted executable names in third parties
This reverts commit 2d44e8ffaf63a32292f8e5b8fdd1485d0a462afc.
2016-04-08 13:33:27 -04:00
George Wright
50500e36f3 Bug 1261416 - Rename firefox-plugin-container back to plugin-container to satisfy Flash's protected mode checks, and ensure that we launch the correct binary r=ted 2016-04-04 18:03:33 -04:00
George Wright
5c454494ce Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer
--HG--
rename : ipc/app/module.ver => ipc/app/plugin-container/module.ver
rename : ipc/contentproc/plugin-container.cpp => ipc/contentproc/firefox-webcontent.cpp
2016-04-01 02:12:59 -04:00
Jared Wein
6b9028c19f Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r=jimm
MozReview-Commit-ID: Hyr7zGKUAWj

--HG--
extra : rebase_source : f608bc79faec81e00e3e326b5b17a2e7ff48c6f6
2016-02-22 12:34:30 -05:00
Gijs Kruitbosch
6170f3f6b8 Bug 1229626 - fix pinning to taskbar to reflect user preference, r=mhowell
MozReview-Commit-ID: DIHzv32bwkN

--HG--
extra : rebase_source : 4112543d785ffac568065de61bfed9a1fd245d58
2016-02-02 23:44:49 +00:00