Unable to install Visual Studio Professional 2022

Scottie 101 Reputation points
2021-11-25T09:52:48.323+00:00

Hi,

I've been unable to install Visual Studio Professional 2022 - I get the "preparing the installer" dialog, which appears to download and update the installer, then the window disappears and the main Visual Studio installer never appears.

I previously had one of the 2022 Preview builds installed, and have removed that, but still no luck unfortunately.

Here's my vslogs.zip (from collect.exe): https://app.box.com/s/suj49slxm12hqic4ljxctrm1fozpxzcf

Any help would be greatly appreciated!

Thanks,
Scottie

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,056 questions
0 comments No comments
{count} vote

Accepted answer
  1. Scottie 101 Reputation points
    2021-12-01T12:03:37.56+00:00

    I was able to successfully install VS 2022 by using chocolatey instead:

    choco install visualstudio2022professional
    

    After this I was able to start VS2022, although I then had to run Visual Studio Installer (installed with the choco package) to add support for C# etc.


1 additional answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,101 Reputation points Microsoft Vendor
    2021-11-26T06:14:54.437+00:00

    Hi @Scottie

    Welcome to Microsoft Q&A!

    Could you launch visual studio installer by running vs_installershell.exe under C:\Program Files (x86)\Microsoft Visual Studio\Installer to retry your installation?

    Please check the Visual Studio 2022 System Requirements and run the Windows Update Troubleshooter to fix Windows Updates errors. And update your Windows to the latest version.

    Then, clean up your %temp% folder, restart your computer and re-download the Visual Studio from the download page to run as administrator: https://visualstudio.microsoft.com/downloads/

    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.


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.