Partager via


Installation of the Service Pack 1 for Visual Studio 2010 fails without any explicit (UI) error message

ISSUE DESCRIPTION:

The installation of the Service Pack 1 for Visual Studio 2010 fails without any explicit (UI) error message, creating among other logs files, a log file named similar to ‘Microsoft Visual Studio 2010 Service Pack 1_20120703_080910091-MSI_RiaServices.msi.txt’ under the %temp% folder.

Note: Windows Installer Verbose logging needs to be enabled for it to be possible to get such logs; refer https://support.microsoft.com/kb/223300

ENVIRONMENT:

This is applicable to both 32 bit and 64 bit machines, running Windows 7/Vista/Server2008/Server2003/XP, which have Visual Studio 2010 RTM (any version) installed.

Symptom and inference :

The installation of the Service Pack 1 for Visual Studio 2010 fails with the following as per the verbose log-

‘MSI (s) (54:C8) [14:24:29:746]: Note: 1: 2205 2: 3: Error

MSI (s) (54:C8) [14:24:29:746]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709 MSI (s) (54:C8) [14:24:29:746]: Product: WCF RIA Services V1.0 SP1 -- Setup has detected that a newer version of WCF RIA Services is already installed. Setup has detected that a newer version of WCF RIA Services is already installed. Action ended 14:24:29: PreventDowngrading. Return value 3. Action ended 14:24:29: INSTALL. Return value 3.

.

.

.

MSI (s) (F0:A0) [08:09:59:487]: Product: WCF RIA Services V1.0 SP1 -- Installation failed.’

As is evident from the snippet, the installation of Service Pack 1 for Visual Studio 2010 tries to install a version of Ria Services that is lower than the one that is already present on the system, and it fails in the process. 

To detect the issue, we looked into the verbose log 'Microsoft Visual Studio 2010 Service Pack 1_20120703_080910091-MSI_RiaServices.msi.txt' and found-

'Setup has detected that a newer version of WCF RIA Services is already installed.'

Once this is detected, we know that the system has a Beta/newer version of Ria Services already installed (eg. WCF RIA Services V1.0 SP2 Preview - June 2011 in this case) as compared to the one that Service Pack 1 is trying to install.

ResolutION:

You need to uninstall RIA Services from Add Remove Programs.

In case you do not see an entry for any version of Ria Services listed under Add Remove Programs, follow these steps:

1. Click on Start

2. Click on Run

3. Type in CMD and hit enter

4. Type in msiexec /x {6A1F4E2C-D10A-411B-A95C-EC6D38066DA7} and hit enter

Once you have successfully removed the installed version of Ria Services from the machine, you can go ahead with the installation of Service Pack 1 for Visual Studio 2010.

 

Content By : Ritwik Sinha

Comments

  • Anonymous
    May 25, 2015
    Thanks!