Commit Graph

340 Commits

Author SHA1 Message Date
Jan Klass
413951ce0c
Merge PR #3799: Bump version to 1.4.0
1.3.0 has been released. master now represents the current state of
development towards the next feature release 1.4.0.

Bugfixes for 1.3 will happen in the 1.3.x branch.

Compared to earlier version bumps we bump a lot more files because of
we produce more artifacts; overlay process, dll and exe split, etc.

This should have happened right after the 1.3.x branch was split off.

Fixes #3761

Waiting on response from xPoke in that ticket concerning theme version. That will have to be landed first, and then this PR updated with the landed commit in mumble-theme.

Feel free to already review independent of xPoke response.

As the mumble-theme commit did not land yet checking out this PR will not work (for others than me who has the commit locally).
2019-09-22 11:37:14 +02:00
Jan Klass
19b5702168 Bump version to 1.4.0
1.3.0 has been released. master now represents the current state of
development towards the next feature release 1.4.0.

Bugfixes for 1.3 will happen in the 1.3.x branch.

Compared to earlier version bumps we bump a lot more files because of
we produce more artifacts; overlay process, dll and exe split, etc.

This should have happened right after the 1.3.x branch was split off.
2019-09-22 10:24:19 +02:00
dingpengyu
ecf0ca273a
Update Simplified Chinese Translations installer:
Modify the following entry

  <String Id="MUMBLE_CREATE_SHORTCUT">创建桌面快捷方式</String>
  <String Id="MUMBLE_CREATE_SHORTCUT">Create Desktop Shortcut</String>
  <String Id="DESC_SectionBonjour">Bonjour现在可以在您的网络上报告和发现Murmur服务器。是否下载并运行Bonjour安装程序。</String>
  <String Id="DESC_SectionBonjour">Bonjour enables announcement and discovery of Murmur servers on your LAN. This will download and run the Bonjour installer.</String>
  <String Id="MUMBLE_SEC_DesktopShortcut">桌面快捷方式</String>
  <String Id="MUMBLE_SEC_DesktopShortcut">Desktop shortcut</String>
  <String Id="DESC_DesktopShortcut">创建桌面快捷方式</String>
  <String Id="DESC_DesktopShortcut">Creates a shortcut on the desktop</String>
2019-09-22 09:06:10 +08:00
Davide Beatrici
b427333257 Auto-update LICENSE.header in source files 2019-01-25 04:56:19 +01:00
Edward
09204fe66e installer: copy rnnoise.dll
The file copy can be disabled with the MumbleNoRNNoise environment variable.
2018-07-20 04:36:23 +02:00
Davide Beatrici
91601a1f68
Merge PR #2902: installer: quote GUIDs in Settings.wxi. 2018-07-17 05:45:35 +02:00
Davide Beatrici
23f783d66e installer: remove unused variables 2018-07-06 06:21:13 +02:00
Mikkel Krautz
adccd8cace installer: only use WiX toolset from MUMBLE_PREFIX if the MUMBLE_PREFIX env var is set.
This should allow building the installer with Visual Studio.

Thanks to @sregister for the bugreport.
2018-03-11 21:50:39 +01:00
Mikkel Krautz
f6ba3a52bf Auto-update LICENSE.header in source files. 2018-01-01 23:05:37 +01:00
thalieht
608028b6f6 Add greek translation for installer 2017-08-06 03:15:30 +03:00
Mikkel Krautz
3ee0728876 installer: revert "installer: force uninstall before install."
This reverts commit 3d4663465e.

That commit was done because of reports that stale files from
old versions of Mumble were left behind. In particular, in
the "Versions" subdirectory.

I just tested this locally, and I can't reproduce that problem.

Reverting this commit should hopefully resolve a lot issues
such as:

mumble-voip/mumble#2901
mumble-voip/mumble#1917
mumble-voip/mumble#1845
mumble-voip/mumble#1700

Perhaps more.
2017-07-19 19:34:12 +02:00
Mikkel Krautz
af172cfb98 installer: quote guids in Settings.wxi. 2017-03-04 19:04:10 +01:00
Mikkel Krautz
5bbd804ec3 Merge PR #2835: installer: don't ship dbghelp.dll anymore. 2017-02-10 00:14:56 +01:00
Mikkel Krautz
81f36bbf41 Merge PR #2817: installer: use WiX from buildenv. 2017-02-10 00:14:23 +01:00
Mikkel Krautz
18caa17256 installer: don't ship dbghelp.dll anymore.
Only older versions of dbghelp.dll are redistributable by themselves.
Newer versions only allow redistribution via MSI files, which are
useless for us.

To sidestep this problem, we'll simply go back to relying on the OSes
version of dbghelp.dll. Shipping an outdated version of dbghelp.dll
isn't sensible. We're better off allowing Windows 10 to use a modern
(its own) version of dbghelp.dll than using a year-old version.

To give some context on how we use dbghelp.dll:

In Mumble, we use dbghelp.dll for writing our Minidumps.

In Murmur, Ice uses it for symbolicating stack traces in
Ice exceptions.
2017-02-10 00:02:45 +01:00
Mikkel Krautz
c895dad889 installer: ship app-local copies of UCRT DLLs.
MSVC2015 uses a new CRT called the Universal CRT.

This CRT is distributed in different ways, depending on your
OS.

For Windows XP, the official distribution is a VCRedist installer.
(Or, for Windows XP only -- merge modules).

For Vista through 8.1, UCRT is distributed via Windows Update.

For Windows 10, it's shipped as part of Windows.

This commit amends our installer to install an app-local copy of
the Universal CRT. This is the sanest way for us to distribute the
Universal CRT across all supported targets.

Even if we could drop Windows XP support, the fact that earlier
Windows versions deploy the Universal CRT through Windows Update
makes it a hard pill to swallow. People's hacked up machines might
not be able to get the update from Windows Update for whatever reason.
(Maybe they disabled the Windows Update service for performance reasons,
because a guide on the web told them to?)

So, for now, this is what we'll do. Perhaps it makes more sense to
statically link the UCRT instead of this massive soup of DLLs. But
this is a quick fix to keep our snapshots going until we can work
out the details for statically linking UCRT.

Note: Because Murmur is outside the versioned root-dir, we ship a
separate CRT copy for Murmur. Now that we have to ship the UCRT as
well, that's suddenly a lot more files we'll have to carry. That's
also an unfortunate side-effect of the UCRT. But if you look at it
from the perspective that shipping the VCRUNTIME+UCRT on MSVC2015
"the same thing" as shipping MSVCRT on MSVC2013, we're not really
doing anything much different. Except, we're being "punished" by
the fact that Microsoft decided to split up the CRT into tiny pieces.

Future work: Ideally, we wouldn't include these .wxi files in the
repo, and instead depend on gen-ucrt.py being run before building
the installer. However, that would require buildenv changes, and
require us to redeploy buildenvs, which takes time. To get the UCRT
fix out into a snapshot, let's add them to the repo for now, and we
can clean it up later.
2017-02-05 19:20:34 +01:00
Mikkel Krautz
e4fe8fb0fd installer: use WiX from buildenv.
This uses the mechanism documented at
http://wixtoolset.org/documentation/manual/v3/msbuild/daily_builds.html
to use a local copy of WiX instead of using the WiX MSI package.

Previously, we required people to install WiX globally.
That's yet another tedious dependency required in order to build Mumble.

We'll now be distributing WiX in our buildenvs, so tell our .wixproj
to use that version.
2017-02-05 16:28:10 +01:00
Mikkel Krautz
ea1c1b3a29 installer: use "vcruntime140.dll" instead of "msvcr140.dll" for vcruntime140.dll's component ID.
I accidently neglected to rename this one instance to the new name in
MSVC2015. (The "msvcr" file is now "vcruntime".)

The rest of the references should be OK.
2017-01-27 00:02:43 +01:00
Mikkel Krautz
452aa61ffe installer: use VC140 CRT.
Our builders are now running MSVC2015. Update the installer to work
with MSVC2015's CRT.
2017-01-26 13:39:35 +01:00
Arthur Moore
84c2ae28dd ffxiv_x64 Plugin: Add a plugin for Final Fantasy XIV x64
Use ffxiv.cpp to provide both plugins
2016-11-29 18:01:13 -05:00
Mikkel Krautz
5fc3721fd1 installer: add ffxiv plugin to the installer. 2016-11-27 22:23:11 +01:00
Davide Beatrici
882ad7044a plugins: build x64 ones only when the target is x86_64
x64 plugins only work if Mumble is x64 too, this means that we should avoid building them with Mumble x86.
2016-10-29 23:00:07 +02:00
Mikkel Krautz
61b53cab88 Fix BF1 PA plugin Windows installer integration. 2016-10-21 00:34:21 +02:00
davidebeatrici
7ab7d1dd30 Positional audio support for Battlefield 1
Context based on server name.
Identity: Team, squad and squad leader.
2016-10-20 18:43:59 +02:00
Mikkel Krautz
0556b6c2c0 Merge PR #2549: plugins/wow: Total revamp and support for the x64 version of the executable 2016-09-12 19:50:26 +00:00
davidebeatrici
04dacb11cf plugins/wow: Total revamp and support for the x64 executable. 2016-09-12 21:47:28 +02:00
Mikkel Krautz
e3acce39e2 Revert PR #2531: installer: use MSVC2015 runtime. 2016-09-12 21:31:53 +02:00
Mikkel Krautz
824db88b74 installer: use MSVC2015 runtime. 2016-08-26 23:39:24 +02:00
Mikkel Krautz
956497c639 installer: remove manual.dll from the installer. 2016-07-17 17:06:12 +02:00
Mikkel Krautz
7a89a2ca18 Add GTA V plugin to the build and to the installer. 2016-05-29 11:55:22 +02:00
Mikkel Krautz
8af5c233d5 Add BF4 x86 to the build and to the installer. 2016-05-19 00:25:48 +02:00
Mikkel Krautz
691d80ae13 installer, plugins: add bf4 plugin to build and installer. 2016-05-09 01:17:36 +02:00
Mikkel Krautz
2c659531a3 installer: add ql.dll plugin to the installer. 2016-04-25 14:52:34 +02:00
Mikkel Krautz
48cc538b89 Fix 'rl.dl' typo in Plugins.wxs. 2016-04-17 22:52:33 +02:00
Mikkel Krautz
6be0de4306 installer: add 'rl.dll' to Plugins.wxs. 2016-04-10 23:07:38 +02:00
Mikkel Krautz
a3ad0c54d0 installer: use 'The Mumble Developers' as ProductManufacturer in the Windows installer. 2015-12-28 01:27:29 +01:00
Mikkel Krautz
a5724cf7b2 installer: do not bundle D3DCompiler_43.dll and D3DCompiler_47.dll with Mumble anymore.
The only user was Effects11, which is gone.

The removal of the two DLLs shaves off ~6MB from the default
Mumble installation on Windows.

Goodbye.
2015-11-28 10:05:08 +01:00
Mikkel Krautz
bbd93e1158 installer: remove support for merge modules. 2015-11-22 13:15:05 +01:00
Mikkel Krautz
c19ec3f82d installer: remove support for the Intel compilers. 2015-11-22 13:12:06 +01:00
Mikkel Krautz
9222b9afe3 installer: remove non-static installer logic.
This is to aid in making the installer WiX project
a bit more maintainable and readable.

If we need the old non-static installer, we always
have the history in Git.
2015-11-22 12:49:18 +01:00
Mikko Rantanen
52898aaede Add Finnish translations to the wix project
Attempt to fix #1757
2015-09-19 23:39:46 +02:00
Mikkel Krautz
3d4663465e installer: force uninstall before install.
In theory, the installer should already do this, but if we
aren't caferful with our component GUID'ing (or so the docs say),
it can break.

This method will force the uninstallation to happen before
installation.

This should fix the issue where stale files from old versions
are left behind.
2015-06-06 13:25:53 +02:00
Mikkel Krautz
5a8c7f505e Update the Mumble installer to work with a versioned directory hierarchy.
This commit updates the Mumble installer to install all binaries except
mumble.exe into a "versioned root".

For example, a typical Mumble installation would look something like this
(rooted the install target, typically "C:\Program Files (x86)\Mumble"):

   /mumble.exe
   /Versions/1.3.0/mumble_app.dll
   /Versions/1.3.0/mumble_ol.dll
   /Versions/1.3.0/mumble_ol_x64.dll
   /Versions/1.3.0/mumble_ol_helper.exe
   /Versions/1.3.0/mumble_ol_helper_x64.exe
   /Versions/1.3.0/mumble-g15-helper.exe
   /Versions/1.3.0/[various runtime DLLs, D3DCompiler, MSVCRT, etc.]

This also changes the installer to disable use of the Windows restart
manager.

The Windows restart manager does not work too well when the Mumble
overlay is in use. In this case, the restart manager will prompt users
to restart all applications that the overlay is injected into.

Users see this as a big list of programs that they must close to
upgrade Mumble.

This can be very scary for anyone that does not know about the
inner workings of the Mumble overlay, and are new to Mumble.
It is an instant red flag for people, and they will associate
Mumble with malware, or be afraid that it will actually touch
anything in those programs and make them unusable in some fashion.

The combination of disabling the restart manager and the new
versioned directory hierarchy removes nearly all of the cases
where a user sees a "file in use" dialog when running the Mumble
installer.

The overlay DLLs will not trigger the "files in use" dialog anymore,
because upgrading to a newer version of Mumble will cause the new
overlay DLLs to be installed in a distinct directory.

The removal of the old overlay files will also not trigger the
"files in use" dialog. Their removal will simply be scheduled
on the next restart of the computer.

This commit also includes a forceful termination of "mumble.exe"
when performing an upgrade of the Mumble installation. This is done
because the removal of the restart manager functionality in the
installer unfortunately also removes the ability to have the restart
manager quit Mumble on upgrade.

With the implementation of the versioned directory hierarchy, there
is a problem with the placement of some of our dependencies, at least
when Mumble and Murmur are installed at the same time.

The "murmur.exe" executable expects dbghelp.dll, msvcr120.dll and
msvcp120.dll to be next to "murmur.exe". However, with this new
directory hierarchy for the client, those DLLs live in the versioned
root instead.

To remedy this, we include two copies of these dependencies. If Murmur
is not chosen during installation, only Mumble's copies are installed
in the versioned root. If Murmur is selected, the DLLs will also be
installed next to murmur.exe.
2015-06-01 20:38:39 +02:00
Mikkel Krautz
239b89c7fc installer: rearrange codec components in the installer. 2015-05-29 00:40:06 +02:00
Mikkel Krautz
57740e7e1b Rename overlay helpers to avoid PDB name clashes with DLLs.
Right now, we do not get PDB files for our overlay DLLs because
the overlay DLL PDB files share their name with the overlay helper
PDB files.

To avoid this madness, we rename the overlay helpers as follows:

  mumble_ol.exe -> mumble_ol_helper.exe
  mumble_ol_x64.exe -> mumble_ol_helper_x64.exe
2015-05-16 00:48:35 +02:00
Will Tange
0fdb7c17e5 Mark shebanged files as executable 2015-05-12 18:51:23 +02:00
Lartza
f1eb642588 Add Finnish to languages in Product.wxs 2015-04-29 17:45:02 +02:00
Lartza
b2b3106f07 Fix typo in Finnish translation
Possibly fixing "Error applying transforms." when trying to start the installer in Finnish Windows
2015-04-29 17:44:52 +02:00
Mikkel Krautz
0128e7ddab installer: include both x86 and x64 variants of D3DCompiler_XX.dll.
This is only possible for now because x86 uses the D3DCompiler_43.dll
and x64 uses the D3DCompiler_47.dll.

If we need both to use the same version, we'll need a more complex
directory structure.

But let's tackle that then.
2015-04-23 17:55:56 +02:00
Mikkel Krautz
529f76f459 Add the x86_64 Windows overlay to the installer.
This change adds the mumble_ol_x64.dll overlay DLL to
the installer, along with mumble_ol_x64.exe, the new
x64 overlay helper.
2015-04-22 21:03:44 +02:00