I have problems installing VS2019

Pedro Enmanuel Rodriguez Barraza 0 Reputation points
2024-09-18T14:07:18.2966667+00:00

1

I have uninstalled VS2022 and I want to install VS2019, apparently the installer is damaged, I have carried out elimination steps with the help of forums, Microsoft chat support and nothing has worked for me

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,059 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,036 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 53,971 Reputation points
    2024-09-18T14:32:06.7066667+00:00

    Not sure what you did to "eliminate" the issue but in my experience this will generally mangle the system even worse than before. You don't need to uninstall VS 2022 or the installer to install VS 2019. The VS 2022 installer can install VS 2019, or at least get you there. If you cannot run the VS 2022 installer then you've mangled your system. Please post the actual error logs for the setup. There should be log files generated in the temp directory for this.

    Without further information I would recommend you do the following:

    1. Download and run the VS 2022 installer from Microsoft. If it doesn't run then the installer is broken.
    2. Go to the Available tab and see if VS 2019 shows up.

    enter image description here

    1. If it does then click it to install it. If that fails then the VS 2019 installation is messed up.
    2. If it doesn't show up then click the Find more versions online option, scroll down to All Downloads and then to Older Downloads. Select 2019 and download VS 2019 Pro. Run the setup program.

    Note that if you use Community edition then VS 2019 Community is not available. Older Community editions are not "supported" and all links take you to the latest Community version. You have to have a VS Subscription in order to use older VS non-Community products.

    0 comments No comments

  2. Anna Xiu-MSFT 28,661 Reputation points Microsoft Vendor
    2024-09-19T06:33:14.21+00:00

    Hi @Pedro Enmanuel Rodriguez Barraza, 

    Welcome to Microsoft Q&A!

    Could you try to run the vs_installershell.exe file to launch your Visual Studio Installer: C:\Program Files (x86)\Microsoft Visual Studio\Installer

    If it doesn’t work, please manually remove the folder: C:\Program Files (x86)\Microsoft Visual Studio\Installer. Then, re-download the bootstrapper file from the following Microsoft Site and run it as administrator.

    https://visualstudio.microsoft.com/downloads/ 

    Besides, please make sure you have the latest service pack and critical updates for the versions of Windows that you are running. You can check it by using Windows Update.

    If you have any anti-virus software or security management software, please temporarily disable it. 

    You can also check if there are some problems with your drive or system.

    1. Run “sfc /scannow” at the command prompt to repair missing or corrupted system files.
    2. There is also the possibility that the disk is failing. Try running chkdsk on your drive.

    https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chkdsk?tabs=event-viewer 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.