I managed to make the error go away by manually installing the DirectX End-User Runtimes (June 2010) Download DirectX End-User Runtimes (June 2010) from Official Microsoft Download Center