In my experience, this happens when installing Visual Studio 2017 cannot uninstall / restore / update an existing package. Try the following:
- Close the installation of the VS 2017 installer and go to this location "C: \ ProgramData \ Microsoft \ VisualStudio \ Packages \ Microsoft.TeamFoundation.OfficeIntegration.Resources"
- There should be a .msi file named "tfs_officeIntegrationCoreRes.msi" (based on your error message - it looks like you have office tools installed as part of a previous VS installation)
- Run this msi and uninstall the component (there should be an uninstall option). After you run VS 2017 setup again, and this time you will not get this error at least.
Hope this helps.
Usman source share