Fixing the Leagues of Legends Dependency Error Without Losing Your Mind

I have been running the League of Legends client for about eight years now, and I will admit the installer is still an absolute mess of broken assumptions and vague error codes. When you hit the error that says We couldn't install a required dependency, it is usually not some obscure compatibility issue. It is one of the same three or four things going wrong, and figuring out which one requires a bit of patience. The first thing you need to check is your Visual C++ Redistributables. The LoL client depends on both the 2015-2022 x64 version and the x86 version, and Riot does not always install them cleanly. I had this exact situation happen last month on a freshly built Windows 11 machine where the game failed at the same dependency step every single time. The fix was not anything fancy. I uninstalled every copy of Microsoft Visual C++ Redistributable from Programs and Features, then went to Microsoft's official download page and installed the x64 package first, followed by the x86 package. After a reboot, the League installer completed without complaint. This is one of those counter-intuitive things that trips people up regularly. You might think that if the system has one version of the redistributable installed, the second one is unnecessary. The LoL installer actually requires both, even though they are technically different architectures pointing at overlapping libraries. Installing only the 64-bit version will get you partway through and then fail at exactly this error. Installing only the 32-bit version does the same thing from a different angle.

What is Actually Failing Behind the Error Message

That vague error text masks several possible root causes, so narrowing it down is worth the effort. The dependency in question is most commonly a Visual C++ runtime, but it can also be a .NET Framework component or sometimes a specific game telemetry library. The installer logs are buried in your local app data folder and they tell you exactly which file failed to register. To find the real cause, open File Explorer and navigate to: %localappdata%\Riot Games\League of Legends\logs\

Look for a file named something like LOLClient-*.log or DependencyInstaller.log. Search inside for the word "error" or "failed." I once spent two hours trying various fixes only to find a single line that said the installer could not write to C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\Bin\NETFX 4.8 Tools. That was a permission issue, not a missing dependency at all. Running the installer as administrator fixed it immediately.

Get the Full Details

How to Fix "We couldn't install a required dependency" in League of Legends - YouTube
How to Fix "We couldn't install a required dependency" in League of Legends - YouTube

The Standard Workaround Steps That Actually Work

Here is the sequence I go through now when this happens. It is not guaranteed, but it resolves the issue for me about ninety percent of the time, and the whole process takes roughly ten to fifteen minutes depending on how slow your internet connection is for the redistributable downloads. Go to Settings, Apps, Installed Apps, and search for "Visual C++." Uninstall every entry you find related to Microsoft Visual C++ Redistributable. Yes, all of them. This sounds aggressive, but the installer will pull fresh copies. Reboot after you finish uninstalling, then let Windows update run in the background. Do not skip the reboot. The installer sometimes locks files that need a restart to release. Go to the official Microsoft download center and grab these two packages directly. Do not rely on the Riot installer to fetch them:

Install the x64 version first, then the x86 version. Close every other program while you do this, especially any antivirus software that might be monitoring installer activity. I learned that one the hard way when my Windows Defender blocked the registry writes from the x86 package and I had no idea why it failed silently. Navigate to your Riot Games folder, usually at C:\Riot Games\ or wherever you originally installed the client. Delete the contents of the League of Legends\Binaries\Installer folder. You do not need to delete the entire game directory, just the installer cache. Then launch the Riot client again and let it repair the installation. This forces it to re-download and re-register whatever dependency failed last time. Sometimes the problem is deeper. I ran into this on a work computer where Group Policy settings were preventing any non-Microsoft-signed executables from writing to certain registry keys. The standard fixes did nothing because every time the redistributable installer tried to register a DLL, Group Policy intercepted and blocked it. In that case, the workaround was to temporarily disable the relevant policy via gpedit.msc, run the installer, then re-enable the policy afterward. If you are on a corporate machine, you probably do not have access to Group Policy Editor at all, and you should contact your IT department rather than trying to bypass security controls yourself.

Another scenario where everything fails is when your Windows installation is missing the .NET Framework 4.8 or later. The LoL client requires .NET, and while newer versions of Windows 10 and 11 include it by default, clean installs or heavily stripped systems sometimes do not. You can check this by searching for "Turn Windows features on or off" and making sure .NET Framework 4.8 Advanced Services is checked. If it is not there at all, you need to download it from Microsoft, which adds another fifteen minutes to the process and more chances for something to go wrong if your network drops during the download.

How To Fix We couldn't install a required dependency In League of Legends (2024) | #lol - YouTube
How To Fix We couldn't install a required dependency In League of Legends (2024) | #lol - YouTube

The One Thing People Keep Forgetting

Make sure your system date and time are correct. I know this sounds absurd, but certificate validation during the dependency download step will fail if your clock is off by more than a few minutes. I encountered this once on a machine where the CMOS battery had died, so the system time was rolling back to January 2000 every time it powered off. The League installer kept failing at the same dependency, and I blamed everything except the clock until I noticed the year was wrong in the system tray. Setting the correct time and replacing the battery fixed the installation permanently. It is a dumb issue, but it is also a dumb blocker, and it costs you nothing to check. If you are still stuck after trying all of the above, the most reliable fallback is a completely clean reinstall. Uninstall League of Legends through the Riot client, uninstall the Riot client itself, manually delete the C:\Riot Games folder and the C:\Program Files (x86)\Riot Games folder if it exists, then reboot and start over. It is tedious, but it eliminates every possible conflict from a previous broken install. I prefer to avoid this step whenever I can, but on a fresh Windows install it is sometimes the fastest path to a working game.