when i try to run the visual studio installer for community 2022, the progress bar fills up two thirds of the way, and then it closes itself.

Yiak65 0 Reputation points
2023-01-11T13:29:31.7766667+00:00

[1/11/2023, 7:18:43] === Logging started: 2023/01/11 07:18:43 ===

[1/11/2023, 7:18:43] Executable: C:\Users\hkhut\Downloads\VisualStudioSetup.exe v17.4.33213.308

[1/11/2023, 7:18:43] --- logging level: standard ---

[1/11/2023, 7:18:43] Directory 'C:\Users\hkhut\AppData\Local\Temp\e13ac529f5d8abfff3da' has been selected for file extraction

[1/11/2023, 7:18:43] Extracting files to: C:\Users\hkhut\AppData\Local\Temp\e13ac529f5d8abfff3da\

[1/11/2023, 7:18:43] Extraction took 390 milliseconds

[1/11/2023, 7:18:43] Executing extracted package: 'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline ' --env "_SFX_CAB_EXE_PACKAGE:C:\Users\hkhut\Downloads\VisualStudioSetup.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\hkhut\Downloads"'

[1/11/2023, 7:18:43] User may have declined UAC prompt

[1/11/2023, 7:18:43] Error 0x80070642: Failed to start the process

[1/11/2023, 7:18:43] Error 0x80070642: Failed to execute file

[1/11/2023, 7:18:43] The entire Box execution exiting with result code: 0x80070642

[1/11/2023, 7:18:43] Launched extracted application exiting with result code: 0x0

[1/11/2023, 7:18:43] === Logging stopped: 2023/01/11 07:18:43 ===

Developer technologies | Visual Studio | Setup
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2023-01-12T07:30:26.6133333+00:00

    Hello @Yiak65,

    Welcome to Microsoft Q&A forum.

    Please try following suggestions:

    1. Please reboot your machine and then right-click and run the setup file as administrator.
    2. Please check and try to disable any extensions/antivirus software/proxy… and run the setup file again.
    3. Please make sure that you have full permissions for installing VS 2022, and check if your machine is included in group policy.
    4. If there are some limits on your machine, you may try to communicate with your administrator.

    Feel free to contact us.

    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.

    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.