Welcome to MSDN Blogs Sign in | Join | Help

VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

When I announced that Visual Studio 2008 SP1 RTM will install over SP1 beta, we were on track to make that reality. However, when SP1 beta shipped we found that adding new components into existing features was causing a prompt for source for non-default installations of Visual Studio 2008. To fix this, we would have to remove those components and put them into a new feature. This, in turn, causes the installation to not actually update most files if the beta was installed because it advertises the features.

After a lot of discussion, we decided that because a prompt for source is a blocking issue for more customers that installed the beta we would block SP1 RTM from upgrading SP1 beta. To make this easier, we have provided a tool that uninstalls only certain beta patches. Not all patches need to be removed so this exercise is made simple and relatively faster than uninstalling all of the beta.

Note: you do not have to uninstall Visual Studio 2008 Express Editions with SP1 Beta prior to installing Express SP1 RTM. The tool described below for VS box SKUs does not apply to Express SKUs.

Workaround

If you installed VS2008 SP1 Beta, you will see a dialog similar to the following.

Setup has detected that this computer does not meet the requirements to install this update. The following blocking issues must be resolved before you can install Microsoft Visual Studio 2008 SP1 software update.

The dialog above lists all the pre-release updates that must first be removed, depending on which you have installed. It reads,

You must first use Microsoft Visual Studio Patch removal tool before installing Visual Studio 2008 SP1. The tool will verify Visual Studio integrity and remove previous Visual Studio 2008 updates or pre-release software

  • Microsoft Visual Studio 2008 - KB945140 (Beta)
  • Microsoft Visual Studio 2008 - KB944899
  • Microsoft Silverlight Tools Beta 1
  • Microsoft Visual Studio 2008 - KB949325

The tool is straight forward to use and should allow you to install VS 2008 SP1 - assuming you are running as an administrator and have applicable products installed.

Details

When VS 2008 SP1 Beta is installed it adds new components to existing features. This causes Windows Installer to install that feature, its parent features, and all those features' child features which follow their parent install state. If one of those features was not already installed, the files authored into that feature likely do not already exist on your machine. Windows Installer then prompts for source to find and install those files.

To fix this, we have to move those new components to new top-level features which always get installed.

Because a patch alters the view of the product - the installer package (.msi file) and all patch packages (.msp files) combined - those new components are now part of the product. When SP1 Beta is already installed and SP1 RTM is being installed, those new components in Beta get removed from their parent features and put into new features. Because a there is no "move" operation, it's actually a "delete" and an "add". Deleting a component, however, advertises the parent feature. The result is that any files within affected features are not updated because they are not registered as being installed locally. In fact, none of those files will ever be upgraded again until the product is reinstalled with a specially crafted command line specific to your machine, or uninstalled and then re-installed. That means no updates and no new features for a lot of the product.

Based on the estimated number of people that installed the beta and the number of people that customized their installations of Visual Studio 2008, we felt it was better to block installation of VS2008 SP1 RTM if VS2008 SP1 Beta was installed. We also block if features installed with applicable products are also already advertised since this could happen in a couple of other scenarios - like if KB944899 was installed and you then installed SP1 Beta.

The tool we have provided performs these same checks on product that SP1 updates and attempts to fix them. When uninstalling patches, however, you might be prompted for source to restore files in shared components. This happens when share components in another product were already updated. When any other products' shared components are then updated, those products' baseline caches are not updated with a backup copy of those shared files already updated. To streamline the operation, for one product where this happened 100% of the time we shipped the source but it was small - only a few megabytes. But for Visual Studio and other products which are much larger overall, note the title of the source prompt dialog, insert your installation media (network installs likely won't cause prompts), and browse to the path of that product. Typically this will be vs_setup.msi in the root directory for the drive containing the installation media.


Updated: added that users do not have to remove Express SP1 Beta prior to installing Express SP1 RTM.

Published Monday, August 11, 2008 12:48 PM by Heath Stewart

Comments

Monday, August 11, 2008 8:39 PM by Aaron Stebner's WebLog

# .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 download and troubleshooting links

As noted earlier today in this post on Soma's blog , the .NET Framework 3.5 SP1 and Visual Studio 2008

Monday, August 11, 2008 11:09 PM by TrackBack

# Uninstalling Visual Studio 2008 SP1 beta

by Don Burnett Had problems uninstalling the beta 1 of Visual Studio 2008? is it looking for an install package that you don't have.. Thanks to Heath Stewart and the new patch uninstaller you can easily install the Final Service Pack 1 release with no

Tuesday, August 12, 2008 5:14 AM by Tom

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

I'm having problems with the tool - it's asking for the source media, but it won't recognise the vs_setup.msi from the RTM media. Any suggestions?

Tuesday, August 12, 2008 5:26 AM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Tom, the source prompt might not be for vs_setup.msi in the drive root. Note the title of the dialog and let me know. Or if it is for Visual Studio, make sure you've provided the installation media for the correct edition and language of VS.

Tuesday, August 12, 2008 5:28 AM by Blend World

# Visual Studio SP1 and Silverlight tools

Visual Studio SP1 and Silverlight tools

Tuesday, August 12, 2008 5:34 AM by Wojciech Gebczyk

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Today during installation it asked me for VS08 "source media" (it happened after using "preparation tool").

It's sad that first you state that it would install over existing Beta files, then change your mind and require to run preparation tool AND STILL needs "source media" during SP1 installation.

Next time don't state promises, that you don't want keep.

Tuesday, August 12, 2008 5:51 AM by Tom

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Hi Heath

The title of the dialogue box was "Microsoft Visual Studio 2008 Shell (integrated mode) - ENU"

This may have been installed with the SQL Server 2008 RC I had installed recently?

I removed all the SQL Server 2008 RC stuff (just the client tools), and also that instance of VS2008 Shell from add-remove programs (VS2008 Professional was listed seperately), then re-ran the cleanup tool - it completed almost instantly.

Got SP1 going on now, all good so far.

Thanks

Tom

Tuesday, August 12, 2008 6:27 AM by Notes from a dark corner

# More about .NET Framework 3.5 SP1 and Visual Studio 2008 SP1

As mentioned yesterday .NET Framework 3.5 SP1 and Visual Studio 2008 SP1 were released. Here is a more

# .NET 3.5 SP1, VS/VSTS 2008 SP1 og TFS 2008 SP1 er frigivet

Nu er sommerferien overstået for mit vedkommende ... så er det jo rart at komme tilbage, netop som vi

Tuesday, August 12, 2008 8:20 AM by Microsoft Weblogs

# Visual Studio SP1 and Silverlight tools

Today Visual Studio 2008 has released SP1 which not only brings some fixes, but also is an added value

Tuesday, August 12, 2008 8:46 AM by Mark Comeau

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

I'm getting this error in the log:

Returning IDOK. INSTALLMESSAGE_ERROR [Error 1309.Error reading from file: c:\Program Files\Microsoft Visual Studio 9.0\Microsoft Visual Studio 2008 Team Explorer - ENU\Program Files\Microsoft Visual Studio 9.0\Team Tools\Static Analysis Tools\FxCop\Rules\DesignRules.dll. Verify that the file exists and that you can access it.]

Tuesday, August 12, 2008 8:49 AM by Infosys | Microsoft

# Installing Visual Studio 2008 SP1 RTM

Installing experience of VS 2008 SP 1 RTM

Tuesday, August 12, 2008 1:02 PM by ProJester

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

It doesn't work for Microsoft Visual Web Developer 2008 Express Edition

How to proceed??

Tuesday, August 12, 2008 1:09 PM by ProJester

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Your advice of Microsoft Visual Studio Patch removal tool not helpful with Microsoft Visual Web Developer 2008 Express Edition

Tuesday, August 12, 2008 5:06 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

ProJester, you need only run the tool if you see the error dialog telling you to use it when installing SP1 on VS 2008 box SKUs. Express SP1 Beta can be upgraded to Express SP1 RTM.

I have updated the blog post to better reflect this information.

Tuesday, August 12, 2008 5:10 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Tom, you are correct. SQL, Team Foundation Client (TFC) and other applications - not even just Microsoft applications - install the IDE which installs shared components. You can find the source package under the tfc\wcu\ppe directory in your installation media. From an elevated command prompt, run the following to extract the content:

vside.exe /extract:%temp%\ide

Then in the prompt, type in the full path or browse to %TEMP%\ide.

Wednesday, August 13, 2008 3:37 AM by Valdis Iljuconoks

# Servisa pakotnes instalācija pa virsu betas versijai

Ja kāds tomēr nolēmis ir instalēt Visual Studio 2008 SP1 un .Net Framework 3.5 SP1 uz datora, kur iepriekš

Wednesday, August 13, 2008 5:01 AM by Joku

# VS2008-PatchRemovalTool-x86 leaves beta 1 stuff behind

Hey. I ran VS2008-PatchRemovalTool-x86 as admin as instructed in SP1 readme.

Following "beta" things are still visible in Installed Programs/Updates under Vista 64 bit that I haven't installed myself, they have come with the SP1 beta.

Visual Studio Tools for the Office system 3.0 runtime service pack 1 kb949258 (BETA)

Microsoft SQL Server Compact 3.5 SP1 Design Tools English Beta

Microsoft SQL Server Compact 3.5 SP1 English Beta

Wednesday, August 13, 2008 5:04 AM by Joku

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Looks like the .NET framework sp1 beta was also left behind.

The readme should've been more clear on whether you should manually remove these other beta. I've removed them now and will try SP1 install.

Wednesday, August 13, 2008 6:28 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Joku, the removal tool doesn't remove all beta packages - only those that cause a problem when upgrading to SP1 RTM. It's odd that .NET Framework SP1 Beta was left behind, though - .NET Framework SP1 RTM is a full upgrade to previous versions of 2.0, 3.0, and 3.5.

Leaving behind the other betas should not cause issues besides a some additional disk space consumed.

Thursday, August 14, 2008 11:21 AM by David

# Going in circles..

Hi,  I've got completely stuck now.  I have Vista x64 and had VS2008 Pro + SP1 Beta installed.  I've completely stripped everything VS related and even back down to .net 3.0 but now after a fresh VS2008 install the SP1 install complains about KB944899.  The patch removal tool works without error but makes no difference.  I've even installed KB944899 again and then uninstalled manually.  I've searched the registry for it, checked the WMI QFE list and I can't find any trace of it.  Is there a difference in the way the patch removal tool and SP1 installer check for its presence?  Any ideas what to try next appreciated!

Thursday, August 14, 2008 6:03 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

David, both the removal tool and VS check that the patch code is installed, which is unique to that patch and is mathematically improbable to generate twice.

Can you run the collect utility from http://go.microsoft.com/?LinkId=8967043 and post %TEMP%\vslogs.cab to a web share and provide me the URL (to do so privately, use the Contact link toward the top of this blog). If you need server space, you can easily sign up for 5 GB at http://skydrive.live.com.

Friday, August 15, 2008 4:49 AM by Jon Galloway

# Upgrading to Visual Studio 2008 / .NET 3.5 SP1

Have your Visual Studio Installation Media Handy I was prompted for the original installation media both

Friday, August 15, 2008 10:22 PM by Andy

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Hi Heath. I have VS2008 SP1 BETA installed, and cannot use the patch tool as I'm at home, and the VS2008 disk the patch requires is in the office.

Is there anyway I can get around this? I ask because I really wanted to do some Silverlight 2 dev today, but I know the SP1 Beta has silverlight issues right?

Could I just remove the KBs manually?

cheers

andy

Sunday, August 17, 2008 6:34 AM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Andy, no, source is required to restore RTM files for one product or another.

Wednesday, August 20, 2008 11:37 PM by daveblack

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

I never installed the SP1 Beta.  But, I haven't seen any reference to whether or not you are supposed to uninstall Entity Framework Beta 3 and the EF Tools CTP.

I forgot I had these installed and ran the prep tool.  Had no problems - it seemed to finish successfully.  Rebooted.  Then installed VS2008 SP1 seemingly with no problems.  Rebooted.  Remembering that I had the EF Beta 3 and EF Tools CTP I went to confirm that the Prep tool had removed them.  But they were still listed in installed programs.  I figured I should remove them and removed the EF Tools CTP first and then the EF Beta 3.

Should everything be ok?  Was I supposed to remove the Beta 3 and CTP?  How come the Prep tool didn't do this?

Thursday, August 21, 2008 12:25 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

daveblack, no you did not have to remove them. Only a few packages - including the SP1 Beta MSP itself (the SP1 SKUs are comprised of many packages, including EXEs, MSIs, and MSPs - one reason you can't easily slipstream the install for future VS 2008 with SP1 installations) - need to be removed. When you removed them after SP1 RTM was installed, it could be problematic but if you're not noticing any problems using VS - especially the Entity Framework - then you're probably okay.

Thursday, August 21, 2008 12:35 PM by daveblack

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Since I did uninstall EF Beta 3 and EF Tools CTP afterwards - would it be best (just to be safe) to just re-install VS2008 SP1?

Friday, August 22, 2008 3:25 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

daveblack, from a purely Windows Installer standpoint you don't need to: the new patches supersede the older ones. If you aren't having any functional issues with the products, you should be fine not to reinstall SP1.

Tuesday, September 02, 2008 1:28 PM by Blogs

# Visual Studio SP1 and Silverlight tools

Today Visual Studio 2008 has released SP1 which not only brings some fixes, but also is an added value

Wednesday, September 17, 2008 3:38 PM by Cal Schrotenboer

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

My copy of Visual Studio 2008 on my Windows XP 64 bit computer is located on my D: drive. The OS is located on my C: drive.  

At first SP1 refused to install because it claimed that I needed about 4.x GB of free space on my C partition which was not then available.

With very few exceptions, I do not want my applications on my C partition but I managed to free up enough space so that the installation would proceed.  Then without giving me any option as to where the components would be installed, SP1 put about 1.95 GB in a folder entitled Microsoft Help under Application Data in Documents and Settings.

It would appear to me that the installer for SP1 has two problems:  (1) flawed logic in determining how much drive space is needed on which partition and (2) flawed logic on where it placed the updated components -- if you don't give the user a choice, these locations should match, not override, his earlier choice.

I did not have the Beta 1 of SP1 installed on this computer.  

Tuesday, September 23, 2008 5:36 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Cal, space is required on your system drive (C:) because Windows Installer - the installation engine that installs our packages - requires it for both temporary and cached files. You can view specifics at http://blogs.msdn.com/heaths/archive/2008/07/24/why-windows-installer-may-require-so-much-disk-space.aspx. It mentions a couple of ways you can reduce the amount of space required when installing the packages, but you'll still need to free up space.

The logic is not flawed, per se (it's not 100% accurate for various reasons related to machine state, but not far off). That much space is really required on your system drive - at least temporarily. This does account for the files to be updated and does indeed know where they are. The bootstrapper does require different size on your system and product drives (which are often the same for most customers, but does understand they can be separate).

Try running the Disk Clean utility or compress some folders.

Tuesday, October 07, 2008 11:57 AM by Bernardo

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Hi,  I've got completely stuck now.  I have Vista x64 and had VS2008 Pro + SP1 Beta installed.  I've completely stripped everything VS related and even back down to .net 3.0 but now after a fresh VS2008 install the SP1 install complains about KB944899.  The patch removal tool works without error but makes no difference.  I've even installed KB944899 again and then uninstalled manually.  I've searched the registry for it, checked the WMI QFE list and I can't find any trace of it.  Is there a difference in the way the patch removal tool and SP1 installer check for its presence?  Any ideas what to try next appreciated!

Tuesday, October 07, 2008 12:05 PM by Bernardo

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Hi,  I'm in exactly the same situation as Dave above. I need to install SP1, but can't because the install complains about KB944899. I ran the removal tool, searched the registry, re-installed VS2008, etc etc.

Following Heath's suggestion, I ran the "collect" utility and posted the vslogs.cab file at skydrive.live.com (public folder at bernardo-castilho at hotmail dot com).

This is killing me. Please help. I need to install SP1 so I can install Silverlight RC0 so I can work...

Wednesday, October 15, 2008 12:13 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Bernardo, we found a discrepancy with how the removal tool detects on which products KB944899 is installed and how SP1 detects it. But removing it manually only removes it from the product on which you see it. It doesn't remove it from every products. In these cases, it actually applies to multiple products.

Unfortunately there's no mapping that I can find using your email address to access your SkyDrive. Please log into your SkyDrive and copy and paste the URL as a comment here or email it to me using the contact form at the top of this page.

Friday, October 24, 2008 5:15 PM by bellicose

# VS 2008 SP1 diskspace required on C

Why can't we direct more of vs2008 and/or

sp1 to another drive besides C?

You keep telling people over and over

to do these extremely unappealing things:

http://blogs.msdn.com/heaths/archive/2008/07/24/why-windows-installer-may-require-so-much-disk-space.aspx

why can't the program stop dumping stuff

on C? I guess you don't know that many

people have laptops or machines that

had been partitioned with a small C

partition. So they go buy a usb drive and

have tons of space. And that would work

great except that vs2008 refuses to put

much of anything on a drive besides C.

What are you thinking? Please stop doing

this and listen to the customers.

We don't want to get rid of caching etc.

we want it to go somewhere besides C!

Thursday, October 30, 2008 5:58 AM by Michael

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

The Tool prompts me to enter the path to 'VistaClientSDKTools-x86.msi'

I'm on WinXP I did not install any VistaClientSDK tools I dont' have this msi

Friday, October 31, 2008 1:43 PM by Jim Meehan

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

I have had VS2008 sp1 beta installed. When i was running the patch removal tool, it wouldn't recognize the media for vs2008. So I removed vs2008, then reinstalled vs2008 only. When i try to install vs2008 sp1 it says that i must run the patch removal tool. when it run the patch removal tool, it fails with error code 0x8007066F. What do i do now? It's probably an inconsistent registry key setting.

Monday, November 03, 2008 1:45 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Michael, the VistaClientSDKTools-x86.msi is installed as part of VS (VS is actually a collection of a number of packages). It's the client tools for the Windows SDK for Vista, which covers Vista on down. You can find it compressed into wcu\WinSDK\WinSDK_Tools.exe. To extract it and all the contents (you'll need all of it), run 'WinSDK_Tools.exe /extract:"%TEMP%\WinSDK_Tools"' (without outer single quotes) and when asked for VistaClientSDK_Tools-x86.msi find it in %TEMP%\WinSDK_Tools.

Monday, November 03, 2008 5:40 PM by Jim Meehan

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

I'm stuck. I had VS2008 SP1 beta installed, but ran into a problem with your install package. So, I deinstalled VS2008 and reinstalled it. Now when I run the patch removal tool, it completes successfull. When I run the VS2008 SP1 installer, it tells me that I need to run the patch removal tool to remove KB945140. How do I proceed?

Ignore my previous post since I got past that point.

Monday, November 03, 2008 7:17 PM by Heath Stewart

# re: VS 2008 SP1 Beta must be removed prior to installing the release of VS 2008 SP1

Jim, the patch packages in SP1 actually apply to a lot of products, just not the main Visual Studio product. SP1 Beta was left installed to some product that needs to be updated. When removing Visual Studio all of it needs to be uninstalled. Obviously we don't want you to have to remove VS and due to isses discovered during the beta the removal tool was developed for customers who used the beta. Because of a couple of different issues in how they operate differently, the patch removal tool may not work for orphaned patches. Orphaned patches are typically a result of running msizap on products.

Search your registry for 'E4F34490B4BE97847AB7446D8AB3D908' (without quotes) but do not delete anything you find. Instead, please export the parent key and send them to me. You can use the Contact link above to send me a URL where I can grab the file(s) and tell you how to clean it up.

New Comments to this post are disabled
 
Page view tracker