deleted deleted

C:/msys64/ucrt64/bin/g++.exe 21 Reputation points
2022-11-19T19:35:11.68+00:00

deleted thread

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,198 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,006 Reputation points Microsoft Vendor
    2022-11-21T02:33:36.217+00:00

    Hi @C:/msys64/ucrt64/bin/g++.exe ,

    Welcome to Microsoft Q&A forum.

    There are many possible causes, please first try following:

    1. In Windows Search box, search Registry Editor, right-click the key > Run as administrator > navigate to this directory(if it exists): Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\90C68BBCA565FC341902D954EA3347AC > right-click it > Permissions… > Advanced > make sure that SYSTEM and Administrators have Full Control(Access) to this key and subkeys.
      262431-image.png
    2. Please navigate to C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Community.Shared.Msi,version=XXXXXXXXX folder, open it and try to double-click to run the .msi file manually. If this doesn’t work, please backup this folder and remove this folder then retry/repair your installation.
    3. Please check and make sure that no firewall/antivirus/group policy/proxy/extensions are blocking you from installing VS 2022.
    4. Try to use this troubleshooter, to uninstall "vs_communitysharedmsi" and then retry/repair your installation.
    5. Please make sure that all pending Windows Updates have been updated > reboot your machine and retry the installation.

    If none of the above suggestions work, please download and run this collect.exe tool. Go to %temp% folder and find the vslogs.zip file/folder. Upload it to OneDrive and share the link here, I will go to check the log files.

    Best Regards,
    Tianyu

    • 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.
    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

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.