blog community
Upgrading Visual studio Team System Beta to RTM uninstall scripts
Marcel de Vries, MVP Team System

Syndication

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]

 


Posted 21-11-2007 15:35 by marcelv

Comments

Normal people bore me! wrote Disinstallare VS2008 Beta 2 o RC automaticamente
on 21-11-2007 18:18

Disinstallare VS2008 Beta 2 o RC automaticamente

bharry's WebLog wrote 2008 Installation Questions
on 22-11-2007 16:55

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

Noticias externas wrote 2008 Installation Questions
on 22-11-2007 17:51

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

Aikka wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 23-11-2007 16:24

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

Allan wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 25-11-2007 23:00

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

Yizhe Online Tablet wrote clean uninstall script for visual studio
on 26-11-2007 2:26

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

Adriaan wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 28-11-2007 13:17

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?

Adriaan wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 28-11-2007 13:21

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!

Henry Hoffmann wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 28-11-2007 21:17

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

Michael wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 29-11-2007 4:50

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

Team System News wrote VSTS Links - 11/29/2007
on 29-11-2007 15:53

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

Felix de Herrera wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 12-12-2007 6:05

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

Laurent wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 21-12-2007 10:31

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.

ASPInsiders wrote Moving from VS2008 Beta2 to RTM
on 21-12-2007 23:07

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

Martin wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 23-01-2008 6:08

Thanks !

John Wilson PowerPoint MVP wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 13-02-2008 17:52

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

Alan Novitskiy wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 18-02-2008 17:54

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!

Alessio wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 12-03-2008 13:14

Thank you!

Kevin Burton wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 28-03-2008 20:30

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

Marcel wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 09-05-2008 10:10
estetik wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 14-05-2008 23:21

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

nima wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 18-06-2008 1:08

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

lastmoh1989 wrote re: Upgrading Visual studio Team System Beta to RTM uninstall scripts
on 13-06-2009 14:22

Thank you man ,you saved my life

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Powered by Community Server (Commercial Edition), by Telligent Systems