Error 0xc000007b when installing GitHubSetup.exe [fixed]

Just got this strange error when trying to install the new GitHub for Windows app. Here was the error message I received:

dfsvc.exe – Application Error
The application was unable to start correctly (0xc000007b). Click OK to close the application.

Frustrating, to say the least. I noticed the installation was opening Internet Explorer to the following url:

http://github-windows.s3.amazonaws.com/GitHub.application

So I tried opening that in Chrome. A file downloaded (GitHub.application) and I ran it. This produced an error log file, which I’m putting online elsewhere.

Strangely, after running GitHub.application and getting an error, I re-ran GitHubSetup.exe and it installed fine. Hopefully this fix works for you too! Leave a comment if it helped.