Welcome to MSDN Blogs Sign in | Join | Help

Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Before installing the release of Visual Studio 2005 Service Pack 1, you must uninstall the Service Pack 1 Beta. If you do not uninstall the beta first, you will receive the following message localized appropriately for Windows,

"The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade patch."

To uninstall the beta, please follow the instructions below appropriate to your Windows platform.

Windows 2000 - Add/Remove ProgramsWindows 2000, Windows XP RTM, Windows XP SP1, Windows Server 2003 RTM

  1. Click Start
  2. Click Control Panel
  3. Open Add/Remove Programs
  4. Select Service Pack 1 beta for each product to which it's applied, and click Change/Remove

Windows XP - Add or Remove ProgramsWindows XP SP2, Windows Server 2003 SP1

  1. Click Start
  2. Click Control Panel
  3. Open Add or Remove Programs
  4. Check Show updates if not already checked
  5. Select Service Pack 1 beta nested under each product to which it's applied, and click Remove

Vista - View installed updatesWindows Vista

  1. Click Start
  2. Click Control Panel
  3. Click Programs
  4. Click View installed updates
  5. Select Service Pack 1 beta for each product to which it's applied, and click Uninstall

This is Windows error ERROR_PATCH_TARGET_NOT_FOUND (1642) and is returned because the SP1 beta updated the ProductVersion property and SP1 release will not supersede it. Since the ProductVersion updated by the SP1 beta is not the ProductVersion that SP1 release targets, Windows Installer returns 1642 and will display this message if not installing silently.

Published Monday, December 18, 2006 1:45 PM by Heath Stewart

Comments

Monday, December 18, 2006 11:39 PM by My VSTS Blog

# Installing Visual Studio 2005 Team Foundation Server (RTM) - Part 2

Well it looks like the error that I received while uninstalling the beta version of the TFS SP1, ( previous

Wednesday, December 20, 2006 6:38 AM by Mike's Blog

# Upgrade TFS V1 to WSS 3.0 Round #2 (TFS SP1)

I've just finished my guide about upgrading TFS V1 to WSS 3.0 and Microsoft immediately releases Service

Friday, December 29, 2006 5:23 AM by Heath Stewart's Blog

# The Visual Studio 2005 Service Pack 1 Installation Experience

Visual Studio 2005 Service Pack 1 can take a long time to install and may apply to multiple products

Wednesday, January 03, 2007 11:18 AM by Aaron Stebner's WebLog

# Links to detailed information about Visual Studio 2005 SP1 setup

Heath Stewart has written several very useful blog posts about Visual Studio 2005 SP1 that I wanted to

Wednesday, January 03, 2007 12:51 PM by Jussi

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

I had SP1 beta installed, just ran the final SP1 and got no error messages and the installation succeeded, or so it seemed. How can I make sure SP1 final installed properly?

Wednesday, January 03, 2007 1:24 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

A change was made after this post that inadvertently allowed for this scenario, but there were many changes between beta and release and so long as the beta is in view (search my blog for "How Patching Works") your machine won't be in sync with what it should look like with just SP1 release on it. You should uninstall the beta, then repair your product from Add/Remove Programs.

Wednesday, January 17, 2007 12:16 PM by BobC

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Trying to uninstall sp1 beta I get a 1706 error. After running for a half-hour, I get prompted for the VS CD. I point to my cd, but get

" Error 1706. An installation package for the product Microsoft Visual Studio 2005 Professional Edition - ENU cannot be found. Try the installation again using a valid copy of the installation package 'vs_setup.msi'."

Monday, January 22, 2007 11:04 AM by Soe

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Just like BobC posted, I am having the same exact issue.

I have VS2005 Professional version.

Any help how to resolve it please?

Monday, January 29, 2007 4:07 PM by Eugueny

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Same thing: when trying to uninstall Service Pack 1 Beta I got "Try the installation again using a valid copy of the installation package 'vs_setup.msi'"

This is a nightmare... Why isn't anyone at Microsoft realizing that there should not be such thing as "installing" software, because "copying files" should work just fine.

What am I supposed to do now? Wipe off my C: drive with Windows (because windows folder itself got super-fat) and spend 2 days re-installing everything?

NOTE: I am not one of Linux guys, I just don't understand the need for such tight integration of Microsoft products. Why can't you just stick to "c:\program files\visual studio 8" folder and never, never, never install anything outside of it? And do that for every product. I know, I know about system32 and COM, and GAC and registry - but just ignore those stupid things, it is very possible to create Windows applications that do not touch those piles of @$it. It is not hard.

Monday, January 29, 2007 8:36 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Eugueny, you must insert your original disk media (or re-mount an MSDN ISO) when it asks for vs_setup.msi. Essentially, this must be the same edition and same language. You can't use a VSPro installation media for a VSTS installation, which seems to be a relatively common scenario for our MSDN customers. These variation in product editions are seen as different products with Windows Installer.

Tuesday, February 06, 2007 7:53 PM by Jason Klein

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Umm...I used the EXACT same version of 'vs_setup.msi' to try uninstalling the SP1 Beta...NO DICE. Has anyone else used the same version and still gets this error?

This is unbeleivably ridiculous.....how can it be this hard to uninstall something.

Tuesday, February 06, 2007 8:04 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Jason, please enable Windows Installer verbose and debug logging and after a failed attempt look for a corresponding MSI*.log file under your %TEMP% directory for the time period. See http://msdn2.microsoft.com/en-us/library/aa369776.aspx and http://msdn2.microsoft.com/en-us/library/aa368263.aspx, or incorporate into your registry a reg file with the following content:

--- BEGIN ---

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer]
"Logging"="voicewarmupx"
"Debug"=dword:00000003

--- END ---

If that doesn't provide more information please open a case with Microsoft Support Services at http://support.microsoft.com.

Thursday, February 08, 2007 8:41 AM by Jason Klein

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Thanks for the logging input Heath.  I actually did get it to uninstall on the second try by using an updated version of the 'vs_setup.msi' file.

But my original statement holds, the 'vs_setup.msi' I actually used to install the BETA did not work to uninstall it. How strange is that!

Thursday, February 08, 2007 10:44 AM by BobC

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

How can we tell what Edition the MSI is looking for?

Thursday, February 08, 2007 10:50 AM by BobC

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Would this crap out if I was updating a MSDN image  and used the same edn/lang from a DVD?

Thursday, February 08, 2007 1:38 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Jason, do you mean the VS beta or the SP1 beta? The beta had a different ProductCode and/or ProductVersion (don't remember off-hand) so it wouldn't have worked. It's a different product in Windows Installer's view of things.

Thursday, February 08, 2007 1:41 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

Bob, everything comes down to what patches target: ProductCode, ProductVersion, UpgradeCode, and ProductLanguage. In most cases, the title of the source prompt should give you some clue, but if you create a verbose log using the MSI logging policy (search my blog for details) you could look and see what ProductCode it's looking for. If you just click cancel, look in the log after rollback completes for the property ProductEdition (custom property) for more details.

Wednesday, March 14, 2007 10:19 AM by SoMoS

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

I'm havind this problem without any beta installed. Any hint? I'm using visual studio 2005 professional edition. ¿?¿

Wednesday, March 14, 2007 8:40 PM by Heath Stewart

# re: Uninstall Visual Studio 2005 Service Pack 1 Beta before Installing the Release

SoMoS, make sure you have downloaded the correct Service Pack package for the right language of Visual Studio 2005 that you have installed. You can also extract the MSP from the EXE by using the /extract switch, then use my Patch Applicability Browser at http://blogs.msdn.com/heaths/articles/pab.aspx to see what products it applies to, and which of those are installed.

New Comments to this post are disabled
 
Page view tracker