Commit Graph

662 Commits

Author SHA1 Message Date
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
Matt Howell
267f97d25d 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
2016-09-14 09:25:48 -07:00
Robert Strong
45ad9ef543 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
3868ecb5cb 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
272956b411 Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Wes Kocher
dd3044836d Backed out changeset 75fc07efe46f (bug 1317968) for reftest crashes a=backout CLOSED TREE 2016-11-16 16:15:30 -08:00
Gabriele Svelto
500465a4aa Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Anthony Miyaguchi
550626d6f9 Bug 1316374 - Fixed typo in uninstaller r=mhowell
MozReview-Commit-ID: 8Le7gaRNOyF
2016-11-09 10:19:35 -08:00
Gijs Kruitbosch
e2f5a6fd27 Bug 1279240 - save old default browser when setting as default on win7 and below from the installer, r=rstrong
MozReview-Commit-ID: CmMI8bztpaL
2016-09-27 11:41:24 +01:00
Wes Kocher
297b6a4a72 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
2feb78aca9 Bug 1279240 - save old default browser when setting as default on win7 and below from the installer, r=rstrong
MozReview-Commit-ID: CmMI8bztpaL
2016-09-27 11:41:24 +01:00
Mike Hommey
fea3028029 Bug 1295542 - Don't remove chrome.manifest on upgrades. r=rstrong 2016-09-20 13:44:01 +09:00
Robert Strong
8213192ec3 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
e82c9583ae 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
2016-08-15 17:28:05 -07:00
Tom Tromey
1b5a2bdb96 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
2016-07-14 10:16:42 -06:00
Aaron Klotz
4de09bc020 Bug 1275731: Add IA2Marshal.dll to package and installer; r=rstrong
MozReview-Commit-ID: JSI1Rd5cloD
2016-07-18 16:46:14 -06:00
Jared Wein
df70f15cc7 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
2016-07-09 22:56:06 -04:00
Robert Strong
ec72f4a835 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
d199c86abf 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
a3e759646e Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3
2016-05-15 16:41:40 +01:00
Jared Wein
9d22a8bc29 Bug 1095739 - Allow a "new user" experience to happen subsequent to Firefox being uninstalled. r=gijs r=jimm
MozReview-Commit-ID: BlynhSXhRT9
2016-04-27 11:37:00 +02:00
George Wright
4b6255d510 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.
2016-04-08 13:34:40 -04:00
George Wright
89316736c1 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
2b21d6e072 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
47045c3266 Bug 1114647 - Rename "plugin-container" to "firefox-webcontent" and create a new executable target for Win32 called "firefox-plugin-container" r=ted,jhamer 2016-04-01 02:12:59 -04:00
Jared Wein
fe5ab5d454 Bug 1041514 - Don't show default browser prompt if a user opts out in the installer. r=jimm
MozReview-Commit-ID: Hyr7zGKUAWj
2016-02-22 12:34:30 -05:00
Gijs Kruitbosch
b261388b43 Bug 1229626 - fix pinning to taskbar to reflect user preference, r=mhowell
MozReview-Commit-ID: DIHzv32bwkN
2016-02-02 23:44:49 +00:00
Matt Howell
ae9db2ad05 Bug 1120124 - Prevent 64-bit builds from installing over 32-bit ones (or vice-versa) by default. r=rstrong 2016-01-05 14:31:27 -08:00
Masatoshi Kimura
5da26ace04 Bug 1197191 - Add .pdf and media file types to OpenWithProgids. r=rstrong 2015-12-18 23:00:51 +09:00