Visual Studio 2019/2022 installation exited unexpected

Wei David 0 Reputation points
2023-03-20T02:14:48.26+00:00

When I run setup of visual studio 2019/2022 in my windows 10 20H2, it start progress bars for a while, then existed quietly without any messages.

log file attached, please help

dd_installer_20230319214415.log

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,466 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,038 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,032 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Anna Xiu-MSFT 28,576 Reputation points Microsoft Vendor
    2023-03-20T09:39:31.4766667+00:00

    Hi @Wei David

    Welcome to Microsoft Q&A! 

    Can you find the process in your Task Manager?

    If you have anti-virus software or group policy settings on your pc, please temporarily disable them. 

    You can create a clean folder in other drive and run the setup file as administrator. 

    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

  2. Limitless Technology 44,221 Reputation points
    2023-03-20T13:56:25.0066667+00:00

    Hello there,

    Check if you have any Antivirus or other services blocking the installation. You can check the background service to verify this.

    Also uninstall older versions and delete all residual files.

    Please try the following suggestions and see if that helps;

    -Please reboot your machine and then right-click and run the setup file as administrator.

    -Please check and try to disable any extensions/antivirus software/proxy… and run the setup file again.

    -Please make sure that you have full permissions for installing VS 2022, and check if your machine is included in the group policy.

    -If your machine has some limits, you may try to communicate with your administrator.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

  3. Wei David 0 Reputation points
    2023-03-22T23:45:51.2566667+00:00

    thanks, both solutions are not work for me, this computer been install VS before, I removed it after it is corrupted, now I can not install it, can someone explain to me about following installation log:

    [3710:0001][2023-03-22T19:32:21] Setting the locale to en-US.
    [3710:0001][2023-03-22T19:32:21] Saving the current locale (en-US) to user.json.
    [3710:0001][2023-03-22T19:32:21] Setting the telemetry services
    [3710:0001][2023-03-22T19:32:21] Visual Studio Installer Version: 3.5.2145
    [3710:0001][2023-03-22T19:32:21] Raw Command line: "C:\Program Files (x86)\Microsoft Visual Studio\Installer\setup.exe" /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_202303221932164242.json" --includerecommended --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.Azure --add Microsoft.VisualStudio.Workload.NetWeb --locale en-US --activityId "e9dcb999-70e1-48a1-b352-2bd70b328f7c" --campaign "2030:5849e7cabe2449ae95acadd0c23dda2e" --pipe "d56141db-d6a2-424a-ba09-a59e80ec3abc"
    [3710:0001][2023-03-22T19:32:21] Parsed command line options: install --activityId e9dcb999-70e1-48a1-b352-2bd70b328f7c --add Microsoft.VisualStudio.Workload.ManagedDesktop Microsoft.VisualStudio.Workload.Azure Microsoft.VisualStudio.Workload.NetWeb --campaign 2030:5849e7cabe2449ae95acadd0c23dda2e --channelId VisualStudio.17.Release --channelUri https://aka.ms/vs/17/release/channel --includeRecommended --locale en-US --pipe d56141db-d6a2-424a-ba09-a59e80ec3abc --productId Microsoft.VisualStudio.Product.Community
    [3710:0003][2023-03-22T19:32:21] Creating a new telemetry service.
    [3710:0001][2023-03-22T19:32:21] Error 0x80131511: Unhandled exception has occurred: System.MissingFieldException: Field not found: 'Microsoft.VisualStudio.Setup.Services.TelemetryConstants.ALLOWMUUPDATESERVICE'.
       at Microsoft.VisualStudio.Setup.Installer.InstallerTelemetry.AddUpdateReleatedGroupPolicyRegValues(Dictionary`2 result, IRegistry registryService)
       at Microsoft.VisualStudio.Setup.Installer.InstallerTelemetry.GetAppRunProperties(ICommandLineParserResult`1 parserResult, IRegistry registryService)
       at Microsoft.VisualStudio.Setup.Installer.Program.ExecuteInternal(IServiceContainer services, ICommandLineParserResult`1 parserResult, ITelemetry telemetry, ILogger logger)
       at Microsoft.VisualStudio.Setup.Installer.Program.Execute(IServiceContainer services, ICommandLineParserResult`1 parserResult)
       at Microsoft.VisualStudio.Setup.Installer.Program.Main(String[] args)
       at Microsoft.VisualStudio.Setup.Installer.InstallerTelemetry.AddUpdateReleatedGroupPolicyRegValues(Dictionary`2 result, IRegistry registryService)
       at Microsoft.VisualStudio.Setup.Installer.InstallerTelemetry.GetAppRunProperties(ICommandLineParserResult`1 parserResult, IRegistry registryService)
       at Microsoft.VisualStudio.Setup.Installer.Program.ExecuteInternal(IServiceContainer services, ICommandLineParserResult`1 parserResult, ITelemetry telemetry, ILogger logger)
       at Microsoft.VisualStudio.Setup.Installer.Program.Execute(IServiceContainer services, ICommandLineParserResult`1 parserResult)
       at Microsoft.VisualStudio.Setup.Installer.Program.Main(String[] args)
    [3710:0003][2023-03-22T19:32:25] Telemetry session ID: 98a8244f-fc83-4dcf-b896-c386c851bc87
    [3710:0001][2023-03-22T19:32:25] Cleared previous session ID.
    [3710:0005][2023-03-22T19:32:25] Creating new ExperimentationService
    [3710:0001][2023-03-22T19:32:25] Releasing singleton lock.
    [3710:0001][2023-03-22T19:32:25] Singleton lock does not exist. Releasing singleton lock skipped.
    [3710:0005][2023-03-22T19:32:25] Telemetry property VS.ABExp.Flights : lazytoolboxinit;fwlargebuffer;refactoring;spmoretempsbtn1;asloff;keybindgoldbarext;asynccsproj;vsfricheditor;completionapi;typeimportcompletion:30562486;multitenanttasmigration_002:30108253;vsttk:30514303;vsttkdebugcheckerexpcf:30634194;4f604693:30635375;i4588376:30691594;fijh5155:30690136
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.source : WPF
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.locale : en-US
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.installerversion : 3.5.2145.59678
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.startmethod : indirect
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.activityid : e9dcb999-70e1-48a1-b352-2bd70b328f7c
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.campaign : 2030:5849e7cabe2449ae95acadd0c23dda2e
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.passive : False
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.quiet : False
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.processtype : ui
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.force : False
    [3710:0003][2023-03-22T19:32:26] Telemetry property vs.willow.noweb : False
    [3710:0003][2023-03-22T19:32:26] Adding Install Log to 
    
    

    Thanks

    David


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.