Summary of problems with installing Team Explorer for Microsoft Visual Studio 2015 on VS2015 (resolved)

I don't know what happened recently. I want to use VS2015 to view the code, but when I open VS2015, I am reminded that the VS2015 software is incomplete? I remember that I haven't touched VS2015! Based on past experience, I tried the following methods:

1. In the uninstaller of the control panel, click the "Repair" option of VS2015, but the following problems will occur in the middle of the installation:



I checked the software log again, and finally the following log appears about Team Explorer:

[18F0:1960][2017-12-23T22:19:47]i301: Applying execute package: vs_teamExplorerCore, action: Install, path: C:\ProgramData\Package Cache\{791295AE-3B0A-3222-9E69-26C8C106E8D1}v14.0.23102\packages\TeamExplorer\Core\vs_teamExplorerCore.msi, arguments: ' MSIFASTINSTALL="7" USING_EXUIH="1"'
[05AC:1A7C][2017-12-23T22:20:02]i000: MUX:  ExecuteError: Package (vs_teamExplorerCore) failed: Error Message Id: 1722 ErrorMessage: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  
[18F0:1960][2017-12-23T22:20:05]e000: Error 0x80070643: Failed to install MSI package.
[18F0:1960][2017-12-23T22:20:05]e000: Error 0x80070643: Failed to execute MSI package.
[05AC:1A7C][2017-12-23T22:20:05]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Installation size in bytes for package: vs_teamExplorerCore MaxAppDrive: 171569152  MaxSysDrive: 28168192  AppDrive: 4096  SysDrive: 23842816
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Return Code:0x80070643 Msi Messages:There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.   Result Detail:0 Restart:None
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  , Result Detail=, Vital=True, Package Action=Install, Package Id=vs_teamExplorerCore
[05AC:1A7C][2017-12-23T22:20:05]i000: Setting string variable 'BundleResult' to value '1603'
[05AC:1A7C][2017-12-23T22:20:05]i319: Applied execute package: vs_teamExplorerCore, result: 0x80070643, restart: None
[05AC:1A7C][2017-12-23T22:20:05]e000: Error 0x80070643: Failed to execute MSI package.
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  ExecutePackageBegin PackageId: vs_teamExplorerCore
[18F0:1960][2017-12-23T22:20:05]i318: Skipped rollback of package: vs_teamExplorerCore, action: Uninstall, already: Absent
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Installation size in bytes for package: vs_teamExplorerCore MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Return Code:0x0 Msi Messages:There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.   Result Detail:0 Restart:None
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Reset execution Result
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Reset Result
[05AC:1A7C][2017-12-23T22:20:05]i000: Setting string variable 'BundleResult' to value '1603'
[05AC:1A7C][2017-12-23T22:20:05]i319: Applied rollback package: vs_teamExplorerCore, result: 0x0, restart: None
[18F0:1960][2017-12-23T22:20:05]i351: Removing cached package: vs_teamExplorerCore, from path: C:\ProgramData\Package Cache\{791295AE-3B0A-3222-9E69-26C8C106E8D1}v14.0.23102\
[18F0:1960][2017-12-23T22:20:05]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1a4d4608-a36d-4dc7-accd-206e23253076}, resume: ARP, restart: None, disable resume: No
[18F0:1960][2017-12-23T22:20:05]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1a4d4608-a36d-4dc7-accd-206e23253076}, resume: ARP, restart initiated: No, disable resume: No
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 410365952  MaxSysDrive: 1165197312  AppDrive: 0  SysDrive: 630546432
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 57547517952 bytes  AppDrive D:\ 47390670848 bytes
[05AC:1A7C][2017-12-23T22:20:05]i000: MUX:  Go to Finished page.
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  Watson Bucketting Parameters
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P1 - vs_enterprise
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P2 - 14.0.23107.178
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P3 - 14.0.23107
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P4 - Repair
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P5 - vs_teamExplorerCore
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P6 - Install
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P7 - 0x80070643
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P8 - There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  
[05AC:1A7C][2017-12-23T22:20:06]i000: MUX:  P9 -
[05AC:1A7C][2017-12-23T22:20:06]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
 
 

Second, is there really a problem with the installation package?

After uninstalling VS2015 and re-extracting the new VS2015 ISO file installation, the above problems still occur.


3. Baidu/Google has a lot of information, and there is information that the previous ones have not been uninstalled cleanly. After I use the official program and uninstall it manually, the above problems will still occur.

Among them, there is another solution on Google:


I followed the above steps step by step, but the above problem still occurs.


4. Someone suggested reinstalling the system, but I really don't want to. After reinstalling, my development software has to be reinstalled again, which is too troublesome.


5. After a careful look at the Log, I found that there is a folder about Team Explorer: C:\ProgramData\Package Cache (this is a hidden file). I Baidu and said that I want to modify the suffix of the file name of a certain file, but I couldn't think about it anymore, I emptied the entire folder. Finally solved it perfectly. As shown below:



This problem has been bothering me for three days. Finally found a solution. Write this blog for the record.


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325641850&siteId=291194637