blog community

Welcome to blog community Sign in | Join | Help
in Search

Marcel de Vries, MVP Team System

.NET Technologies, Architecture and Web Development

Upgrading Visual studio Team System Beta to RTM uninstall scripts

Today I had to upgrade several machines from the Beta or RC version of VSTS to the RTM version.

You must manually uninstall all artifacts installed during the Beta period and that can be a daunting task. Therefore I created a script you can run to uninstall all of the stuff in one sweep. Just copy the following lines, place them in a command file and run it. After completion your machine is good to go for the installation of the RTM version.

For the Beta 2 to RTM Upgrade ->

REM MSDN Library for Visual Studio 2008 Beta 2 - ENU
MsiExec.exe /X{F49C78FA-38C4-3E47-8E03-E9B16AC85F64} /quiet

REM Microsoft SQL Server Compact 3.5 Design Tools BETA ENU
MsiExec.exe /X{D4A065EE-F9D5-4229-A8B8-9E37DBF36D92} /quiet

REM Microsoft SQL Server Compact 3.5 for Devices BETA ENU
MsiExec.exe /X{D8E22700-87B9-46A1-81AA-D260BADA4BD1} /quiet

REM Microsoft Visual Studio Codename Orcas Performance Collection Tools - ENU
MsiExec.exe /X{1D9AF289-6910-396C-9A04-E9415E7DA528} /quiet

REM Windows Mobile 5.0 SDK R2 for Pocket PC
MsiExec.exe /X{5821459E-A8E1-42D1-A8B5-34AB19A75E79} /quiet

REM Windows Mobile 5.0 SDK R2 for Smartphone
MsiExec.exe /X{A919EFA5-ADD6-42CB-AE11-EE5DAAB686D5} /quiet

REM Crystal Reports for Visual studio 2008 Beta 2
MsiExec.exe /X{2475D120-09C6-4522-A74C-12AB4ABF06B6} /quiet

REM Microsoft Visual Studio Tools for Office Runtime 3.0
MsiExec.exe /X{6C6C847F-A660-3227-98AA-5BFB3FB72B74} /quiet

REM Microsoft Document Explorer 2008
MsiExec.exe /X{5DE0220D-1A71-3C1B-9BE1-DF8D3D392BC4} /quiet

REM Microsoft .NET Compact Framework 3.5 Pre-Release
MsiExec.exe /X{C1EDC2C9-9A6B-4140-A2B9-5D624E2FD6D4} /quiet

REM Microsoft Visual Studio Team System 2008 Team Suite - ENU
MsiExec.exe /X{BDFC3D2F-42A1-32CB-BD2E-E7A043C4625D} /quiet

REM Microsoft Visual Studio Partner Premium
MsiExec.exe /X{64E8560C-9F66-3549-9D4D-3B88C97A3C} /quiet

REM Microsoft Windows SDK Intellisense and Reference Assemblies (6001.16533.121)
MsiExec.exe /X{68CE30BC-365D-4BC6-A8F4-520899B6FECD} /quiet

REM Microsoft Windows Vista Client Utilities for Win32 Development (6001.16533.121)
MsiExec.exe /X{930A590D-29F8-4554-8DC8-27B8A17DD637} /quiet

REM Microsoft Windows Vista Client Common Utilities (6001.16533.121)
MsiExec.exe /X{A922F4CD-6129-4B8A-A00D-C6185C1A39B2} /quiet

REM Microsoft Windows Vista Client Headers and Libraries (6001.16533.121)
REM if VS 2008 installer still keeps complaining about this MSI, first remove following registry key:
REM HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\ProductReference\ReferencedProducts\07D7D27646D242F5BC900906C330746E
REM and run this script again
MsiExec.exe /X{07D7D276-46D2-42F5-BC90-0906C330746E} /quiet

REM Windows SDK .Net Tools
MsiExec.exe /X{A5BB0E8C-6BCE-3486-A705-82F5707C5059} /quiet

REM Microsoft .NET Framework 3.5 (Pre-Release Version)
MsiExec.exe /X{8E7D9374-438A-3E7F-95A2-99B7D67838EB} /quiet

REM Microsoft .NET Framework 3.0 Service Pack 1
MsiExec.exe /X{DD02FB0E-0255-3174-A4C4-AADD23486DCC} /quiet

REM Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools
MsiExec.exe /X{05EC21B8-4593-3037-A781-A6B5AFFCB19D} /quiet

For the unlikely case you also have a RC version of VS2008 installed these are the uninstalls required in this case:

REM Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools
MsiExec.exe /X{05EC21B8-4593-3037-A781-A6B5AFFCB19D} /quiet

REM Microsoft Windows SDK for Visual Studio 2008 Win32 Tools
MsiExec.exe /X{0F2D4DB7-99E9-4B43-BBB7-FD3CCC99B7A8} /quiet

rem Microsoft Windows SDK for Visual Studio 2008 Tools
MsiExec.exe /X{F8921FCE-485D-4CBA-A691-5543CE6B2678} /quiet

REM Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries
MsiExec.exe /X{425956B6-11B4-41DA-B7D5-44D14322F991} /quiet

REM Microsoft Windows SDK for Visual Studio 2008 SDK Reference Assemblies and IntelliSense
MsiExec.exe /X{B05A5A43-46AB-4722-970E-F6E5775FBDF2} /quiet

REM Microsoft Document Explorer
MsiExec.exe /X{6753B40C-0FBD-3BED-8A9D-0ACAC2DCD85D} /quiet

REM Microsoft Visual Studio 2008 Team Explorer - ENU
MsiExec.exe /X{766B3A7A-B5AE-33F5-9858-75E692799C84} /quiet

REM Crystal Reports Basic for Visual Studio 2008
MsiExec.exe /X{AA467959-A1D6-4F45-90CD-11DC57733F32} /quiet

REM Microsoft Visual Studio 2008 Shell (integrated mode) - ENU
MsiExec.exe /X{BA0C9AAF-1327-3F06-B49C-349B4BE8F740} /quiet

REM Microsoft Visual Studio 2008 Performance Collection Tools
MsiExec.exe /X{EB3F5C2A-0754-38B8-8722-7B537006BF46} /quiet

REM Microsoft Visual Studio 2008 Team Suite - ENU
MsiExec.exe /X{80C06CCD-7D07-3DB6-86CD-B57B3F0614D8} /quiet

REM Microsoft .NET Framework 3.5
MsiExec.exe /X{55042A50-9A2B-306E-AB1A-649A3FD8057D} /quiet

Enjoy.
Cheers,
Marcel

[Update: Added Premioum Partner edition for B2 uninstall]
[Update2: Changed order of steps B2 uninstall]

 

Published Wednesday, November 21, 2007 3:35 PM by marcelv

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Normal people bore me! said:

Disinstallare VS2008 Beta 2 o RC automaticamente

November 21, 2007 6:18 PM
 

bharry's WebLog said:

Now that the 2008 wave of developer products has shipped I've seen a ton of questions about downloading

November 22, 2007 4:55 PM
 

Noticias externas said:

Now that the 2008 wave of developer products has shipped I've seen a ton of questions about downloading

November 22, 2007 5:51 PM
 

Aikka said:

Saved my weekend.

Thank you very much, this solved my problem when .net compact framework 3.5 pre-relase could not be uninstalled.

Cheers,

Aikka

November 23, 2007 4:24 PM
 

Allan said:

I wish I had this before my installation. I still have some peculiar things like in the start menu I have an entry that is Visual Studio 9.0 with Visual Studio Codename Orcas in it.

Let me know when you have an uninstall for VS2008 RTM and I will run the whole thing all over again.

allan

November 25, 2007 11:00 PM
 

Yizhe Online Tablet said:

In case some of you folks are having problems removing your old version of VS2008 (either beta/RC), this

November 26, 2007 2:26 AM
 

Adriaan said:

I'm still having trouble. VS2008 doesn't want to install due to Microsoft Windows Vista Client Common Utilities (6001.16533.121). I've followed VS2008 Beta 2 uninstall instructions, and even uninstalled all SQL server components. I'm running 64 bit Vista Ultimate. From Control panel, the only software I didn't uninstall is Office Enterprise 2007, though I'm hoping I don't have to.

I've followed your instructions above and deleted the specified registry key too. Any further ideas?

November 28, 2007 1:17 PM
 

Adriaan said:

Solved my issue. If you still have trouble with VS2008 install failing due to old components, install & run the Windows Install Cleanup tool. Worked like a charm!

November 28, 2007 1:21 PM
 

Henry Hoffmann said:

Thanks for sharing this. It saved me a lot of time.

November 28, 2007 9:17 PM
 

Michael said:

Thanks Marcel. The script worked like a charm. I was having problems installing 08 RTM after B2. This did the trick. Cheers.

November 29, 2007 4:50 AM
 

Team System News said:

Marcel de Vries on Upgrading VSTS Beta to RTM uninstall scripts. Mike Azocar on Light Weight Scrum for...

November 29, 2007 3:53 PM
 

Felix de Herrera said:

You're scripts worked Perfectly!! Thank you so much.  You have saved me much frustration manually picking through the registry.  Again, Thank You.

December 12, 2007 6:05 AM
 

Laurent said:

Thanks a lot for the help, I was kind of becoming crazy wondering what I did not uninstall ...

It worked perfectly ans easily :).

Thanks again.

December 21, 2007 10:31 AM
 

ASPInsiders said:

This week with the RTM of VS2008 I made the move from the Beta 2 version of VS2008 to the RTM version.

December 21, 2007 11:07 PM
 

Martin said:

Thanks !

January 23, 2008 6:08 AM
 

John Wilson PowerPoint MVP said:

Thanks a million. Spent all day failing to install - ran the script and bingo!

February 13, 2008 5:52 PM
 

Alan Novitskiy said:

Probably saved me a few painful hours. Would definitely have taken me a while to find the registry key for the Vista Headers and Libraries. Thanks Marcel!

February 18, 2008 5:54 PM
 

Alessio said:

Thank you!

March 12, 2008 1:14 PM
 

Kevin Burton said:

I executed all of these lines apparently without error but when I look under "Program and Features" I still see "Microsoft Visual Studio Team System 2008 Team Suite - ENU". An when I try to "Unininstall/Change" this program I get an error: "Error 1325. 'WebDesignerCore' is not a valid short file name". during setup and I am not able to proceed. The setup indicates that this is Beta 2. When I try to uninstall the "Microsoft Visual Studio Codename 'Orcas' Remote Debugger (x64)" I get the error dialog: "Error 1324. The folder path 'Program Files' contains an invalid character."

Any ideas? I can not install because I have to uninstall these two first and I can't uninstall these two because of the errors. I am stuck.

Thank you.

Kevin

rkevinburton@charter.net

March 28, 2008 8:30 PM
 

Marcel said:

May 9, 2008 10:10 AM
 

estetik said:

This is exciting as many people at Microsoft have been working hard to make sure popular PHP applications work great on Windows.

May 14, 2008 11:21 PM
 

nima said:

I also had problems with the new version over the Beta and your scripts worked perfect!! I didn't even had to reboot the machine!

Thank you!! :D

June 18, 2008 1:08 AM

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems