FIX: Rule “Previous releases of Microsoft Visual Studio 2008″ failed.
Far easier solution is given by Paul in the comments section, highly recommended you follow his suggestion.
As you may be aware, Microsoft RTM’d SQL Server 2008 a few days ago, unfortunately if you have the RTM version of Visual Studio 2008 (any edition) installed you’ll find that installing SQL Server 2008 you’ll get a nasty little surprise:
Rule “Previous releases of Microsoft Visual Studio 2008″ failed. A previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008.
This is all explained in the KB956139 – Visual Studio 2008 SP1 may be required for SQL Server 2008 installations, there is however a fix or a workaround to installing SQL Server without the need for SP1 if you aren’t able to obtain it.
Simply customise the installer so that these components aren’t installed:
- Management Tools
- Integration Services
- Business Intelligence Development Studio
Then things will chug along nicely:-)
You can download it on MSDN Subscriber Downloads or the TechNet Subscriber Downloads section. Dont forget to checkout What’s New in SQL Server 2008.
No related posts.

Hey paul… thanks alot buddy…. love u.. again and again love you….. u done very great job for us…. by ur methos i done the installation… before this i spent 5hourse, to stuck with the installation of sql server 2008, every time same error… () but at last i found the paul technique…… and now successfuly done every thing.. without any boom bastic error….
once again thanks you
Thanks paul.! you Did Great Job.Thank you Very Much.
Shekh Muzaphar Salman
Riyadh
Thanks a lot Paul. it Worked
Great Work Man
Thanks alot
Anyone knows how to install Management studio after that?
uninstalled everything possible related to Visual Studio 2008 and ran SQL Server 2008 Setup… now works a treat…
Hi many many many THX to you
you are a life saver
Thanks a Lot!
@Paul
Thanks Paul – been up till near 1am trying to get this thing to install. Now doing it…… bed in a minute…
Thanks
If you are trying to install SQL-2008 and you also have visual studio 2008 installed with service pack one (SP1) and get the error
“A previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008”
Then welcome to the Microsoft beta testing program even if you purchased the faulty software.
With XP the most common solution seem to be renaming the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0
And replacing ‘9.0’ with ‘9.0Old’ however this does not solve the problem if you are using windows 7 and the only solution I managed to find that worked was to uninstall VS2008 and all the components and to then install SQL-2008 and finally reinstall VS2008.
Thanks Paul!
@David Davis
Thanks alot man. worked like a charm!
That was great and simple solution. Thanks paul
Tnx a lot, very simple solution…..Thats fine