mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
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. |
||
|---|---|---|
| .. | ||
| Translations | ||
| bannrbmp.bmp | ||
| build_installer.pl | ||
| dlgbmp.bmp | ||
| Files.wxs | ||
| gen-ucrt.py | ||
| gpl.rtf | ||
| gpl.txt | ||
| lgpl.txt | ||
| MumbleInstall.sln | ||
| MumbleInstall.wixproj | ||
| MumbleUCRTComponentRefs.wxi | ||
| MumbleUCRTComponents.wxi | ||
| MurmurUCRTComponentRefs.wxi | ||
| MurmurUCRTComponents.wxi | ||
| Plugins.wxs | ||
| portaudio.txt | ||
| Product.wxs | ||
| qos.reg | ||
| qt.txt | ||
| Settings.wxi | ||
| speex.txt | ||
| UI.wxs | ||