2010-05-08

Installing SQL Server 2008 R2

On my private workstation (Windows 7 Ultimate x64) I first tried to in-place install the new SQL Server 2008 R2 (SQL2008R2), but it look like the installation collided with old installations of Visual Studio 2008. The last weeks I have upgraded Visual Studio and Office to 2010, but I have not before had problems by having them installed before installing SQL Server.
OK - I uninstalled all previous installed SQL Server and Visual Studio parts I could find in the Control Panel. Still no success.
This was beginning to be annoying, so I deleted all SQL Server and Visual Studio fils and folders. Hrmf - still the same error while installing SQL2008R2.

This morning I found the solution in the blog post "Rule "Previous releases of Microsoft Visual Studio 2008" failed" by Mark Smith at LessThanDot.
The trick is to start the installation with the Windows Shell statement
setup.exe /ACTION=install /SkipRules=VSShellInstalledRule

The installation finished with success and I can continue on working with the latest version of SQL Server.