Winetricks: Update vcrun2015 to install vcruntime140_1.dll for MSVC 14.29+
vcrun2015 verb missing updated MSVC runtime (vcruntime140_1.dll)
Overview
The current vcrun2015 Winetricks verb installs the Microsoft Visual C++ 2015 Redistributable (CRT 14.0.x), but many modern Windows binaries—built with MSVC toolchain 19.29+ (CRT 14.29.x)—now require vcruntime140_1.dll (and associated SxS manifests). As a result, executables that depend on the newer CRT fail to load under a vanilla vcrun2015 installation.
Steps to Reproduce
- Create a fresh Wine prefix.
WINEPREFIX=~/wine-test wineboot - Install vcrun2015 via Winetricks.
WINEPREFIX=~/wine-test winetricks -q vcrun2015 - Run any executable compiled with MSVC ≥19.29 (e.g., a recent game or tool).
WINEPREFIX=~/wine-test wine path/to/YourApp.exe - Observe missing-CRT errors in the console:
err:module:import_dll Library vcruntime140_1.dll (required by YourApp.exe) not found
Actual Behavior
• Only the older CRT (vcruntime140.dll version 14.0.x) is installed. • vcruntime140_1.dll (CRT version 14.29.x+) and its side-by-side manifest never appear in %WINDIR%\system32.
Expected Behavior
The vcrun2015 verb should install the Microsoft Visual C++ 2015–2022 Redistributable (CRT 14.29.x+), which includes both: • vcruntime140.dll • vcruntime140_1.dll • Accompanying SxS manifest and policy files
Proposed Solutions
-
Bump the vcrun2015 download to the latest “Microsoft Visual C++ 2015–2022 Redistributable” (e.g. 14.29.30133.0+):
- Extract and install both vcruntime140.dll and vcruntime140_1.dll into system32.
- Include or generate the correct side-by-side manifest (policy folder).
-
Add a new verb, e.g.
vcrun2022, that maps to the modern CRT bundle (Visual C++ 2015–2022). This keeps legacy behavior intact while supporting newer applications. -
Improve detection logic in the
vcrun2015verb so that if an application requestsvcruntime140_1.dll, Winetricks automatically pulls the newer redistributable package.
References
- Microsoft Visual C++ Redistributable downloads: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist
- WineHQ forum threads reporting “vcruntime140_1.dll not found”
SHA256 mismatch! URL: https://aka.ms/vs/17/release/vc_redist.x86.exe Downloaded: 0c09f2611660441084ce0df425c51c11e147e6447963c3690f97e0b25c55ed64 Expected: c4e3992f3883005881cf3937f9e33f1c7d792ac1c860ea9c52d8f120a16a7eb1 This is often the result of an updated package such as vcrun2019. If you are willing to accept the risk, you can bypass this check. Alternatively, you may use the --force option to ignore this check entirely. Continue anyway?
Fix? https://github.com/Winetricks/winetricks/issues/2407 Bug Report and Discussion: https://github.com/Winetricks/winetricks/issues/2408
Can you point to a free download that's built with the affected VS version?
Side note -- was this report made with AI? I'm slightly inclined to close it as it seems like an AI text dump, but I'd like to give the benefit of the doubt.
Can you point to a free download that's built with the affected VS version?
Side note -- was this report made with AI? I'm slightly inclined to close it as it seems like an AI text dump, but I'd like to give the benefit of the doubt.
I didnt use AI to build the report, I am using Winetricks and would get those errors in my logs. My issue is the same Goover posted...
Can you point to a free download that's built with the affected VS version?
Can't do much without this.
Sorry I was at QuakeCon during this past week, when I get back to Austin, I'll get you what you need... :)
On Sat, Aug 9, 2025 at 8:08 AM Austin English @.***> wrote:
austin987 left a comment (Winetricks/winetricks#2408) https://github.com/Winetricks/winetricks/issues/2408#issuecomment-3170704144
Can you point to a free download that's built with the affected VS version?
Can't do much without this.
— Reply to this email directly, view it on GitHub https://github.com/Winetricks/winetricks/issues/2408#issuecomment-3170704144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASVPR6FSI7URBYENIPAIGT3MXXE7AVCNFSM6AAAAACDECLLU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZQG4YDIMJUGQ . You are receiving this because you authored the thread.Message ID: @.***>
-- Gilbert J. Palau @.***