本文介绍了选择自定义时,Visual Studio 2015安装问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只尝试安装VS C ++,过了一段时间,安装告诉安装已取消.
安装日志显示
-------------------------------------------------- -------------------------------------------
[076C:1560] [2016-05-31T12:30:53] w353:无法从路径:C:\ ProgramData \ Package Cache \ {DF27D91D-516E-4DA1-92AC-7D7D59B2D99E} v14删除缓存的包:Msi_BuildTools_MSBuild_x86. 0.25123 \,原因:0x80070003.继续...
[076C:1560] [2016-05-31T12:30:53] i351:从路径:C:\ ProgramData \ Package Cache \ 4FBF48D9-BED3-36CE-A441-6A5F2B8F8CFE \
中删除缓存的软件包:vs_preclean_vs[076C:1560] [2016-05-31T12:30:53] i351:从路径:C:\ ProgramData \ Package Cache \ 14D15F84-1FED-38D0-BC88-5A1AEA0CEBB8 \
中删除缓存的软件包:VSSetupUtility_Start_vs_professional[076C:1560] [2016-05-31T12:30:53] i351:从路径:C:\ ProgramData \ Package Cache \ 93852645-F25C-3637-BE73-927F7758F067 \
中删除缓存的软件包:Preparation_Uninstall_vs_professional[076C:0A5C] [2016-05-31T12:30:54] i372:会话结束,注册密钥:SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ {fff81b2c-ab2d-44ff-a04a-a516a29e3e81},恢复:ARP,重新启动:无,禁用恢复:否
[076C:0A5C] [2016-05-31T12:30:54] i371:更新会话,注册密钥:SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall \ {fff81b2c-ab2d-44ff-a04a-a516a29e3e81},恢复:ARP,重新启动已启动:否,禁用恢复:否
[18B4:1630] [2016-05-31T12:30:54] i000:MUX:应用完成:用于安装的磁盘空间(以字节为单位): MaxAppDrive:0  MaxSysDrive:330819829760  AppDrive:0  SysDrive:0
[18B4:1630] [2016-05-31T12:30:54] i000:MUX:安装后的可用磁盘空间: SystemDrive C:\ 330879750144字节AppDrive C:\ 330879750144字节
[18B4:1630] [2016-05-31T12:30:54] i000:MUX:转到完成页面.
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: Watson Bucketting参数
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P1-vs_professional
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P2-14.0.25123.00.00
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P3-14.0.25123
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P4-安装
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P5-Msi_BuildTools_MSBuild_x86
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P6-安装
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P7-0x80070643
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P8-写入文件时出错:Microsoft.Build.Conversion.Core.dll.确认您有权访问该目录.
[18B4:1630] [2016-05-31T12:30:57] i000:MUX: P9-
[18B4:1630] [2016-05-31T12:30:57] i399:应用完成,结果:0x80070643,重启:无,ba请求重启:没有
-------------------------------------------------- -------------------------------------------

我不确定这是否是错误.我尝试调用安装程序以管理员身份运行"
但同样的问题.

请有人可以帮助我进行VS C ++和cl.exe的全新安装,以便
我可以编译程序了.


问候
\ Sudip

I am trying to install VS C++ only and after some time the installation is telling installation cancelled.
The instalation log shows
---------------------------------------------------------------------------------------------
[076C:1560][2016-05-31T12:30:53]w353: Unable to remove cached package: Msi_BuildTools_MSBuild_x86, from path: C:\ProgramData\Package Cache\{DF27D91D-516E-4DA1-92AC-7D7D59B2D99E}v14.0.25123\, reason: 0x80070003. Continuing...
[076C:1560][2016-05-31T12:30:53]i351: Removing cached package: vs_preclean_vs, from path: C:\ProgramData\Package Cache\4FBF48D9-BED3-36CE-A441-6A5F2B8F8CFE\
[076C:1560][2016-05-31T12:30:53]i351: Removing cached package: VSSetupUtility_Start_vs_professional, from path: C:\ProgramData\Package Cache\14D15F84-1FED-38D0-BC88-5A1AEA0CEBB8\
[076C:1560][2016-05-31T12:30:53]i351: Removing cached package: Preparation_Uninstall_vs_professional, from path: C:\ProgramData\Package Cache\93852645-F25C-3637-BE73-927F7758F067\
[076C:0A5C][2016-05-31T12:30:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fff81b2c-ab2d-44ff-a04a-a516a29e3e81}, resume: ARP, restart: None, disable resume: No
[076C:0A5C][2016-05-31T12:30:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{fff81b2c-ab2d-44ff-a04a-a516a29e3e81}, resume: ARP, restart initiated: No, disable resume: No
[18B4:1630][2016-05-31T12:30:54]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 0  MaxSysDrive: 330819829760  AppDrive: 0  SysDrive: 0
[18B4:1630][2016-05-31T12:30:54]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 330879750144 bytes  AppDrive C:\ 330879750144 bytes
[18B4:1630][2016-05-31T12:30:54]i000: MUX:  Go to Finished page.
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  Watson Bucketting Parameters
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P1 - vs_professional
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P2 - 14.0.25123.00.00
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P3 - 14.0.25123
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P4 - Install
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P5 - Msi_BuildTools_MSBuild_x86
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P6 - Install
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P7 - 0x80070643
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P8 - Error writing to file: Microsoft.Build.Conversion.Core.dll.  Verify that you have access to that directory.
[18B4:1630][2016-05-31T12:30:57]i000: MUX:  P9 -
[18B4:1630][2016-05-31T12:30:57]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
---------------------------------------------------------------------------------------------

I am not sure if this is the error. I have tried invoking the installer 'run as administrator'
but same issue.

Please can someone help me to have a clean installation of VS C++ and cl.exe so that
I can compile my programs.


Regards
\Sudip

推荐答案

欢迎来到MSDN论坛.

从您的日志文件中,我发现了以下错误消息:

>>写入文件时出错:Microsoft.Build.Conversion.Core.dll.确认您有权访问 目录.

>> Error writing to file: Microsoft.Build.Conversion.Core.dll.  Verify that you have access to that directory.

请确保您以管理员身份运行VS安装程序,如果是这样,请使用SubInACL工具: https://www.microsoft.com/zh-CN/download/details.aspx?id=23510 启用 管理员具有足够的权限,然后重新运行安装程序.

Please make sure you run the VS installer as administrator and if so, please use the SubInACL tool:https://www.microsoft.com/en-us/download/details.aspx?id=23510to enableadministrator have enough permission, then re-run the installer.

您是如何安装VS Professional 2015的?我建议您使用健康的ISO文件对其进行修复.

How did you install VS professional 2015? I recommend you use a healthy ISO file of it to repair it.

要验证ISO文件的完整性,请使用FCIV.exe工具: to 检查ISO的SHA1值.

To verify the integrity of the ISO file, please use the FCIV.exe tool:http://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspxto check the SHA1 value of the ISO.

期望值来自这里: https://www.visualstudio.com/zh-CN/downloads/visual-studio-2015-iso-sha1-vs.aspx , 任何差异都表示ISO已损坏.

The expected value comes from here:https://www.visualstudio.com/en-us/downloads/visual-studio-2015-iso-sha1-vs.aspx, any discrepancy means the ISO is corrupted.

同时,请确保您已遵循以下安装提示:

1. Windows更新已经是最新的

2.禁用任何防病毒软件

3.清理%temp%文件夹

4.以管理员身份运行安装程序

如果此问题仍然存在,我需要您的帮助来收集VS安装日志.请用 http://aka.ms/vscollect 收集安装日志.使用它之后,您将在%temp%文件夹下找到vslogs.zip.请将文件上传到 https://onedrive.live.com/ ,并在此处共享链接.

If this issue still persists, I need your help to collect the VS installation log. Please usehttp://aka.ms/vscollectto gather the installation logs. After using it, you will find vslogs.zip under %temp% folder. Please upload the file tohttps://onedrive.live.com/and share the link here.

最诚挚的问候,

萨拉


这篇关于选择自定义时,Visual Studio 2015安装问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 23:49