Help,error when installed Twincat 3

I think these are the relevant lines from the install log for the error.
MSI (c) (BC!6C) [14:25:44:595]: PROPERTY CHANGE: Adding VS2010PATH property. Its value is 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\'.
CustomAction Check.VisualStudio.Installations returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (c) (BC:B0) [14:25:44:958]: Closing MSIHANDLE (48) of type 790542 for thread 11708
Action ended 14:25:45: Check.VisualStudio.Installations. Return value 3.
MSI (c) (BC:BC) [14:25:45:059]: Doing action: SetupCompleteError
Action 14:25:45: SetupCompleteError.
Action start 14:25:45: SetupCompleteError.
It seems you have Microsoft Visual Studio 2010 installed on your computer and the installer is failing trying to add integration for TwinCAT to it (TwinCAT is based on Visual Studio).

If you don't use or need Microsoft Visual Studio 2010, you can try uninstalling it and retry the TwinCAT installer. Otherwise, you may need to contact Beckhoff for assistance.