Solve Error: Previous Releases of Microsoft Visual Studio 2008 Failed

While trying to install SQL Server 2008 R2 I got Below Error:

Error

When I click on the Error:

run check result

To avoid this error Install VS 2008 SP1 in your machine like below:

avoid this error

finish

Now restart your machine and enjoy your SQL Server 2008 R 2 installation.