Upgrading Visual studio Team System Beta to RTM uninstall scripts

*Moved to: http://fluentbytes.com/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_MACHINESOFTWAREMicrosoftWindowsCurrentVersionInstallerProductReferenceReferencedProducts7D7D27646D242F5BC900906C330746E
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]

 

Follow my new blog on http://fluentbytes.com