Home Contact

Matt Roberts

Rails and .NET

News




Twitter












Archives

Post Categories

BlogRoll

Entropy

Syndication:

Uninstalling SQL Server 2005 CTP.....fun!

Tried to install SQL Server 2005 and Visual Studio 2005...thought it would be easy....it wasn't!

I had previously installed the CTP release of VS and SQL Server, so I went down the route of using the un-installer tool thats floating around to remove this lot. That's where it all started going bad... First of all, the uninstall tool looked like it was doing a good job, then it stopped responding. After a few hours I killed it and it looked like all had actually gone OK - in my add/remove programs there were only a couple of things left, so I removed those and thought all was well...

But, it turns out that SQL Server 2005 CTP was still installed, it was just hiding!!! Although it has gone from the add/remove programs its still there! A google search reveals I'm not the only one to have this problem - and led me to this blog: http://blogs.msdn.com/astebner/archive/2005/06/14/429194.aspx. This blog post led me to a tool called msiinv.exe that checks to see what really is installed - and SQL Server 2005 was all over the place! This blog goes on to explain how to remove the installed programs that are hiding using msiexec.exe. Great! So I gave that a go - oh dear, it failed. This time, I got errors when I tried to un-install using msiexec with the product code.... *

So, just before I have up and formatted my hard disk, I spoke to my colleague Dave Davis (I told him I'd mention him :) ). He pointed me to a VERY USEFUL TOOL: Windows Cleanup Utility. This tool is similar to msiinv.exe - it basically presents you with a list of everything that is actually in some state of installed-ness on your PC, and allows you to remove it :) Works very well, and saved the day for me :)

Hopefully this will be of assistance to someone battling to install the latest Microsoft dev tools, without reverting to a full on format!!

* - It turns out that these uninstall errors were all related to the order that you install/uninstall previous betas of sql server 2005 and visual studio 2005. Aaron Stebner kindly pointed me to another blog posting he made here, that explains an alternative process to remove SQL server 2005.


Feedback

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank you! I have been Googling on and off for days trying to figure this out. I finally got a clue when I was using Add/Remove to uninstall MSMXL 6.0. It warned there was a dependency on it from SQL Server 2005 Notification Services. However, this was not in the Add/Remove list. I downloaded and ran the Install Cleanup tool and I am finally able to install SQL Server 2005. Thanks!

-Pat 11/30/2005 5:15 PM | Patrick Richards

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thanks - Dave Davis - go for the White House :-) 12/4/2005 9:03 AM | Jorgen Thyme

# re: Uninstalling SQL Server 2005 CTP.....fun!

I have used several tools without sucess: vs_uninst_betas.exe, sqlbuw.exe, etc...
The sure thing which worked for me is Windows Cleanup Utility. Great posting Matt.
12/26/2005 1:27 AM | Pierre Donyegro

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thanks for the hint. It saves my complete christmas holidays :-)
Arne 12/31/2005 10:06 AM | Arne Lagrange

# re: Uninstalling SQL Server 2005 CTP.....fun!

I installed the windows Install clean up and removed sql server 2005 CTP.But it still exist on start menu.Any idea how to remove all sql components completely after these steps?Thanks 1/5/2006 3:52 AM | Bet

# re: Uninstalling SQL Server 2005 CTP.....fun!

Hi All, I tried using the Windows Cleanup Utility..no luck! :( I selected all the SQL Server 2005 CTP products to be removed as well as .NET framework & Visual Studio CTP, then hit Remove. It processed for a long time & completed. Now, these products are no more listed by the Utility, but they still exist!!! What do I do now?? Plz help! 1/6/2006 12:49 PM | Vijaya S

# re: Uninstalling SQL Server 2005 CTP.....fun!

OMFG! Thank you! I spent 1/2 day looking fro this!!! 1/18/2006 5:21 PM | LG

# re: Uninstalling SQL Server 2005 CTP.....fun!

THANK YOU! THANK YOU! 2/15/2006 9:44 PM | Vicki

# re: Uninstalling SQL Server 2005 CTP.....fun!

Glad to be of assistance :) 2/16/2006 3:05 PM | Matt Roberts

# re: Uninstalling SQL Server 2005 CTP.....fun!

Sorry it doesn't work ................still exists 2/17/2006 3:28 AM | Neeraj Gupta

# re: Uninstalling SQL Server 2005 CTP.....fun!

It didn't work for me!!!! SQL Server 2005 CTP is still in the start menu, although it's not gone from the Uninstall Programs control panel! ARRGGHHH - I will have to Reinstall Windows!!!! :-( 3/2/2006 1:00 AM | Simon

# re: Uninstalling SQL Server 2005 CTP.....fun!

Hmmmm.

Are you sure you have the right permissions? Try removing all of the associated programs from add/remove programs first, and then the cleanup utility...
3/2/2006 4:51 AM | Matt Roberts

# re: Uninstalling SQL Server 2005 CTP.....fun!

OMG I thought I was going to have to wipe this server and start over... Thanks a lot for this information :-D 3/30/2006 2:13 PM | Dana

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank you. Microsoft doesn't mention this tool (Windows Install Cleanup Wizard) anywhere and it is exactly what I needed. 7/10/2006 3:56 PM | Orrin

# re: Uninstalling SQL Server 2005 CTP.....fun!

great job mr. roberts :-) 7/30/2006 8:00 PM | that was perfect

# re: Uninstalling SQL Server 2005 CTP.....fun!

Well it worked for me, that was super... I couldn't get SQL 2005 to install it's tools because it ketp complaining that SQL Express was installed...Ran the Windows cleanup and it installed...


Thank you, your de man... 12/2/2006 5:50 AM | Peter Con Techaholic

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank you so much! It woked for me before I formatted my disk. 1/21/2007 5:47 AM | Conch

# re: Uninstalling SQL Server 2005 CTP.....fun!

Perfect! Thank you! 1/26/2007 11:07 PM | Angelo

# re: Uninstalling SQL Server 2005 CTP.....fun!

It did not worked for SQL Server 2005 installed on Advaned Sever 2000 platform. Cleaning the componet in Add/Remove and Cleaning it by this cleaner, the track of previous intance still exist. May be I should use another "Instance Name" for SQL server? 6/12/2007 6:54 PM | Mehdi

# re: Uninstalling SQL Server 2005 CTP.....fun!

How can Microsoft push/throw people where they can not bring/rescue from ...........damn MS 7/17/2007 1:10 PM | Prakash

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank you very much. 8/26/2007 12:26 AM | Tarek ElAyat

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank you! This was a life saver. I was starting to pull my hair out! 1/24/2008 9:33 PM | Xavier

# re: Uninstalling SQL Server 2005 CTP.....fun!

Thank You! Thank You! Thank You! This article was of great help. 7/17/2008 12:40 AM | Nauman

# Thanks Pal

Thanks a lot man.. this worked for me saved my day.

Regards. 10/4/2008 6:42 AM | Sumedha

# re: Uninstalling SQL Server 2005 CTP.....fun!

thank you so much! You save my day! :) 12/23/2008 2:41 PM | Keomony

# re: Uninstalling SQL Server 2005 CTP.....fun!

The Install Cleanup tool was the right way! Thax for the hint! ;) 1/8/2009 2:25 PM | Jakob

# re: Uninstalling SQL Server 2005 CTP.....fun!

Nice find. Definately a must-have for your digital toolbox. 5/14/2009 4:36 PM | Chris

# re: Uninstalling SQL Server 2005 CTP.....fun!

Nice, thank you. I was having problems removing SQL 2005. 6/28/2009 1:54 PM | Johnson

# re: Uninstalling SQL Server 2005 CTP.....fun!

When you lay down with dogs, you get up with fleas. Microsoft, aka Mickey Mouse, is a dog. 8/5/2009 2:03 AM | Smith

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: