I\'ve tried to install Visual C# 2010 Express edition onto my PC, but whenever I try to run it, I get a error message.
Invalid license data. Reinstall
I'm having this problem with Visual Studio 2015 installed.
ramonsantana over at forum.unity3d.com had the solution for me: https://forum.unity3d.com/threads/if-anyone-is-having-visual-studio-shell-2010-invalid-license-data-reinstall-is-required.298824/
Copied here for reference
Use regedit go to HKEY_CLASSES_ROOT and look for Visual Studio.DTE Since i have Visual Studio 2015 CTP installed i have 3 DTE, one is VisualStudio.DTE, the other Visual StudioDTE.10.0 and VisualStudio.DTE.14.0 Go to VisualStudio.DTE.14.0 ( or whatever version of Visual studio you have installed) and click CLSID.
Copy the Default (Double click Default and Copy the key inside), now go back to Visua Studio.DTE and double click the Default there and paste the key you just copied.
Almost there
On VisualStudio.DTE go to CurVer and double click the key there to Edit it. Change the 10.0 in the end to 12.0 or 13.0 or 14.0, depending on what version of Visual Studio you have and you are done.