Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error during installing visual studio 2017

I am trying to install Visual Studio 2017 RC and I keep getting this error:

[2ea4:002f][2016-11-20T21:47:00] Package 'Microsoft.TeamFoundation.OfficeIntegration.Resources,version=15.108.25831.0,chip=x64,language=en-US' failed to install. MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeIntegration.Resources,version=15.108.25831.0,chip=x64,language=en-US\tfs_officeIntegrationCoreRes.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" USING_EXUIH="1" , Return code: 1714, Details: The older version of Microsoft Visual Studio Team Foundation Server 2017 RC Office Integration Language Pack (x64) - ENU cannot be removed. Contact your technical support group.

like image 362
princevenkat22 Avatar asked Nov 20 '16 16:11

princevenkat22


Video Answer


2 Answers

We were able to force uninstall the problematic package using this Microsoft tool, after which we were able to install VS2017 normally.

The package name in our case was: Microsoft Visual Studio Team Foundation Server 2017 RC Office Integration Language Pack (x64) - ENU​

like image 109
ECC-Dan Avatar answered Oct 15 '22 10:10

ECC-Dan


With my experience, this happens when Visual Studio 2017 setup cannot uninstall/repair/upgrade an existing package. Try this:

  1. Quit the VS 2017 installer setup and go to this location "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.TeamFoundation.OfficeIntegration.Resources"
  2. There must be an .msi file with name "tfs_officeIntegrationCoreRes.msi" (based on your error message - it appears that you have office tools installed as part of previous VS installation)
  3. Run that msi and remove the component (there must be a remove option). Once done restart the VS 2017 setup again and this time you shouldnt get this error at least.

Hope this helps.

like image 20
Usman Avatar answered Oct 15 '22 08:10

Usman