Visual Studio 无法安装Microsoft.VisualStudio.Community.Msi

slsn1g29  于 2023-01-14  发布在  其他
关注(0)|答案(1)|浏览(364)

我下载了Visual Studio 2017 15.7.6,工作负载如下
1.. net桌面开发。

  1. ASP.NET与Web开发。
    1.使用. Net进行移动开发
    安装完所有东西后,我得到这个警告"安装完成并有警告",然后我点击了"查看问题"。然后问题显示"无法安装MicrosoftIdeVisualStudioIdeCommunityIdeMsi"。这是完整的错误日志,
    安装时出现问题。
    您可以通过以下方式排除程序包故障:
    1.使用下面的搜索URL搜索每个包故障的解决方案
    1.修改您对受影响的工作负载或组件的选择,然后重试安装
    1.从计算机中删除产品,然后重新安装
    如果已在开发人员社区上报告了该问题,则可以在那里找到解决方案或解决方法。如果尚未报告该问题,则建议您创建一个新问题,以便其他开发人员能够找到解决方案或解决方法。您可以使用右上角的"提供反馈"按钮在Visual Studio安装程序中创建一个新问题。
    ================================================================================

Package 'Microsoft.VisualStudio.Community.Msi,version=15.7.27617.1' failed to install. Search URL https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Community.Msi;PackageAction=Install;ReturnCode=1406 Details MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Community.Msi,version=15.7.27617.1\Microsoft.VisualStudio.Community.Msi.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" VSEXTUI="1" PIDKEY="NGKBDRWKQFTT82MTRMPKRM6XM" VS7.3643236F_FC70_11D3_A536_0090278A1BB8="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" FEEDBACKOPTIN="1" Return code: 1603 Return code details: Fatal error during installation. Message Id: 1406 Message Details: Could not write value PrimaryInteropAssemblyName to key \Software\Classes\TypeLib{7C0FFAB0-CD84-11D0-949A-00A0C91110ED}\1.0. Verify that you have sufficient access to that key, or contact your support personnel. Log C:\Users\MysterHyde\AppData\Local\Temp\dd_setup_20200309103712_053_Microsoft.VisualStudio.Community.Msi.log Impacted workloads .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=15.7.27625.0) ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15.7.27625.0) Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=15.7.27625.0) Impacted components .NET Core 2.0 development tools (Microsoft.NetCore.ComponentGroup.DevelopmentTools,version=15.7.27617.1) .NET Core 2.0 development tools (Microsoft.NetCore.ComponentGroup.Web,version=15.7.27625.0) .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=15.7.27625.0) .NET Framework 4.6.1 development tools (Microsoft.Net.ComponentGroup.DevelopmentPrerequisites,version=15.7.27520.0) .NET Portable Library targeting pack (Microsoft.VisualStudio.Component.PortableLibrary,version=15.6.27309.0) ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.7.27520.0) ASP.NET and web development tools prerequisites (Microsoft.VisualStudio.ComponentGroup.Web,version=15.7.27625.0) Blend for Visual Studio (Microsoft.ComponentGroup.Blend,version=15.6.27406.0) C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=15.0.27205.0) ClickOnce Publishing (Microsoft.Component.ClickOnce,version=15.7.27520.0) Cloud Explorer (Microsoft.VisualStudio.Component.CloudExplorer,version=15.7.27520.0) Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=15.7.27520.0) Connectivity and publishing tools (Microsoft.VisualStudio.Component.Common.Azure.Tools,version=1.10.50912.1) Data sources and service references (Microsoft.VisualStudio.Component.VisualStudioData,version=15.6.27406.0) Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=15.0.26621.2) Developer Analytics tools (Microsoft.VisualStudio.Component.AppInsights.Tools,version=15.7.27617.1) Entity Framework 6 tools (Microsoft.VisualStudio.Component.EntityFramework,version=15.6.27406.0) F# language support (Microsoft.VisualStudio.Component.FSharp,version=15.7.27604.0) F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTemplates,version=15.7.27703.1) IIS Express (Microsoft.VisualStudio.Component.IISExpress,version=15.0.26208.0) JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=15.7.27520.0) JavaScript diagnostics (Microsoft.VisualStudio.Component.JavaScript.Diagnostics,version=15.7.27520.0) Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=15.6.27323.2) Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=15.7.27617.1) Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=15.7.27617.1) NuGet package manager (Microsoft.VisualStudio.Component.NuGet,version=15.6.27309.0) Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,version=15.0.26720.2) SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=15.7.27625.0) Web Deploy (Microsoft.VisualStudio.Component.WebDeploy,version=15.0.26208.0) Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,version=15.7.27604.0) Xamarin (Component.Xamarin,version=15.7.27617.1) Xamarin Workbooks (Component.Xamarin.Inspector,version=15.0.26606.0)>
I tried downloading other version but i'm still getting the same error. I disabled my antivirus but it also didn't work. Please I need help it frustrating, what am i doing wrong?

9jyewag0

9jyewag01#

我禁用了我的杀毒软件,但它也没有工作。请我需要帮助它沮丧,我做错了什么?
请尝试以下步骤:

    • 1)管理员身份启动注册表编辑器
    • 2)**导航到HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib\{7C0FFAB0-CD84-11D0-949A-00A0C91110ED}\1.0--〉右键单击--〉launch Permissions-〉Advanced
  • 确保所有者为SYSTEM
  • 系统和管理员对项和子项具有完全控制权。
    • 同时**,请检查您是否安装了可能会拒绝访问此密钥的专用防病毒、应用程序阻止程序或GPO分阶段权限软件。
    • 3)**然后重新启动,之后尝试暂时禁用防病毒软件,然后以repair your installation的管理员身份运行VS安装程序。

此外,如果这些不起作用,请在this link下重新安装VS2017(请安装VS2017 15.9,这是最新的VS2017版本)。
卸载VS2017后,请检查您是否有:%programfiles(x86)%\Microsoft Visual Studio\Installer\resources\app\layout\InstallCleanup.exe.

  • 如果是,请使用-full参数从管理命令提示符启动它:安装清理. exe-完整
  • 否则,请手动删除% programfiles(x86)%\Microsoft Visual Studio\安装程序文件夹
    • 和**然后insatll VS2017下我的链接,请记住运行它作为管理员.

希望能帮到你。

相关问题