Download VS2022 and report an error

xue 0 Reputation points

After the installation is completed, the display is sorry, there is a problem, can not install Microsoft.Visual Studio.Community.Shared.Msi, I tried to uninstall and install again, or this error, and when opening it will show access denial, run as an administrator, after entering only a blank solution, I ticked Python development, .NET desktop development, desktop development using C++, I knocked C++, Python is also used occasionally, all ticked, why is there only a blank solution, declare: C drive space is enough, previously installed VS, did not do this, at that time because of C drive problem uninstalled, then C disk is sufficient after downloading again has this error, several times, download 2019 is also like this

I am Chinese and rely on a translator to communicate, there may be some mistakes, please forgive me

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
3,770 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 20,686 Reputation points Microsoft Vendor

    Hello @xue,

    Welcome to Microsoft Q&A forum.

    Please press Win + R => run winver command and share us the detailed Windows version number.

    Please try to update Windows OS and make sure thar there’s no pending updated Windows Updates and no Windows Update errors, then reboot your machine.

    Since installing Visual Studio needs administrator permissions, can you confirm that you right clicked the setup file and selected run as administrator to install VS 2022?  

    To narrow down this issue, I suggest you open VS Installer => click More => click Repair to repair VS and make sure that the repair process finishes running and no errors prompt.

    Besides, please navigate to this directory C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\ProjectTemplates and confirm that the templates such as VC, CSharp and Python exist.

    Please feel free to let us know if this error disappears.



    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.