locked
Can't launch Visual Studio Installer ! RRS feed

  • Question

  • Hi, I tried numerous times to launch the installer for Visual studio (Community and professionnal) but it does not work, and the installer just doesn't launch. I tried the solution proposed in a similar question

    to cleanup old installation files but it still doesn't work.

    I installed the log collector got the vslogs.zip file: https://1drv.ms/u/s!AnMiBNzhiHbsa0EUB3QjZlV8qLw?e=lpUof6

    Please help me solve this, Thank you

    Sunday, July 19, 2020 9:54 PM

All replies

  • Hi there,

    Welcome to MSDN forum.

    Could you tell me if there are any errors when your VS Installer doesn’t work? You could try to run the vs_installershell.exe file to launch your VS Installer: C:\Program Files (x86)\Microsoft Visual Studio\Installer.

    In addition, when uninstalling the Visual Studio, the Visual Studio in Apps and features will be removed together. From looking at your logs, it seems that it is not uninstalled cleanly. Please have a try with the following:

    1. Manually delete any leftover install and cache folder you previously installed to

    C:\Program Files (x86)\Microsoft Visual Studio

    %programdata%\Microsoft\visualstudio\packages

    2. Delete the setup registry key, which was set when you first installed:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup

    Then, please re-download the Visual Studio from Microsoft Site and try again. Notice that please ensure that your Windows Updates are up-to-date and temporarily turn off any anti-virus software before installation.

    Hope it helps and any feedback will be expected.

    Sincerely,

    Anna


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, July 20, 2020 6:43 AM
  • Hi there,

    Does it work for you?

    In addition to the suggestion above, you could try to restart your Windows and check if you have some 3rd party extensions installed on your computer. If you can find them, please temporarily disable or uninstall  them before running your Visual Studio Installer.

    Looking forward to hearing from you.

    Sincerely,

    Anna


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com



    Thursday, July 23, 2020 8:54 AM
  • Hello,

    I tried the suggested steps, but it still didn't work

    What do you mean by 3rd party extensions? I did disable my internet browser extensions. I disabled windows Defender XD (the only antivirus I have).

    Friday, July 24, 2020 11:21 PM

  • Could you tell me if there are any errors when your VS Installer doesn’t work? You could try to run the vs_installershell.exe file to launch your VS Installer: C:\Program Files (x86)\Microsoft Visual Studio\Installer.

    No there isn't any error window popping up, it just won't launch.

    Te installation at first appears to go correctly, but when the loading bars finish nothing happens. ( Same thing using the vs_installershell.exe )

    Friday, July 24, 2020 11:25 PM

  • 1. Manually delete any leftover install and cache folder you previously installed to

    C:\Program Files (x86)\Microsoft Visual Studio

    %programdata%\Microsoft\visualstudio\packages

    2. Delete the setup registry key, which was set when you first installed:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\Setup

    HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\Setup

    • I removed the 'packages' folder even though it was empty.
    • I didn't find The fist registry key ( in Policies folder )
    • The next two folders didn't contain any 'setup' folder or file so I just removed the whole VisualStudio folder.
    Friday, July 24, 2020 11:27 PM
  • Thank you for your help.
    Friday, July 24, 2020 11:27 PM
  • Hi there,

    Thanks for your feedback!

    What about this issue now? Is it resolved?

    If it persists, please perform a clean boot and try again.

    In addition, you could go to Windows Settings, search for Edit environment variables for your account, click on Environment Variables to check if you have NODE_OPTIONS environment variable. If you can find it, please remove it.

    If all above doesn’t work, you could upload the latest installation logs. Please download and run this collect.exe tool, go to %temp% folder and find the vslogs.zip file, upload it to https://onedrive.live.com/ and share the link in here. Thanks for your understanding.

    Looking forward to hearing from you.

    Sincerely,

    Anna

    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, July 27, 2020 9:48 AM
  • Hi, 

    Thank you very much for your responses, I tried all the suggested solutions you said, but none worked.

    I have no NODE_OPTIONS variable on my environment variables.

    Here is the installations log https://1drv.ms/u/s!AnMiBNzhiHbsasJwKaiIXW7A29E?e=rb5e3Y

    Thank you again.

    Saturday, August 8, 2020 11:43 AM
  • Hi there,

    Please have a try with the following steps: open Windows Settings ( Windows + I ) > Go to Update & Security > Troubleshoot > Windows Update > Run the troubleshooter, which attempts to identify the problems that prevent your computer from downloading and installing Windows Updates.

    Then, reboot your computer and repair the .NET Framework.

    By the way, you can also try to launch other apps and check if the same situation occurs.

    Best regards,

    Anna

    " Visual Studio Setup and Installation " forum will be migrating to a new home on  Microsoft Q&A!

    We invite you to post new questions in the " Visual Studio Setup and Installation " forums new home on  Microsoft Q&A!

    For more information, please refer to the sticky post.


    Wednesday, August 12, 2020 8:23 AM