安装Visual Studio错误

安装Visual Studio错误

问题描述:

我尝试安装多个版本(2013-2015)(Pro-Ent-Commu),但我收到有关Visual Studio Core的相同错误.

I tried to install many versions (2013 - 2015) (Pro - Ent - Commu) and I get the same error about Visual Studio Core.

我试图从功能中关闭.Net framework 3.5并得到相同的错误,然后卸载所有Windows Update并出现相同的错误.

I tried to close .Net framework 3.5 from features and get the same error , and uninstall all windows update and also same error.

我正在使用从Windows 7升级的Windows 10.

I'm using windows 10 upgraded from windows 7.

这是日志文件的一部分:

Here is part of the log file:

[0188:180C][2015-08-23T18:38:41]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:41]i304: Verified existing payload: cab9F864E87B88C006DCEFD23E900C4D9F8 at path: C:\ProgramData\Package Cache\{7515082B-0B97-331C-9725-9D42EF0DE501}v11.0.50727\packages\MobileTools\WPImages\cab2r.cab.
[0188:180C][2015-08-23T18:38:41]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:41]i304: Verified existing payload: cabFD766D66DC4CB22B936F9E3BDC989F10 at path: C:\ProgramData\Package Cache\{7515082B-0B97-331C-9725-9D42EF0DE501}v11.0.50727\packages\MobileTools\WPImages\cab3.cab.
[0188:180C][2015-08-23T18:38:41]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:41]i304: Verified existing payload: AdsSDK10_MSAdvertisingServiceExtension at path: C:\ProgramData\Package Cache\{EBD9DB6D-180B-4C59-9622-B75CC4B32C94}v12.0.40402.0\packages\AdsSDK10\MSAdvertisingServiceExtension.msi.
[0188:180C][2015-08-23T18:38:41]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: AdsSDK10_Win8_1AdSDK at path: C:\ProgramData\Package Cache\{6AB13C21-C3EC-46E1-8009-6FD5EBEE515B}v8.1.30809.0\packages\AdsSDK10\Win8_1AdSDK.msi.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: vs_postclean_vs at path: C:\ProgramData\Package Cache\5EBD4A76AB077A27C1F2F01E1FEB8E33EA2723DB\packages\VS_Clean\VS_PostClean_vs.exe.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: vsupdate_kb2829760 at path: C:\ProgramData\Package Cache\5EA4ABC727AF938B11D5FB7485468AB1AAD0797F\packages\vsupdate_kb2829760\vsupdate_kb2829760.exe.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: MobileTools_XDEConfig at path: C:\ProgramData\Package Cache\{61779718-6166-3C14-97F2-01FEBB4977FF}v11.0.60830\packages\MobileTools\xdeconfigurator\XDEConfig.msi.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: MobileTools_Finalizer at path: C:\ProgramData\Package Cache\{D97D5D81-3F01-3AE9-BDA8-3DC4E8814A87}v11.0.60610\packages\MobileTools\Finalizer\WPToolsFinalizer.msi.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[1B58:216C][2015-08-23T18:38:42]i304: Verified existing payload: community_finalizer at path: C:\ProgramData\Package Cache\{8F6DB54B-8CB9-4928-896D-312BFE833131}v12.0.31101\packages\community_finalizer.msi.
[0188:180C][2015-08-23T18:38:42]i000: MUX:  Source confirmed
[0188:1808][2015-08-23T18:39:42]i000: MUX:  ExecuteError: Package (vs_professionalcore) failed: Error Message Id: 1712 ErrorMessage: Error 1712.One or more of the files required to restore your computer to its previous state could not be found.  Restoration will not be possible.
[1B58:2100][2015-08-23T18:39:47]e000: Error 0x80070643: Failed to install MSI package.
[1B58:2100][2015-08-23T18:39:47]e000: Error 0x80070643: Failed to execute MSI package.
[0188:1808][2015-08-23T18:39:47]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Installation size in bytes for package: vs_professionalcore MaxAppDrive: 0  MaxSysDrive: 1799740517  AppDrive: 0  SysDrive: 286124757
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Return Code:0x80070643 Msi Messages:-2147483648 Result Detail:0 Restart:None
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=-2147483648, Result Detail=, Vital=True, Package Action=Install, Package Id=vs_professionalcore
[0188:1808][2015-08-23T18:39:47]i319: Applied execute package: vs_professionalcore, result: 0x80070643, restart: None
[0188:1808][2015-08-23T18:39:47]e000: Error 0x80070643: Failed to execute MSI package.
[0188:1808][2015-08-23T18:39:47]i000: MUX:  ExecutePackageBegin PackageId: vs_professionalcore
[1B58:2100][2015-08-23T18:39:47]i318: Skipped rollback of package: vs_professionalcore, action: Uninstall, already: Absent
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Installation size in bytes for package: vs_professionalcore MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Return Code:0x0 Msi Messages:-2147483648 Result Detail:0 Restart:None
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Reset execution Result
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Reset Result
[0188:1808][2015-08-23T18:39:47]i319: Applied rollback package: vs_professionalcore, result: 0x0, restart: None
[1B58:2100][2015-08-23T18:39:47]i351: Removing cached package: vs_professionalcore, from path: C:\ProgramData\Package Cache\{9C593464-7F2F-37B3-89F8-7E894E3B09EA}v12.0.21005\
[1B58:2100][2015-08-23T18:39:47]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{96a8b90c-0a91-4e76-ab34-730c23923d11}, resume: ARP, restart: None, disable resume: No
[1B58:2100][2015-08-23T18:39:47]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{96a8b90c-0a91-4e76-ab34-730c23923d11}, resume: ARP, restart initiated: No, disable resume: No
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 0  MaxSysDrive: 1969618944  AppDrive: 0  SysDrive: 274051072
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 41951797248 bytes  AppDrive C:\ 41951797248 bytes
[0188:1808][2015-08-23T18:39:47]i000: MUX:  Go to Finished page.
[0188:1808][2015-08-23T18:39:47]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

您好Tarek1500,

Hi Tarek1500,

感谢您在MSDN论坛中发帖.

Thank you for posting in MSDN forum.

安装Visual Studio要求Windows更新为最新版本.因此,请首先转到Windows更新以检查是否存在该更新,如果存在,请先安装该更新.

Installing Visual Studio requires your windows updated to the latest. So please first go to Windows update to check whether there is the update, if there is, please first install the update.

此外,为确保您的.net框架正确无误,我们需要使用以下方法验证计算机上的.NET Framework: .NET Framework安装验证工具,通过运行它,它将显示下拉列表中计算机上的所有.NET框架,请进行验证.

Besides, to make sure whether your .net frameworks are correct, we need to verify the .NET Frameworks on your machine by using .NET Framework Setup Verification Tool, by running it, it will show all the .NET frameworks on your machine in the dropdown list, please verify them.

您将在%TEMP%文件夹中找到日志文件,请检查前15行和后15行,如果退出代码!= 0,则表示.NET安装不正确.

You will find the log file at %TEMP% folder, please check the first 15 lines and the last 15 lines, if the exit code != 0, it means that the .NET is installed incorrectly.

请使用 .NET Framework修复工具对其进行修复.

Please use .NET Framework Repair Tool to repair it.

此外,错误代码"0x80070643"表示安装过程中出现致命错误",这是一个常规错误,在大多数情况下,这意味着您的软件包已损坏.

Besides, the error code "0x80070643", it means "Fatal error during installation", this is a general error and most of the time, it means that your package was corrupted.

请参阅: https://support.microsoft.com/zh-cn/kb/2899270#bookmark-iso 0x80070643表示安装缓存或ISO已损坏,它适用于Visual Studio 2013,而在Visual Studio 2015中,此错误代码表示该软件包在大多数情况下都已损坏.

Refer to: https://support.microsoft.com/en-us/kb/2899270#bookmark-iso 0x80070643 means installation cache or ISO is corrupted, it is for visual studio 2013, and in visual studio 2015, this error code means the package is corrupted most of the time.

要确保该软件包是否良好,请使用FCIV.exe http://support.microsoft.com/kb/841290 来验证ISO的哈希值.任何差异都表明该文件已损坏.这里有一个

To make sure whether the package is well, Please use FCIV.exe http://support.microsoft.com/kb/841290 to verify hash of the ISO. Any discrepancy would indicate that the file was corrupted. Here is a blog for how to use it, you can refer to it.

Visual Studio 2015的sha1值,请参考: https://www.visualstudio.com/zh-CN/downloads/visual-studio-2015-iso-sha1-vs.aspx

The sha1 value of visual studio 2015, please refer to: https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx

Visual Studio 2013的sha1值,请参考: https://www.visualstudio.com/zh-CN/downloads/visual-studio-2013-iso-sha1-vs.aspx

The sha1 value of visual studio 2013, please refer to: https://www.visualstudio.com/en-us/downloads/visual-studio-2013-iso-sha1-vs.aspx

如果SHA-1值不正确,则表明您的软件包已损坏,请重新下载并重新安装.

If the SHA-1 value is incorrect, it means that your package is corrupted, please re-download and reinstall it.

如果SHA-1值正确,则可能需要安装日志文件,您可以使用 http://aka.ms/vscollect 来收集安装日志.使用它之后,您将在%temp%文件夹中找到vslogs.cab.请将文件上传到 https://skydrive.live.com/并共享 链接在这里.

If the SHA-1 value is correct, I may need your installation log files, you can use  http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.cab from %temp% folder. Please upload the file to https://skydrive.live.com/ and share the link here.

最好的问候