无法安装Visual Studio 2015 Update 2

时间:2016-04-19 10:14:24

标签: visual-studio visual-studio-2015 failed-installation

如果我在错误的地方问这个问题,我很抱歉,但由于这是关于编码IDE的,我不知道还能去哪里。

我无法在我的新鲜 Windows 10 Pro安装(仅安装Office 2013)和新鲜 Visual Studio 2015社区版上安装Visual Studio 2015 Update 2.

错误如下:

Visual Studio 2015 Update 2 Fails to install

一旦发生此错误,Visual Studio将无法运行。

我可以考虑跳过此更新,但我需要安装Mobile Programming Packs(Xamarin),他们需要先安装Visual Studio 2015 Update 2.

我在网上搜索了错误代码“0x80070490”,但没有任何与Visual Studio相关的内容。

由于整个日志文件太大而不适合这里,因此这些行包含“错误”短语:

[1890:12D0][2016-04-19T12:56:04]i325: Registering dependency: {4f075c79-8ee3-4c85-9408-828736d1f7f3} on package provider: Microsoft.VS.sdk_tools35,v11, package: sdk_tools35
[1890:12D0][2016-04-19T12:56:04]i325: Registering dependency: {4f075c79-8ee3-4c85-9408-828736d1f7f3} on package provider: Microsoft.VS.CodeAnalysis_x86_enu,v14, package: RoslynLanguageServices
[1890:12D0][2016-04-19T12:56:04]i323: Registering package dependency provider: {6C1985E7-E1C5-3A95-86EF-2C62465F15C3}, version: 14.0.23107, package: RoslynLanguageServicesResMsi
[1890:12D0][2016-04-19T12:56:04]i325: Registering dependency: {4f075c79-8ee3-4c85-9408-828736d1f7f3} on package provider: {6C1985E7-E1C5-3A95-86EF-2C62465F15C3}, package: RoslynLanguageServicesResMsi
[1890:1C78][2016-04-19T12:56:04]i304: Verified existing payload: VSSecondaryInstaller_box at path: C:\ProgramData\Package Cache\1DC8404EE32E731EC1B170A992B7208CE63094E7\packages\SecondaryInstaller\SecondaryInstaller.exe.
[1538:0C6C][2016-04-19T12:56:04]i000: MUX:  Source confirmed
[1538:039C][2016-04-19T12:56:04]i000: MUX:  ExecutePackageBegin for secondary installer
[1538:039C][2016-04-19T12:56:04]i000: MUX:  Checking to see if the secondary installer pipe should be created
[1538:039C][2016-04-19T12:56:04]i000: MUX:  Creating secondary installer pipe: {2b9a38d8-87f0-4279-b481-8ac30b840d80}
[1538:039C][2016-04-19T12:56:04]i000: MUX:  ExecutePackageBegin PackageId: VSSecondaryInstaller_box
[1538:0B24][2016-04-19T12:56:04]i000: MUX:  Begin connecting secondary installer pipe
[1890:12D0][2016-04-19T12:56:04]i301: Applying execute package: VSSecondaryInstaller_box, action: Install, path: C:\ProgramData\Package Cache\1DC8404EE32E731EC1B170A992B7208CE63094E7\packages\SecondaryInstaller\SecondaryInstaller.exe, arguments: '"C:\ProgramData\Package Cache\1DC8404EE32E731EC1B170A992B7208CE63094E7\packages\SecondaryInstaller\SecondaryInstaller.exe" /q /BurnBundleProviderKey {4f075c79-8ee3-4c85-9408-828736d1f7f3} /lcid 1033 /BaseDirectory "J:\\" /localfeed "C:\Users\Roni\AppData\Local\Temp\98110090.xml" /FeedRegistryKey "Software\Microsoft\VisualStudio\14.0\Setup\vs\community" /primarylog "C:\Users\Roni\AppData\Local\Temp\dd_vs_community_20160419125540.log" /skuSpecificHKLMHive Software\Microsoft\VisualStudio\14.0 /launchaction Modify  /installitems VSU_14.0.25123;AppInsightsToolsVisualStudio_HiddenVSU2RTMV1_5.2.60322.1;JavaScriptLanguageService_Hidden_14.0.25205;JavaScriptProjectSystem_Hidden_14.0.25205 /potentialcachecleanup ++VSU_14.0.25123++VSU_14.0.25115++VSU_14.0.25029++VSU_14.0.25008++VSU_14.0.24912++VSU_14.0.24720++VSU_14.0.24627;++AppInsightsToolsVisualStudio_HiddenVSU2RTMV1_5.2.60322.1++AppInsightsToolsRTMCheck_HiddenV1++AppInsightsToolsVisualStudio_HiddenV1++AppInsightsToolsVisualStudio_HiddenV2_4.0.51117.1++AppInsightsToolsVisualStudio_HiddenV3_4.0.51203.1++AppInsightsToolsVisualStudio_HiddenV4_4.1.60107.3++AppInsightsToolsVisualStudio_HiddenV5_4.2.60128.3++AppInsightsToolsVisualStudio_HiddenV6_4.3.60222.2++AppInsightsToolsVisualStudio_HiddenVSU2CTPV1_5.0.60115.1++AppInsightsToolsVisualStudio_HiddenVSU2RCV1_5.1.60222.1;++JavaScriptLanguageService_Hidden_14.0.25205++JavaScriptProjectSystem_HiddenRTM++JavaScriptLanguageService_HiddenRTM++JavaScriptProjectSystem_HiddenV2++JavaScriptLanguageService_HiddenV2++JavaScriptProjectSystem_HiddenV3++JavaScriptLanguageService_HiddenV3++JavaScriptProjectSystem_HiddenV4++JavaScriptLanguageService_HiddenV4++JavaScriptProjectSystem_Hidden_14.0.25008++JavaScriptLanguageService_Hidden_14.0.25008++JavaScriptProjectSystem_Hidden_14.0.25029++JavaScriptLanguageService_Hidden_14.0.25029++JavaScriptProjectSystem_Hidden_14.0.25115++JavaScriptLanguageService_Hidden_14.0.25115++JavaScriptProjectSystem_Hidden_14.0.25123A++JavaScriptLanguageService_Hidden_14.0.25123A;++JavaScriptProjectSystem_Hidden_14.0.25205++JavaScriptProjectSystem_HiddenRTM++JavaScriptLanguageService_HiddenRTM++JavaScriptProjectSystem_HiddenV2++JavaScriptLanguageService_HiddenV2++JavaScriptProjectSystem_HiddenV3++JavaScriptLanguageService_HiddenV3++JavaScriptProjectSystem_HiddenV4++JavaScriptLanguageService_HiddenV4++JavaScriptProjectSystem_Hidden_14.0.25008++JavaScriptLanguageService_Hidden_14.0.25008++JavaScriptProjectSystem_Hidden_14.0.25029++JavaScriptLanguageService_Hidden_14.0.25029++JavaScriptProjectSystem_Hidden_14.0.25115++JavaScriptLanguageService_Hidden_14.0.25115++JavaScriptProjectSystem_Hidden_14.0.25123A++JavaScriptLanguageService_Hidden_14.0.25123A /Pipe {2b9a38d8-87f0-4279-b481-8ac30b840d80} {77527ce8-5c43-4712-b947-859343f965c5} -burn.ancestors={4f075c79-8ee3-4c85-9408-828736d1f7f3}'
[1890:1C78][2016-04-19T12:56:04]i304: Verified existing payload: vs_postclean_vs at path: C:\ProgramData\Package Cache\9735CABA-17F0-3C02-B41B-5A770280AD63\packages\VS_Clean\VS_PostClean_vs.exe.
[1538:0C6C][2016-04-19T12:56:04]i000: MUX:  Source confirmed
[1890:1C78][2016-04-19T12:56:04]i304: Verified existing payload: community_finalizer at path: C:\ProgramData\Package Cache\{9E99CC49-D305-4D42-AC34-6C732062B142}v14.0.23107\packages\community_finalizer.msi.
[1538:0C6C][2016-04-19T12:56:04]i000: MUX:  Source confirmed
[1890:1C78][2016-04-19T12:56:04]i304: Verified existing payload: ModernBlend_finalizer at path: C:\ProgramData\Package Cache\{93A31A4A-197C-43F0-9687-7FFC47C33D44}v14.0.23107\packages\ModernBlend_finalizer.msi.
[1538:0C6C][2016-04-19T12:56:04]i000: MUX:  Source confirmed
[1890:1C78][2016-04-19T12:56:04]i304: Verified existing payload: VSGraphics_VSGA_finalizer_msi at path: C:\ProgramData\Package Cache\{919C67A9-2DE8-4929-A910-CB85E009B5CB}v14.0.23107\packages\VSGraphics_VSGA_finalizer.msi.
[1538:0C6C][2016-04-19T12:56:04]i000: MUX:  Source confirmed
[1538:0B24][2016-04-19T12:56:05]i000: MUX:  Finished connecting secondary installer pipe
[1538:18B0][2016-04-19T12:56:22]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=
[1538:18B0][2016-04-19T12:56:29]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=Microsoft Visual Studio Preparation
[1538:18B0][2016-04-19T12:56:30]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=Visual Studio Update Prerequisite
[1538:18B0][2016-04-19T12:56:44]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=KB3022398
[1538:18B0][2016-04-19T12:57:44]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=KB3022398LP
[1538:18B0][2016-04-19T12:57:52]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=KB3022398
[1538:18B0][2016-04-19T12:58:46]i000: MUX:  Updating secondary installer progress display name: Outer=Visual Studio 2015 Update 2, Inner=
[1538:18B0][2016-04-19T12:58:46]i000: MUX:  Updating secondary installer progress display name: Outer=Developer Analytics Tools v5.2.0, Inner=
[1538:18B0][2016-04-19T12:58:52]i000: MUX:  Updating secondary installer progress display name: Outer=JavaScript Language Service for Visual Studio, Inner=
[1538:18B0][2016-04-19T12:59:09]i000: MUX:  Updating secondary installer progress display name: Outer=JavaScript Project System for Visual Studio, Inner=
[1890:12D0][2016-04-19T13:00:02]e000: Error 0x80048646: Process returned error: 0x80048646
[1890:12D0][2016-04-19T13:00:02]e000: Error 0x80048646: Failed to execute EXE package.
[1538:039C][2016-04-19T13:00:02]e000: Error 0x80048646: Failed to configure per-machine EXE package.
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Installation size in bytes for package: VSSecondaryInstaller_box MaxAppDrive: 0  MaxSysDrive: 988090456  AppDrive: 0  SysDrive: 461045848
[1538:039C][2016-04-19T13:00:02]i000: MUX:  ExecutePackageComplete for secondary installer
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Disconnecting secondary installer pipe
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Return Code:0x80048646 Msi Messages:0 Result Detail:0 Restart:None
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Set Result: Return Code=-2147187130 (0x80048646), Error Message=, Result Detail=, Vital=False, Package Action=Install, Package Id=VSSecondaryInstaller_box
[1538:039C][2016-04-19T13:00:02]i000: Setting string variable 'BundleResult' to value '0'
[1538:039C][2016-04-19T13:00:02]w350: Applied non-vital package: VSSecondaryInstaller_box, encountered error: 0x80048646. Continuing...
[1538:039C][2016-04-19T13:00:02]i000: MUX:  ExecutePackageBegin PackageId: vs_postclean_vs
[1890:12D0][2016-04-19T13:00:02]i301: Applying execute package: vs_postclean_vs, action: Repair, path: C:\ProgramData\Package Cache\9735CABA-17F0-3C02-B41B-5A770280AD63\packages\VS_Clean\VS_PostClean_vs.exe, arguments: '"C:\ProgramData\Package Cache\9735CABA-17F0-3C02-B41B-5A770280AD63\packages\VS_Clean\VS_PostClean_vs.exe" /community /repair /log C:\Users\Roni\AppData\Local\Temp\dd_vs_community_20160419125540_017_vs_postclean_vs.log'
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Installation size in bytes for package: vs_postclean_vs MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Return Code:0x0 Msi Messages:0 Result Detail:0 Restart:None
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Reset execution Result
[1538:039C][2016-04-19T13:00:02]i000: MUX:  Reset Result
[1538:039C][2016-04-19T13:00:02]i000: Setting string variable 'BundleResult' to value '0'
[1538:039C][2016-04-19T13:00:02]i319: Applied execute package: vs_postclean_vs, result: 0x0, restart: None
[1538:039C][2016-04-19T13:00:02]i000: MUX:  ExecutePackageBegin PackageId: community_finalizer
[1890:12D0][2016-04-19T13:00:02]i301: Applying execute package: community_finalizer, action: Repair, path: C:\ProgramData\Package Cache\{9E99CC49-D305-4D42-AC34-6C732062B142}v14.0.23107\packages\community_finalizer.msi, arguments: ' MSIFASTINSTALL="7" VSEXTUI="1" SKIP_APPID_SETUP=""'
[1538:039C][2016-04-19T13:00:17]i000: MUX:  Installation size in bytes for package: community_finalizer MaxAppDrive: 0  MaxSysDrive: 1503232  AppDrive: 0  SysDrive: 0
[1538:039C][2016-04-19T13:00:17]i000: MUX:  Return Code:0x0 Msi Messages:0 Result Detail:RollbackCleanup Restart:None
[1538:039C][2016-04-19T13:00:17]i000: MUX:  Reset execution Result
[1538:039C][2016-04-19T13:00:17]i000: MUX:  Reset Result

1 个答案:

答案 0 :(得分:0)

尝试将VS2015 CE Update 2升级到Update 3时,我还遇到错误“丢失或损坏的软件包KB3022398”
我试图完全卸载VS2015社区版,并从以下内容中删除,但它仍然无效:

  • C:\ Users \< Windows登录/用户名> \ AppData \ Local \ Temp
  • C:\ ProgramData \ Package Cache(虽然我不太推荐这个;从控制面板卸载VS2015的各种功能时会使用这些包)
  • C:\ Users \< Windows登录/用户名> \ AppData \漫游\ Microsoft \ VisualStudio
  • 文件夹 VisualStudio VisualStudio服务 VSCommon VsGraphics 来自 C:\ Users \&lt ; Windows登录/用户名> \ AppData \ Local \ Microsoft
  • C:\ Users \< Windows登录/用户名> \ Documents \ Visual Studio 2015 (我没试过这个,但我不认为这是罪魁祸首,因为它与你的主题和项目有关)

我试过的其他不起作用的事情:

  • 使用Web Installer for Visual Studio Community 2015 with Update 3 – Free(vs_community.exe)
  • 使用ISO for Visual Studio Community 2015 with Update 3 – Free
    我还验证了下载ISO的完整性并且没问题(你必须下载Microsoft File Checksum Integrity Verifier并检查你的ISO的SHA-1,看看它是否与 [1] 中描述的相对应
  • 使用vs_community.exe / Layout(来自Web Installer,也来自已安装的ISO)
    更多细节见 [2] [3]
    e.g。

    vs_community.exe /PromptRestart /CustomInstallPath "<visual studio installation directory" /L <path for log file> /InstallSelectableItems VSU;VS_SDK_Breadcrumb_GroupV5;NativeLanguageSupport_VCV1;NativeLanguageSupport_MFCV1;NativeLanguageSupport_XPV1;PythonToolsForVisualStudio;WebToolsV1;PowerShellToolsV1;GitHubVSV1;OfficeDeveloperToolsV1`
    
  • 安装VS2015 CE Update 2时应用Update 3

对我有用的是什么:

  • 开始 - &gt;输入“设置” - &gt;更新&amp;安全 - &gt;恢复 - &gt;重置此PC(删除应用程序和所有内容)

我的猜测是它与安装驱动器中的Registry +剩余部分有关。

你可以尝试:

  • 开始 - &gt;输入“设置” - &gt;更新&amp;安全 - &gt;恢复 - &gt;重置此PC(删除应用程序和所有内容)
  • 我建议使用RevoUninstaller,因为它还可以帮助您删除注册表中的剩余物(您也可以使用其他应用程序,这只是一个建议)。
    这将是“重置这台PC”的替代方案(我还不确定它是否会起作用) 这个想法是它在同一台计算机上运行全新安装的Windows 10 Pro(之前没有安装Visual Studio 2015 CE)。
  • 使用vs_community.exe /卸载/强制卸载( [4] 更多详细信息)
  • 使用Microsoft Visual Studio Community 2015 Web Installer ISO 进行安装,然后使用Web Installer of Visual Studio 2015 Update 3ISO of Visual Studio 2015 Update 3
  • 进行申请
  • 您还可以查看Autoruns for Windows v13.62,看看是否有与Visual Studio相关的内容。如果是,请尝试使用regedit删除这些密钥

[1] Visual Studio 2015 ISO Files SHA-1 Hashes
[2] Automated Installation Options for Visual Studio 2015
[3] How to fix stuck Visual Studio Community installation problem
[4] Removing Visual Studio components left behind after an uninstall