PDA

View Full Version : Can't install Visual Studio 2017



Domino Quartz
2018-07-23, 06:19 PM
I've been trying to install Visual Studio 2017 for the past few days. It keeps failing, and I can't figure out why. I've looked all over the internet, trying to find a solution. Unfortunately, none of the solutions I've found have worked. I've run InstallCleaner several times, and done a bunch of other things that I can't remember right now. Nothing has worked. Can anyone help me? Thanks.


Something went wrong with the install.

You can troubleshoot the package failures by:

1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================== ==============================

Package 'Microsoft.Net.Core.SDK,version=15.7.27703.2042,ch ip=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.Core .SDK;PackageAction=Install;ReturnCode=1921
Details
Command executed: "L:\Microsoft Visual Studio\Packages\Microsoft.Net.Core.SDK,version=15. 7.27703.2042,chip=x64\dotnet-sdk-2.1.202-win-x64.exe" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" /log "C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_001_Microsoft.Net.Core.SDK.log" /quiet /norestart
Return code: 1921
Return code details: The name of the file cannot be resolved by the system.
Log
C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_001_Microsoft.Net.Core.SDK.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,ve rsion=15.7.27625.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15 .7.27625.0)
Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.6 .27309.0)
Impacted components
.NET Core 2.0 development tools (Microsoft.Net.Core.Component.SDK,version=15.6.274 06.0)
.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)
ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.7 .27520.0)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,v ersion=15.7.27520.0)
Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version= 15.7.27604.0)
Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTo ols,version=15.7.27520.0)
Container development tools (Microsoft.VisualStudio.Component.DockerTools,vers ion=15.7.27520.0)
Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctio ns,version=15.7.27617.1)
Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFuncti ons,version=15.7.27617.1)
Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,vers ion=15.7.27604.0)

--------------------------------------------------------------------------------

Package 'Microsoft.VisualCpp.Redist.14,version=14.14.26405 ,chip=x86' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCp p.Redist.14;PackageAction=Install;ReturnCode=1921
Details
Command executed: "L:\Microsoft Visual Studio\Packages\Microsoft.VisualCpp.Redist.14,vers ion=14.14.26405,chip=x86\VC_redist.x86.exe" /q /norestart /log "C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_002_Microsoft.VisualCpp.Redist.14.log"
Return code: 1921
Return code details: The name of the file cannot be resolved by the system.
Log
C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_002_Microsoft.VisualCpp.Redist.14.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,ve rsion=15.7.27625.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15 .7.27625.0)
Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.6 .27309.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.P rerequisites,version=15.7.27625.0)
.NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools, version=15.7.27512.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)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,v ersion=15.7.27520.0)
Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version= 15.7.27604.0)
C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageS ervices,version=15.0.27205.0)
Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTo ols,version=15.7.27520.0)
Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources, version=15.0.26621.2)
F# language support (Microsoft.VisualStudio.Component.FSharp,version=1 5.7.27604.0)
F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTempla tes,version=15.7.27703.1)
JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeS cript,version=15.7.27520.0)
Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.C ore,version=15.6.27323.2)
Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctio ns,version=15.7.27617.1)
Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFuncti ons,version=15.7.27617.1)
Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,v ersion=15.0.26720.2)
Redgate SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2 .4.2.1439)
SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version =15.7.27625.0)
Static analysis tools (Microsoft.VisualStudio.Component.Static.Analysis. Tools,version=15.0.26208.0)
Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,vers ion=15.7.27604.0)

Domino Quartz
2018-07-24, 07:12 AM
Help? Please?

Brother Oni
2018-07-24, 07:17 AM
I've been trying to install Visual Studio 2017 for the past few days. It keeps failing, and I can't figure out why. I've looked all over the internet, trying to find a solution. Unfortunately, none of the solutions I've found have worked. I've run InstallCleaner several times, and done a bunch of other things that I can't remember right now. Nothing has worked. Can anyone help me? Thanks.


Something went wrong with the install.

You can troubleshoot the package failures by:

1. Search for solutions using the search URL below for each package failure
2. Modify your selections for the affected workloads or components and then retry the installation
3. Remove the product from your machine and then install again

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

================================================== ==============================

Package 'Microsoft.Net.Core.SDK,version=15.7.27703.2042,ch ip=x64' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.Core .SDK;PackageAction=Install;ReturnCode=1921
Details
Command executed: "L:\Microsoft Visual Studio\Packages\Microsoft.Net.Core.SDK,version=15. 7.27703.2042,chip=x64\dotnet-sdk-2.1.202-win-x64.exe" "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" /log "C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_001_Microsoft.Net.Core.SDK.log" /quiet /norestart
Return code: 1921
Return code details: The name of the file cannot be resolved by the system.
Log
C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_001_Microsoft.Net.Core.SDK.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,ve rsion=15.7.27625.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15 .7.27625.0)
Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.6 .27309.0)
Impacted components
.NET Core 2.0 development tools (Microsoft.Net.Core.Component.SDK,version=15.6.274 06.0)
.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)
ASP.NET and web development tools (Microsoft.VisualStudio.Component.Web,version=15.7 .27520.0)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,v ersion=15.7.27520.0)
Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version= 15.7.27604.0)
Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTo ols,version=15.7.27520.0)
Container development tools (Microsoft.VisualStudio.Component.DockerTools,vers ion=15.7.27520.0)
Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctio ns,version=15.7.27617.1)
Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFuncti ons,version=15.7.27617.1)
Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,vers ion=15.7.27604.0)

--------------------------------------------------------------------------------

Package 'Microsoft.VisualCpp.Redist.14,version=14.14.26405 ,chip=x86' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCp p.Redist.14;PackageAction=Install;ReturnCode=1921
Details
Command executed: "L:\Microsoft Visual Studio\Packages\Microsoft.VisualCpp.Redist.14,vers ion=14.14.26405,chip=x86\VC_redist.x86.exe" /q /norestart /log "C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_002_Microsoft.VisualCpp.Redist.14.log"
Return code: 1921
Return code details: The name of the file cannot be resolved by the system.
Log
C:\Users\Domino\AppData\Local\Temp\dd_setup_201807 24234544_002_Microsoft.VisualCpp.Redist.14.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,ve rsion=15.7.27625.0)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=15 .7.27625.0)
Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=15.6 .27309.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.P rerequisites,version=15.7.27625.0)
.NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools, version=15.7.27512.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)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,v ersion=15.7.27520.0)
Azure Data Lake and Stream Analytics Tools (Microsoft.Component.Azure.DataLake.Tools,version= 15.7.27604.0)
C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageS ervices,version=15.0.27205.0)
Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTo ols,version=15.7.27520.0)
Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources, version=15.0.26621.2)
F# language support (Microsoft.VisualStudio.Component.FSharp,version=1 5.7.27604.0)
F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTempla tes,version=15.7.27703.1)
JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeS cript,version=15.7.27520.0)
Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.C ore,version=15.6.27323.2)
Microsoft Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctio ns,version=15.7.27617.1)
Microsoft Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFuncti ons,version=15.7.27617.1)
Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,v ersion=15.0.26720.2)
Redgate SQL Search (Component.Redgate.SQLSearch.VSExtension,version=2 .4.2.1439)
SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version =15.7.27625.0)
Static analysis tools (Microsoft.VisualStudio.Component.Static.Analysis. Tools,version=15.0.26208.0)
Windows Communication Foundation (Microsoft.VisualStudio.Component.Wcf.Tooling,vers ion=15.7.27604.0)


If you've already followed the instructions here (link (https://docs.microsoft.com/en-us/visualstudio/install/remove-visual-studio)), then I'd physically go delete any remaining files then delete the registry entries with regedit. Word of warning, messing about with regedit can permanently screw up your machine, forcing a restore from the last backup or a complete re-install, so if you're not comfortable doing that, I suggest finding professional help or someone with the technical knowledge to do so.

There are some other programs on the market that will help get rid of mis-installed programs (I like CCleaner myself) and will also provide registry backups to in-screw your machine in case anything breaks.


Help? Please?

This forum doesn't move that fast. If you want a quicker response (you waited less than an hour), then you'd need to go visit some site with much higher traffic like reddit or call a professional.

Edit: Huh, you edited the original post between my reading and hitting reply. Just to double check, you are installing Visual Studio on an administrator account?

Domino Quartz
2018-07-24, 07:49 AM
If you've already followed the instructions here (link (https://docs.microsoft.com/en-us/visualstudio/install/remove-visual-studio)), then I'd physically go delete any remaining files then delete the registry entries with regedit. Word of warning, messing about with regedit can permanently screw up your machine, forcing a restore from the last backup or a complete re-install, so if you're not comfortable doing that, I suggest finding professional help or someone with the technical knowledge to do so.

There are some other programs on the market that will help get rid of mis-installed programs (I like CCleaner myself) and will also provide registry backups to in-screw your machine in case anything breaks.



This forum doesn't move that fast. If you want a quicker response (you waited less than an hour), then you'd need to go visit some site with much higher traffic like reddit or call a professional.

Edit: Huh, you edited the original post between my reading and hitting reply. Just to double check, you are installing Visual Studio on an administrator account?

I waited for more like 13 hours. But, in any case it seems like it was all for nothing. My problem was caused by a broken symbolic link on my C: drive. I deleted it, and the installation worked. Thanks anyway for trying to help. Also, sorry for being impatient.