本文介绍了Visual Studio 2017社区版 - 离线安装,成功丢失了很多vsix文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 方法我创建了离线安装。\ _vs_Community。 exe --layout E:\vs2017 \vs2017offline --lang en-US --add Microsoft.VisualStudio.Workload.Universal Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NetWeb Microsoft.VisualStudio.Workload.Node Microsoft .VisualStudio.Workload.VisualStudioExtension Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Component.DependencyValidation.Community Microsoft.VisualStudio.Component.TestTools.Core 首次尝试安装失败,因为AVG必须禁用。并清除一切。重新开始。 1。 %ProgramData%\ Mycoftoft \ Visual Studio并删除Packages文件夹./ 2. C:\Program Files(x86)\ Mysoftoft Visual Studio文件夹并删除2017文件夹仍然失败。有些文件丢失了。检查离线安装文件夹后,发现它是因为"文件名太长"并且没有下载文件。 所以,这次我在运行离线安装时连接了互联网。仍然失败了。所以,我尝试了一个不同的解决方案,将所有离线安装放入iso映像并安装它。并在连接互联网的情况下运行安装。我仍然疯狂,安装只是停在一点,忙着下载同一个文件几个小时。所以,我只是结束任务,重新开始。下一次尝试是从没有连接互联网的图像运行安装。检查错误日志后,错误成功。 此处错误日志 产品未能安装列出的工作负载和一个或多个包失败导致的组件。 不完整的工作负载 .NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,版本= 15.0.26208.0) ASP.NET和Web开发(Microsoft.VisualStudio.Workload。 NetWeb,版本= 15.0.26208.0)使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0) Node.js开发(Microsoft.VisualStudio.Workload.Node,version = 15.0.26208.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal,版本= 15.0.26208.0) Visual Studio扩展开发(Microsoft.VisualStudio.Workload.VisualStudioExtension,version = 15.0.26208.0) 不完整的组件 C ++分析工具(Microsoft.VisualStudio.Component.VC.DiagnosticTools,version = 15.0.26208.0) Cloud Explorer(Microsoft.VisualStudio.Component.CloudExplorer,version = 15.0.26208.0)容器开发工具(Microsoft.VisualStudio.Component.DockerTools,version = 15.0.26208.0 ) Entity Framework 6工具(Microsoft.VisualStudio.Component.EntityFramework,version = 15.0.26208.0) Git for Windows(Microsoft.VisualStudio.Component.Git,version = 15.0.26208.0) DirectX的图形调试器和GPU分析器(Microsoft.VisualStudio.Component.Graphics.Tools,版本= 15.0.26208.0) VC ++ 2017 v141工具集(x86,x64)(Microsoft.VisualStudio.Component.VC.Tools.x86。 x64,version = 15.0.26208.0) Visual C ++ ATL支持(Microsoft.VisualStudio.Component.VC.ATL,版本= 15.0.26208.0) CMake的Visual C ++工具(Microsoft.VisualStudio.Component.VC .CMake.Project,version = 15.0.26208.0) Windows Communication Foundation(Microsoft.VisualStudio.Component.Wcf.Tooling,version = 15.0.26208.0) 您可以使用以下方法搜索解决方案以下信息,修改您对上述工作负载和组件的选择,然后重试安装,或从您的计算机中删除该产品。 以下是导致上述不完整工作负载和组件的单个程序包故障的集合。要搜索这些特定问题的现有报告,请将每个包失败的URL复制并粘贴到Web浏览器中。如果已经报告了该问题,您可以在那里找到解决方案或解决方法。如果尚未报告此问题,您可以创建一个新问题,其他人将能够找到解决方案或解决方法。 软件包'Microsoft.VisualStudio.Graphics.Appid.Resources,version = 15.0.26208.0,language = en-US'无法从'https://download.microsoft.com/download/B下载/B/5/BB57BEFF-4649-44C5-A1A7-DC10663645E8/microsoft.visualstudio.graphics.appid.resources.vsix"。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Graphics.Appid.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量桌面开发with C ++(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal,version = 15.0.26208.0)受影响的组件 C ++分析工具(Microsoft.VisualStudio.Component.VC.DiagnosticTools,version = 15.0.26208.0) DirectX的图形调试器和GPU分析器(Microsoft.VisualStudio.Component.Graphics.Tools,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.Graphics.Appid,version = 15.0.26228.0'无法从'https://download.microsoft.com/download/C/5/0/C50F3C87-CC70-4F37-992C-78083539FC8F/microsoft.visualstudio.graphics.appid.vsix'。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Graphics.Appid;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作负载使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0)通用Windows平台开发(Microsoft.VisualStudio.Workload.Universal,version = 15.0.26208.0)受影响的组件 C ++分析工具(Microsoft.VisualStudio.Component.VC.DiagnosticTools,version = 15.0.26208.0) DirectX的图形调试器和GPU分析器(Microsoft.VisualStudio.Component.Graphics.Tools,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualCpp.CRT.Headers,version = 14.10.25017.0'无法从'https://download.microsoft.com/download/7/4/4/744F3384-4F26-4B3D-BEE5-AC49B9F252DA/microsoft.visualcpp.crt.headers.vsix'。 搜索URL:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.CRT.Headers;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作负载使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0) Node.js开发(Microsoft.VisualStudio.Workload.Node,version = 15.0.26208.0)通用Windows平台开发(Microsoft.VisualStudio .Workload.Universal,version = 15.0.26208.0) Visual Studio扩展开发(Microsoft.VisualStudio.Workload.VisualStudioExtension,version = 15.0.26208.0)受影响的组件 C ++分析工具(Microsoft。 VisualStudio.Component.VC.DiagnosticTools,version = 15.0.26208.0) DirectX的图形调试器和GPU分析器(Microsoft.VisualStudio.Component.Graphics.Tools,version = 15.0.26208.0) VC ++ 2017 v141工具集(x86,x64)(Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 包'Microsoft.VisualCpp.CRT.Redist.Resources,version = 14.10.25008.0,language = en-US'无法从'https://download.microsoft.com/download/4/8/8/4885A5A3-02CC-46DF-BCE4-E7C8EF258099/microsoft.visualcpp.crt.redist.resources.vsix'下载。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.CRT.Redist.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量桌面开发使用C ++(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0) Node.js开发(Microsoft.VisualStudio.Workload.Node,version = 15.0.26208.0)通用Windows平台开发(Microsoft .VisualStudio.Workload.Universal,version = 15.0.26208.0) Visual Studio扩展开发(Microsoft.VisualStudio.Workload.VisualStudioExtension,version = 15.0.26208.0)受影响的组件 C ++分析工具( Microsoft.VisualStudio.Component.VC.DiagnosticTools,version = 15.0.26208.0) DirectX的图形调试器和GPU分析器(Microsoft.VisualStudio.Component.Graphics.Tools,version = 15.0.26208.0) VC ++ 2017 v141工具集(x86,x64)(Microsoft.VisualStudio.Component.VC.Tools.x86.x64 ,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.EntityFrameworkTools,version = 15.0.60104.0'无法从'https下载://download.microsoft.com/download/0/0/F/00FF12B6-63B2-42BA-867C-47B7A584CB2C/vs_eftools.vsix"。 搜索URL:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.EntityFrameworkTools;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作负载 .NET桌面开发(Microsoft .VisualStudio.Workload.ManagedDesktop,version = 15.0.26208.0) ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件实体框架6个工具(Microsoft.VisualStudio.Component.EntityFramework,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com' Bits下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.EntityFrameworkTools.Msi,version = 6.1.60104.0'无法从'https://download.microsoft.com/download/3/C/2/3C288EB1-8BEA-4744-AB93-833C34ADB47A/EF6Tools.cab'。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.EntityFrameworkTools.Msi;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作负载 .NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,version = 15.0.26208.0) ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件实体框架6工具(Microsoft.VisualStudio.Component.EntityFramework,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.WCF,version = 15.0.26208.0'无法从'https下载://download.microsoft.com/download/C/5/E/C5EA76C6-9D7E-4BD0-8BE2-8254BA1F3138/microsoft.visualstudio.wcf.vsix"。 搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = Microsoft.VisualStudio.WCF; PackageAction = DownloadPackage; ReturnCode = 0x80072ee7 受影响的工作负载 .NET桌面开发(Microsoft .VisualStudio.Workload.ManagedDesktop,version = 15.0.26208.0) ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件 Windows Communication基础(Microsoft.VisualStudio.Component.Wcf.Tooling,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 包'Microsoft.VisualStudio.WCF.Resources,version = 15.0.26208.0,language = en-美国未能从'https://download.microsoft.com/download/3/9/2/3929BBA1-13FE-4DF2-8D49-A70A199C31A8/microsoft.visualstudio.wcf.resources.vsix'下载。 搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = Microsoft.VisualStudio.WCF.Resources; PackageAction = DownloadPackage; ReturnCode = 0x80072ee7 受影响的工作负载 .NET桌面开发(Microsoft.VisualStudio.Workload.ManagedDesktop,version = 15.0.26208.0) ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件 Windows Communication Foundation(Microsoft.VisualStudio.Component.Wcf.Tooling,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 包"Microsoft.VisualStudio.VC.CMake.Project,version = 15.0.26228.4"未能从'https://download.microsoft.com/download/6/8/0/68006234-A174-4742-B17B-E5C237FB699F/microsoft.visualstudio.vc.cmake.project.vsix'下载。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.VC.CMake.Project;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量桌面开发with C ++(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0)受影响的组件 CMake的Visual C ++工具(Microsoft.VisualStudio.Component.VC.CMake.Project,version = 15.0.26208.0 )详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.VC.CMake,version = 15.0.26208.0'无法从'https://download.microsoft.com/download/1/7/9/179F505F-0AB7-44B2-9ADC-CAC95A729B6C/microsoft.visualstudio.vc.cmake.vsix'。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.VC.CMake;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0)受影响的组件用于CMake的Visual C ++工具(Microsoft.VisualStudio.Component.VC.CMake.Project,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualCpp.ATL.ARM,version = 14.10.25017.0'无法从'https://download.microsoft.com/download/F/B/7/FB722805-7BCE-400E-8418-6D45ED559F92/microsoft.visualcpp.atl.arm.vsix'。 搜索URL:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.ATL.ARM;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作负载使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0) Visual Studio扩展开发(Microsoft.VisualStudio.Workload.VisualStudioExtension,version = 15.0.26208.0)受影响的组件 Visual C ++ ATL支持(Microsoft.VisualStudio.Component.VC.ATL,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualCpp.ATL.Headers,version = 14.10.25017.0'无法从'https://download.microsoft.com/download/1/3/C/13CBF8C5-E0A1-4671-A716-811972279247/microsoft.visualcpp.atl.headers.vsix'。 搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = Microsoft.VisualCpp.ATL.Headers; PackageAction = DownloadPackage; ReturnCode = 0x80072ee7 受影响的工作量使用C ++进行桌面开发(Microsoft.VisualStudio.Workload.NativeDesktop,version = 15.0.26228.0) Visual Studio扩展开发(Microsoft.VisualStudio.Workload.VisualStudioExtension,version = 15.0.26208.0)受影响的组件 Visual C ++ ATL支持(Microsoft.VisualStudio.Component.VC.ATL,版本= 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.Package.DockerTools,version = 1.0.20170127.1'无法从'https://download.microsoft.com/download/F/8/2/F8241BB3-D627-48AC-8063-2E0460673E94/Microsoft.VisualStudio.Package.DockerTools.ENU.vsix'。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Package.DockerTools;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量 ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件容器开发工具(Microsoft.VisualStudio.Component.DockerTools,version = 15.0.26208.0)详细信息 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.CloudExplorer,version = 1.1.1701.261'无法从'https下载://download.microsoft.com/download/4/A/E/4AE29AF7-FA32-4FE0-B94C-74261EBED079/Microsoft.VisualStudio.CloudExplorer.vsix"。 搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = Microsoft.VisualStudio.CloudExplorer; PackageAction = DownloadPackage; ReturnCode = 0x80072ee7 受影响的工作量 ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,version = 15.0.26208.0)受影响的组件 Cloud Explorer(Microsoft.VisualStudio.Component.CloudExplorer,版本= 15.0.26208.0)详情 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 软件包'Microsoft.VisualStudio.Azure.Waverton,version = 2.9.70131.1'无法从'https://download.microsoft.com/download/1/9/F/19F15195-93E4-4E38-BB85-EC689C554233/Microsoft.VisualStudio.Azure.Waverton.ENU.vsix'。 搜索网址:https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Azure.Waverton;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 受影响的工作量 ASP.NET和Web开发(Microsoft.VisualStudio.Workload.NetWeb,版本= 15.0.26208.0)受影响的组件 Cloud Explorer(Microsoft.VisualStudio.Component.CloudExplorer,版本= 15.0.26208.0)详情 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 包'GitV2,版本= 2.10.2,chip = x64'无法从'https'下载://download.microsoft.com/download/6/0/F/60F57516-66E5-43EE-8966-3EDA3650B988/Git-2.10.2-64-bit.exe"。 搜索网址:https://aka.ms/VSSetupErrorReports?q = PackageId = GitV2; PackageAction = DownloadPackage; ReturnCode = 0x80072ee7 受影响的工作负载 Node.js开发(Microsoft.VisualStudio.Workload) .Node,version = 15.0.26208.0)受影响的组件 Git for Windows(Microsoft.VisualStudio.Component.Git,version = 15.0.26208.0)详情 WebClient下载失败:无法解析远程名称:'download.microsoft.com'位下载失败:找不到文件。 WinInet下载失败:功能:InternetOpenUrl,HR:-2147012889,消息:未知错误12007 我尝试下载丢失的文件并进行安装,但我无法安装它。 此处错误 3/12/2017 5:18 :下午14点 - 微软VSIX安装程序 3/12/2017 5:18:14 PM - --------------------------- ---------------- 3/12/2017 5:18:14 PM - vsixinstaller.exe版本: 3/12/2017 5:18: 14 PM - 15.0.26228.0建造者:D15REL 3/12/2017 5:18:14 PM - ------------------------ ------------------- 3/12/2017 5:18:14 PM - 命令行参数: 3/12/2017 5: 18:14 PM - C:\程序文件(x86)\ Microsoft Visual Studio \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ Studio 2017社区版\vs2017 \missing fixed \ microsrosoft.visualcpp .atl.arm.vsix 3/12/2017 5:18:14 PM - ---------------------------- --------------- 3/12/2017 5:18:14 PM - Microsoft VSIX安装程序 3/12/2017 5:18:14 PM - ------------------------------------------- 3/12 / 2017 5:18:19 PM - 初始化安装... 3/12/2017 5:18:19 PM - Microsoft.VisualStudio.ExtensionManager.MissingPackagePartException:此VSIX包无效,因为它不包含文件extension.vsixmanifest在root。 VSIX文件可能已损坏。 at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream stream,CultureInfo preferredCulture) at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl..ctor(String path,CultureInfo preferredCulture) at Microsoft。 VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath,CultureInfo preferredCulture) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath) at VSIXInstaller.App.GetInstallableData(String vsixPath,Boolean isRepairSupported,IEnumerable `1& skuData) at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at VSIXInstaller.App.Initialize() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute() 也有一些文件不存在下载。 https://download.microsoft.com/download/C/5/E/C5EA76C6-9D7E-4BD0-8BE2-8254BA1F3138/microsoft.visualstudio.wcf.vsixhttps://download。 microsoft.com/download/3/9/2/3929BBA1-13FE-4DF2-8D49-A70A199C31A8/microsoft.visualstudio.wcf.resources.vsix https://download.microsoft.com/download /C/5/0/C50F3C87-CC70-4F37-992C-78083539FC8F/microsoft.visualstudio.graphics.appid.vsi 成功登录Visual Studio,但菜单中缺少一些项目,但2015版本中存在。这是2017年的低级版本吗? 请帮忙。 解决方案 Hi,Method i created the offline installation.\vs_Community.exe --layout E:\vs2017\vs2017offline --lang en-US --add Microsoft.VisualStudio.Workload.Universal Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.NetWeb Microsoft.VisualStudio.Workload.Node Microsoft.VisualStudio.Workload.VisualStudioExtension Microsoft.VisualStudio.Workload.NativeDesktop Microsoft.VisualStudio.Workload.NetCoreTools Microsoft.VisualStudio.Component.DependencyValidation.Community Microsoft.VisualStudio.Component.TestTools.Corefirst attempt, to install failed because AVG have to disable. and and clear everything. start over again.1. %ProgramData%\Microsoft\VisualStudio and delete the Packages folder./2. C:\Program Files (x86)\Microsoft Visual Studio folder and delete the 2017 folderStill failed. some files is missing. after checking the offline installation folder, found out itis because "file name too long" and file is not downloaded.So , this time i connected internet while run the offline installation. Still failed. So, i try a differ solution, put all the offline installation into a iso image and mount it. and run the installation with internet connected. i'm still crazy, the installation just stop at a point, busy downloading for the same file for few hours. So, i just end task it, start over again. Next attempt is run installation from is image without internet connected. successful with error, after checking the error logs.Here the error logThe product failed to install the listed workloads and components due to one or more package failures.Incomplete workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26208.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26208.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0)Incomplete components C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26208.0) Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26208.0) Entity Framework 6 tools (Microsoft.VisualStudio.Component.EntityFramework,version=15.0.26208.0) Git for Windows (Microsoft.VisualStudio.Component.Git,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) VC++ 2017 v141 toolset (x86,x64) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=15.0.26208.0) Visual C++ ATL support (Microsoft.VisualStudio.Component.VC.ATL,version=15.0.26208.0) Visual C++ tools for CMake (Microsoft.VisualStudio.Component.VC.CMake.Project,version=15.0.26208.0) Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0)You can search for solutions using the information below, modify your selections for the above workloads and components and retry the installation, or remove the product from your machine.Following is a collection of individual package failures that led to the incomplete workloads and components above. To search for existing reports of these specific problems, please copy and paste the URL from each package failure into a web browser. If the issue has already been reported, you can find solutions or workarounds there. If the issue has not been reported, you can create a new issue where other people will be able to find solutions or workarounds.Package 'Microsoft.VisualStudio.Graphics.Appid.Resources,version=15.0.26208.0,language=en-US' failed to download from 'https://download.microsoft.com/download/B/B/5/BB57BEFF-4649-44C5-A1A7-DC10663645E8/microsoft.visualstudio.graphics.appid.resources.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Graphics.Appid.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26208.0) Impacted components C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.Graphics.Appid,version=15.0.26228.0' failed to download from 'https://download.microsoft.com/download/C/5/0/C50F3C87-CC70-4F37-992C-78083539FC8F/microsoft.visualstudio.graphics.appid.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Graphics.Appid;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26208.0) Impacted components C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualCpp.CRT.Headers,version=14.10.25017.0' failed to download from 'https://download.microsoft.com/download/7/4/4/744F3384-4F26-4B3D-BEE5-AC49B9F252DA/microsoft.visualcpp.crt.headers.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.CRT.Headers;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26208.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Impacted components C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) VC++ 2017 v141 toolset (x86,x64) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualCpp.CRT.Redist.Resources,version=14.10.25008.0,language=en-US' failed to download from 'https://download.microsoft.com/download/4/8/8/4885A5A3-02CC-46DF-BCE4-E7C8EF258099/microsoft.visualcpp.crt.redist.resources.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.CRT.Redist.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0) Universal Windows Platform development (Microsoft.VisualStudio.Workload.Universal,version=15.0.26208.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Impacted components C++ profiling tools (Microsoft.VisualStudio.Component.VC.DiagnosticTools,version=15.0.26208.0) Graphics debugger and GPU profiler for DirectX (Microsoft.VisualStudio.Component.Graphics.Tools,version=15.0.26208.0) VC++ 2017 v141 toolset (x86,x64) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.EntityFrameworkTools,version=15.0.60104.0' failed to download from 'https://download.microsoft.com/download/0/0/F/00FF12B6-63B2-42BA-867C-47B7A584CB2C/vs_eftools.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.EntityFrameworkTools;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26208.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Entity Framework 6 tools (Microsoft.VisualStudio.Component.EntityFramework,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.EntityFrameworkTools.Msi,version=6.1.60104.0' failed to download from 'https://download.microsoft.com/download/3/C/2/3C288EB1-8BEA-4744-AB93-833C34ADB47A/EF6Tools.cab'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.EntityFrameworkTools.Msi;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26208.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Entity Framework 6 tools (Microsoft.VisualStudio.Component.EntityFramework,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.WCF,version=15.0.26208.0' failed to download from 'https://download.microsoft.com/download/C/5/E/C5EA76C6-9D7E-4BD0-8BE2-8254BA1F3138/microsoft.visualstudio.wcf.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.WCF;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26208.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.WCF.Resources,version=15.0.26208.0,language=en-US' failed to download from 'https://download.microsoft.com/download/3/9/2/3929BBA1-13FE-4DF2-8D49-A70A199C31A8/microsoft.visualstudio.wcf.resources.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.WCF.Resources;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.0.26208.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.VC.CMake.Project,version=15.0.26228.4' failed to download from 'https://download.microsoft.com/download/6/8/0/68006234-A174-4742-B17B-E5C237FB699F/microsoft.visualstudio.vc.cmake.project.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.VC.CMake.Project;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Impacted components Visual C++ tools for CMake (Microsoft.VisualStudio.Component.VC.CMake.Project,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.VC.CMake,version=15.0.26208.0' failed to download from 'https://download.microsoft.com/download/1/7/9/179F505F-0AB7-44B2-9ADC-CAC95A729B6C/microsoft.visualstudio.vc.cmake.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.VC.CMake;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Impacted components Visual C++ tools for CMake (Microsoft.VisualStudio.Component.VC.CMake.Project,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualCpp.ATL.ARM,version=14.10.25017.0' failed to download from 'https://download.microsoft.com/download/F/B/7/FB722805-7BCE-400E-8418-6D45ED559F92/microsoft.visualcpp.atl.arm.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.ATL.ARM;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Impacted components Visual C++ ATL support (Microsoft.VisualStudio.Component.VC.ATL,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualCpp.ATL.Headers,version=14.10.25017.0' failed to download from 'https://download.microsoft.com/download/1/3/C/13CBF8C5-E0A1-4671-A716-811972279247/microsoft.visualcpp.atl.headers.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.ATL.Headers;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Desktop development with C++ (Microsoft.VisualStudio.Workload.NativeDesktop,version=15.0.26228.0) Visual Studio extension development (Microsoft.VisualStudio.Workload.VisualStudioExtension,version=15.0.26208.0) Impacted components Visual C++ ATL support (Microsoft.VisualStudio.Component.VC.ATL,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.Package.DockerTools,version=1.0.20170127.1' failed to download from 'https://download.microsoft.com/download/F/8/2/F8241BB3-D627-48AC-8063-2E0460673E94/Microsoft.VisualStudio.Package.DockerTools.ENU.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Package.DockerTools;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Container development tools (Microsoft.VisualStudio.Component.DockerTools,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.CloudExplorer,version=1.1.1701.261' failed to download from 'https://download.microsoft.com/download/4/A/E/4AE29AF7-FA32-4FE0-B94C-74261EBED079/Microsoft.VisualStudio.CloudExplorer.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.CloudExplorer;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'Microsoft.VisualStudio.Azure.Waverton,version=2.9.70131.1' failed to download from 'https://download.microsoft.com/download/1/9/F/19F15195-93E4-4E38-BB85-EC689C554233/Microsoft.VisualStudio.Azure.Waverton.ENU.vsix'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Azure.Waverton;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.0.26208.0) Impacted components Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007Package 'GitV2,version=2.10.2,chip=x64' failed to download from 'https://download.microsoft.com/download/6/0/F/60F57516-66E5-43EE-8966-3EDA3650B988/Git-2.10.2-64-bit.exe'. Search URL: https://aka.ms/VSSetupErrorReports?q=PackageId=GitV2;PackageAction=DownloadPackage;ReturnCode=0x80072ee7 Impacted workloads Node.js development (Microsoft.VisualStudio.Workload.Node,version=15.0.26208.0) Impacted components Git for Windows (Microsoft.VisualStudio.Component.Git,version=15.0.26208.0) Details WebClient download failed: The remote name could not be resolved: 'download.microsoft.com' Bits download failed: File not found. WinInet download failed: Function: InternetOpenUrl, HR: -2147012889, Message: Unknown error 12007I attempt to download the missing file and install it, but i can not install itHere the error3/12/2017 5:18:14 PM - Microsoft VSIX Installer3/12/2017 5:18:14 PM - -------------------------------------------3/12/2017 5:18:14 PM - vsixinstaller.exe version:3/12/2017 5:18:14 PM - 15.0.26228.0 built by: D15REL3/12/2017 5:18:14 PM - -------------------------------------------3/12/2017 5:18:14 PM - Command line parameters:3/12/2017 5:18:14 PM - C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VSIXInstaller.exe,F:\Microsoft Visual Studio 2013-2017\Visual Studio 2017 Community Edition\vs2017\missing fixed\microsoft.visualcpp.atl.arm.vsix3/12/2017 5:18:14 PM - -------------------------------------------3/12/2017 5:18:14 PM - Microsoft VSIX Installer3/12/2017 5:18:14 PM - -------------------------------------------3/12/2017 5:18:19 PM - Initializing Install...3/12/2017 5:18:19 PM - Microsoft.VisualStudio.ExtensionManager.MissingPackagePartException: This VSIX package is invalid because it does not contain the file extension.vsixmanifest at the root. The VSIX file may be corrupted. at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl.ReadVSIXManifestFromPackage(Stream stream, CultureInfo preferredCulture) at Microsoft.VisualStudio.ExtensionManager.InstallableExtensionImpl..ctor(String path, CultureInfo preferredCulture) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath, CultureInfo preferredCulture) at Microsoft.VisualStudio.ExtensionManager.ExtensionEngineImpl.CreateInstallableExtension(String extensionPath) at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable`1& skuData) at VSIXInstaller.App.Initialize(Boolean isRepairSupported) at VSIXInstaller.App.Initialize() at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.Tasks.Task.Execute()Also few file is not exist for download too.https://download.microsoft.com/download/C/5/E/C5EA76C6-9D7E-4BD0-8BE2-8254BA1F3138/microsoft.visualstudio.wcf.vsixhttps://download.microsoft.com/download/3/9/2/3929BBA1-13FE-4DF2-8D49-A70A199C31A8/microsoft.visualstudio.wcf.resources.vsixhttps://download.microsoft.com/download/C/5/0/C50F3C87-CC70-4F37-992C-78083539FC8F/microsoft.visualstudio.graphics.appid.vsiSuccessful to sign in Visual Studio, but few items is missing from the menu, but exist in 2015 edition. Is this a down grade version on 2017?Please help. 解决方案 这篇关于Visual Studio 2017社区版 - 离线安装,成功丢失了很多vsix文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-03 05:18