Visual studio 2017 installer won't run after extracting

前端 未结 19 1679
遥遥无期
遥遥无期 2020-12-03 11:28

visual studio 2017 community.exe won\'t run after extracting to the temp.

OS: windows 10 x64bit

Setup : community version

in the temp folder bootstra

相关标签:
19条回答
  • 2020-12-03 11:54

    Try deleting this folder C:\Program Files (x86)\Microsoft Visual Studio\. Restart the install.

    0 讨论(0)
  • 2020-12-03 11:54

    Note for others with installer problems for Visual Studio 2017/2019/vNext

    Before messing with your system FIRST TRY CLOSING EVERY OTHER PROGRAM.

    Sounds silly, i know! But I almost missed inhahe's answer mentioning that RivaTuner could cause problems. Closing that caused it to start working instantly.

    TL;DR: Close all other programs like you always ignore in installation instructions :)

    0 讨论(0)
  • 2020-12-03 11:55

    I had the same problem also (with a Dell labtop) and SHClark's didn't work for me. Here is what I did:

    I used the command line to create a local cache of the files you need to complete an offline install

    [ctrl] [shift] [enter] for the cmd prompt to run as admin

    1) typed

    d:\vs_community.exe --layout h:\vs2017layout --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --lang en-US
    

    once it was done downloading to h:\vs2017layout,

    2) opened h:\vs2017layout\vs_setup.exe finally got it to open after extracting but ran into this error:

    The name of the file cannot be resolved by the system
    

    so I created a link for the c:\ProgramData\Microsoft\Visual Studio folder using the following command at windows cmd promt:

    mklink /D "C:\ProgramData\Microsoft\VisualStudio" "g:\ProgramData\Microsoft\VisualStudio"
    

    It worked after that. Not sure if the second error was related to the first. Hope this helps.

    0 讨论(0)
  • 2020-12-03 11:57

    Copy vs_community.exe to a USB and run. It will work.

    0 讨论(0)
  • 2020-12-03 11:57

    I had the same (or similar) problem. I couldn't update VS2017, either from within the program or by trying to run the installer. The web page at https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues had instructions that resolved the problem. For me, deleting the 'Installer' directory and then retrying the installation resolved the problem.

    0 讨论(0)
  • 2020-12-03 11:58

    I had the same problem. Here is my solution:

    1. right click vs installer, extract with winrar.
    2. go to extracted folder.
    3. run: vs_setup_bootstrapper.exe

    This worked for me :)

    enter image description here

    0 讨论(0)
提交回复
热议问题