简体   繁体   English

安装Visual Studio 2013:“ Microsoft Nuget软件包失败”

[英]Installing Visual Studio 2013: “Microsoft Nuget package failed”

Trying to install Visual Studio Express 2013 for windows desktop: 尝试为Windows桌面安装Visual Studio Express 2013:

System specs: Windows 7 64bit pro 系统规格:Windows 7 64bit pro

After installing I get this message. 安装后,我收到此消息。 在此处输入图片说明

Restarting does not solve the problem and after that VS will not start. 重新启动不能解决问题,此后,VS将无法启动。

Here is the important part of the log file that I could find: 这是我可以找到的日志文件的重要部分:

[3168:2C1C][2015-02-07T00:08:57]i000: MUX:  ExecutePackageBegin PackageId: nugetwdexpress2013
[314C:315C][2015-02-07T00:08:57]i301: Applying execute package: nugetwdexpress2013, action: Install, path: C:\ProgramData\Package Cache\{D9706C72-EB6E-37CC-8E21-FCDC0F9F93EE}v2.8.50926.663\packages\WPT\NuGetWDExpress2013.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  ExecuteError: Package (nugetwdexpress2013) 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.  
[314C:315C][2015-02-07T00:09:00]e000: Error 0x80070643: Failed to install MSI package.
[314C:315C][2015-02-07T00:09:00]e000: Error 0x80070643: Failed to execute MSI package.
[3168:2C1C][2015-02-07T00:09:00]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Installation size in bytes for package: nugetwdexpress2013 MaxAppDrive: 0  MaxSysDrive: 3280896  AppDrive: 0  SysDrive: 208896
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Return Code:0x80070643 Msi Messages:1722 Result Detail:0 Restart:None
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=1722, Result Detail=, Vital=False, Package Action=Install, Package Id=nugetwdexpress2013
[3168:2C1C][2015-02-07T00:09:00]w350: Applied non-vital package: nugetwdexpress2013, encountered error: 0x80070643. Continuing...
[314C:315C][2015-02-07T00:09:00]i325: Registering dependency: {b8a9dbc1-1fd4-4103-a83b-a2896f193ea0} on package provider: {D9706C72-EB6E-37CC-8E21-FCDC0F9F93EE}, package: nugetwdexpress2013
[314C:315C][2015-02-07T00:09:00]i325: Registering dependency: {b8a9dbc1-1fd4-4103-a83b-a2896f193ea0} on package provider: Microsoft.VS.Help3,v12, package: help3_vs_msi
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  ExecutePackageBegin PackageId: vs_postclean_wdexpress
[314C:315C][2015-02-07T00:09:00]i301: Applying execute package: vs_postclean_wdexpress, action: Install, path: C:\ProgramData\Package Cache\103DCF929ECE0368D6CB25FD0EBC7930508B1614\packages\VS_Clean\VS_PostClean_wdexpress.exe, arguments: '"C:\ProgramData\Package Cache\103DCF929ECE0368D6CB25FD0EBC7930508B1614\packages\VS_Clean\VS_PostClean_wdexpress.exe" /full /install /log C:\Users\0CTODR~1\AppData\Local\Temp\dd_wdexpress_full_20150206233343_042_vs_postclean_wdexpress.log'
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Installation size in bytes for package: vs_postclean_wdexpress MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Return Code:0x0 Msi Messages:0 Result Detail:0 Restart:None
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Reset execution Result
[3168:2C1C][2015-02-07T00:09:00]i000: MUX:  Reset Result
[3168:2C1C][2015-02-07T00:09:00]i319: Applied execute package: vs_postclean_wdexpress, result: 0x0, restart: None

I have tried re-installing .net frame work and re-installing VS multiple times. 我尝试过重新安装.net frame work并重新安装VS多次。 If someone could tell me what to try next that would be great. 如果有人可以告诉我下一步该怎么做,那将很棒。

Answer from http://johnlouros.com/blog/how-to-fix-VS2015-CTP6-NuGet-installation-failure seems to be: 来自http://johnlouros.com/blog/how-to-fix-VS2015-CTP6-NuGet-installation-failure的答案似乎是:

  • download Visual Studio ISO image, 下载Visual Studio ISO映像,
  • extract shipped NuGet cab, 提取运送的NuGet驾驶室,
  • uninstall current NuGet version (the web-auto-installer pulled a latest-but-broken version), 卸载当前的NuGet版本(网络自动安装程序拉出了最新但已损坏的版本),
  • install version extracted from ISO 从ISO提取的安装版本

That said, while writing this, I've tried running Control Panel, Visual studio, modify program, Repair and it now starts so that night work for you too! 就是说,在编写此代码时,我尝试运行控制面板,Visual Studio,修改程序,修复,它现在开始运行,因此晚上也可以为您服务! Hth 高度

So basically I could not figure out what was wrong here and nothing was working. 因此,基本上我无法弄清楚这里出了什么问题,并且没有任何效果。 I think this was an issue with an old harddrive that I replaced. 我认为这是我更换的旧硬盘驱动器的问题。 Even after I cloned the drive I had to reinstall my OS to fix this as well as some other problems 即使在克隆驱动器之后,我也必须重新安装操作系统以解决此问题以及其他一些问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM