none
visual studio 2015 Prerequisites RRS feed

  • 问题

  • 系统为win7旗舰版,64位操作系统。

    之前有安装过vs2013和vs2015,但后来出问题之后,也无法在控制面板中卸载,于是使用第三方工具强制删除了,这是前提。

    现在重新安装vs 2015 with update 3,每次安装到Prerequisites时,就会发生错误。

    网上的方法都尝试过了,但是再次安装时,仍然会出现这个问题。

    错误日志如下:(从第一次出现Error开始)

    [DCD8:DC70][2018-09-17T16:28:20]i000: MUX:  ExecuteError: Package (vsbsln_neu_28) failed: Error Message Id: 2330 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. 
    [D08C:D964][2018-09-17T16:28:21]e000: Error 0x80070643: Failed to install MSI package.
    [D08C:D964][2018-09-17T16:28:21]e000: Error 0x80070643: Failed to execute MSI package.
    [DCD8:DC70][2018-09-17T16:28:21]e000: Error 0x80070643: Failed to configure per-machine MSI package.
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Installation size in bytes for package: vsbsln_neu_28 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Return Code:0x80070643 Msi Messages:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330.  Result Detail:0 Restart:None
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. , Result Detail=, Vital=True, Package Action=Install, Package Id=vsbsln_neu_28
    [DCD8:DC70][2018-09-17T16:28:21]i000: Setting string variable 'BundleResult' to value '1603'
    [DCD8:DC70][2018-09-17T16:28:21]i319: Applied execute package: vsbsln_neu_28, result: 0x80070643, restart: None
    [DCD8:DC70][2018-09-17T16:28:21]e000: Error 0x80070643: Failed to execute MSI package.
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  ExecutePackageBegin PackageId: vsbsln_neu_28
    [D08C:D964][2018-09-17T16:28:21]i318: Skipped rollback of package: vsbsln_neu_28, action: Uninstall, already: Absent
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Installation size in bytes for package: vsbsln_neu_28 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Return Code:0x0 Msi Messages:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330.  Result Detail:0 Restart:None
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Reset execution Result
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Reset Result
    [DCD8:DC70][2018-09-17T16:28:21]i000: Setting string variable 'BundleResult' to value '1603'
    [DCD8:DC70][2018-09-17T16:28:21]i319: Applied rollback package: vsbsln_neu_28, result: 0x0, restart: None
    [D08C:D964][2018-09-17T16:28:21]i351: Removing cached package: vsbsln_neu_28, from path: C:\ProgramData\Package Cache\{DF32E41C-24AD-4A87-B43A-B38553B1806E}v14.0.23107\
    [D08C:D964][2018-09-17T16:28:21]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2263c6b6-1f0f-4c9e-989c-4ade6beba041}, resume: ARP, restart: None, disable resume: No
    [D08C:D964][2018-09-17T16:28:21]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2263c6b6-1f0f-4c9e-989c-4ade6beba041}, resume: ARP, restart initiated: No, disable resume: No
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 0  MaxSysDrive: 688193536  AppDrive: 0  SysDrive: 6643712
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 92384755712 bytes  AppDrive C:\ 92384755712 bytes
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Go to Finished page.
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  Watson Bucketting Parameters
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P1 - vs_professional
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P2 - 14.0.25420.01.00
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P3 - 14.0.25420
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P4 - Install
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P5 - vsbsln_neu_28
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P6 - Install
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P7 - 0x80070643
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P8 - The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. 
    [DCD8:DC70][2018-09-17T16:28:21]i000: MUX:  P9 - 
    [DCD8:DC70][2018-09-17T16:28:21]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

    2018年9月17日 8:40

全部回复

  • 你好,

    >> [DCD8:DC70][2018-09-17T16:28:20]i000: MUX:  ExecuteError: Package (vsbsln_neu_28) failed: Error Message Id: 2330 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2330. 

    根据此错误消息表明,您的安装源可能已损坏。

    我建议你首先进入你VS2015的安装目录下找到Visual Studio.exe 文件(如vs_enterprise.exe)然后打开CMD窗口(在桌面下方搜索框直接输入’CMD’,输入命令Run the .exe file by using the /uninstall /force (如:run: vs_enterprise.exe /uninstall /force),这将删除Visual Studio和默认卸载中遗留的大多数核心组件。 但是,它不会删除Visual Studio加载项和扩展可以安装的所有其他内容。

    然后请你尝试从官网下载重新安装,具体操作步骤如下:

    1. Windows update更新至最新并且关闭你电脑上所有的杀毒软件
    2. 删除在%temp%下的所有内容
    3. 官网下载链接:https://my.visualstudio.com/Downloads?q=2015&pgroup
    4. 使用管理员权限运行安装文件

    在你使用ISO进行安装之前,请下载FCIV.exe(文件完整性验证程序)去验证ISO的完整性,Visual Studio Community 2015 with update 3 ISOSHA1值为BE614B18A2156AED494C5BAFC1CF0F68D976D34B如果不匹配表明安装包不完整。

    如果安装仍然失败,需要你帮忙收集一下详细的安装日志和错误信息,以便我们针对此错误问题进行更系统的分析与解决,你可以使用Microsoft Visual Studio and .NET Framework Log Collection Tool 收集安装日志,在双击运行后,你可以在电脑中的临时文件夹%temp%中找到vslogs.zip文件。请你将此日志文件上传到https://onedrive.live.com/ ,将链接地址贴到你的回复中。

    May


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    2018年9月18日 2:25