If you are trying to play non-Steam Windows games on Steam Deck, you might see the following error message: “The following components are required to run this program: Microsoft Visual C++ Runtime.” This is a common issue that means the game can't find the Microsoft Visual C++ Libraries it needs to run. And since SteamOS runs Windows games through Proton, it uses separate compatibility folders called prefixes. Installing a runtime into the wrong prefix will not fix the affected game. So follow along as we show you how to fix this annoying issue.
Takeaways:
- Is it possible to install Microsoft Visual C++ Runtime Error in Non-Steam Games on Steam Deck
- What's the process for installing Microsoft Visual C++ Runtime Error in Non-Steam Games on Steam Deck
Table of Contents
How to Fix the Microsoft Visual C++ Runtime Error in Non-Steam Games on Steam Deck
Protontricks is the best place to start since it lets you install Windows components into the prefix belonging to the affected Steam game. It's also pretty easy to use.
- Switch to Desktop Mode using Steam > Power > Switch to Desktop.
- Open Discover and search for Protontricks and install it.
- Start Protontricks, then pick the non-Steam game showing the error.
- Click Select the default wineprefix.
- Click Install a Windows DLL or component.
If the game does not appear, launch it once through Steam using Proton, close the error, and reopen Protontricks.
IMPORTANT: For games requiring Visual C++ 2015-2022, select vcrun2022.
- Pick the component and confirm.
- Complete every installer window that pops up.
- Wait until the installation finishes.
- Close Protontricks and fire up the game.
By the way, "Do not install multiple overlapping runtime packages". If the game needs Visual C++ 2013 or an older version, pick the specific component it needs instead.
Install Microsoft Visual C++ Manually
If Protontricks fails, you can run Microsoft's official installers through the affected game's existing Steam shortcut.
First, download Microsoft's Visual C++ Redistributable Pack
Download the X64 and X86 installers for the latest supported v14 runtime. A 64-bit game may still require 32-bit libraries for launchers or helper applications.
- Open desktop Steam.
- Right-click the game causing problems and select Properties.
- Record its original Target, Start In, and Launch Options.

- Temporarily change Target to the downloaded installer.
- Set Start In to the installer’s containing folder.
- Keep the existing Proton compatibility tool and prefix settings.

For example:
Target: /home/deck/Downloads/vc_redist.x64.exe
Start In: /home/deck/Downloads
Use your actual file location.
- Click Play on the problematic Steam shortcut.
- Select Install or Repair, then wait for setup to finish.
- Repeat the same thing with the X86 installer.
- Restore the original Target, Start In, and Launch Options.
- Start the game again.
If it's still causing problems, check the error and see if the game launches. Sometimes you might get an error, but games will still launch.
Fix Visual C++ Runtime Errors in Heroic Games
Heroic games are a bit more problematic since they use prefixes managed independently from Steam.
- Open Heroic in Desktop Mode and choose the problem game.
- Open Settings and find its Wine or Prefix configuration.
- Keep the existing runner and prefix.
- Download the required Microsoft runtime installers.
- Use Heroic's Run EXE in Prefix option.
- Install the X64 and X86 packages individually.
- Start the game through Heroic.
If the game works in Heroic but fails in Gaming Mode, check that the Steam shortcut launches the Heroic-managed game rather than a separate Windows executable. You can find more info on Heroic's Steam Deck instructions here.
Fixing Other Random Problems that Might Pop Up
While the steps shown above will solve 99% of problems connected to Visual C++ errors on Steam Deck, there are some things you might not be able to fix. For example, there are some anti-cheat systems that go nuts when you are trying to install extra packages, etc. So it is possible that these runtime files might trigger another set of error messages.
The most important thing, though, is not to download random DLL files from unofficial websites or use third-party all-in-one runtime packages. It's very likely that you will drop some malicious file onto your system. So only install and update dll files using official patches and downloads. Steam Deck is a little trickier, as a lot of tweaks are third-party ones so just check that they are reputable first. Drop the source files into an AI tool if you are worried.