Steam games installing DirectX on every start
Thursday, May 30. 2013
Steam has this reputation of games re-installing 3rd party prerequisites on every single time you launch a game. Stupid, huh? Find discussion about that on Steam's forums.
The official Steam explanation is that there are so many versions of D3DX-library. Well, in my mind that really doesn't answer the question why there is a re-install on every game launch. You'd think that the library needs to be installed only once. Luckily somebody found out a fix for that. The trick is to edit/delete the .VDF-file which is pretty much the install script for a game.
Here is an example 34870_install.vdf
:
"InstallScript"
{
"Run Process"
{
"DirectX"
{
"process 1" "%INSTALLDIR%\\Redist\\dxwebsetup.exe"
"Description" "Microsoft DirectX Redist Package"
"NoCleanUp" "1"
}
}
"Run Process"
{
"VCRedist"
{
"process 1" "%INSTALLDIR%\\Redist\\vcredist_x86_2010_sp1.exe"
"Description" "Microsoft VC Redist Package"
"NoCleanUp" "1"
}
}
}
It pretty much states that both DirectX and VisualC redistributable packages are installed every single time the game launches. A simple rename/delete for the file will fix the problem. Game will start without problems and won't do anything stupid.
The issue has been reported by multiple people for the past 3 years. Shame on you Steam!