Not able to open Visual Studio Community installer

0

I am trying to install Visual Studio Community edition using the installer from the official site but when I download the installer and run it ,it opens and automatically closes within 2 secs. I am just not able to get my head around as to why it is not working. Any suggestion would be greatly appreciated.

Here are the log file

Beginning of the log. Start Time: 5/1/2021 12:40:35 AM
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: Commandline arguments = --env,_SFX_CAB_EXE_PACKAGE:C:\Users\himan\Downloads\vs_community__557207469.1619805124.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\himan\Downloads
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: C2R signature did not exist or could not be read: 
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: Parent process name = vs_community__557207469.1619805124
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: Parent process product version = 16.9.31205.134
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: CampaignId = 557207469.1619805124
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: ResponseId not available in 'vs_setup_bootstrapper.config'. Trying to parse filename.
VisualStudio Bootstrapper:5/1/2021 12:40:35 AM: loading config settings: -update --update --layout -offline --offline --locale --layout --originalworkingdir --installLayoutPath --env
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: DownloadURL = https://aka.ms/vs/16/release/installer
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: OfflineFilePath = 
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: LayoutLocation = 
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: ExecutableArguments = /finalizeInstall install --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper_202105010040360004.json" --locale en-US --activityId "56bd55db-dd7d-4194-a911-20c87ef1ffcb" --campaign "557207469.1619805124"
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: OSVersion = Microsoft Windows NT 10.0.19042.0
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: Starting to detect the existing VS and .NET...
VisualStudio Bootstrapper:5/1/2021 12:40:36 AM: Finished detecting the existing VS and .Net

The 2nd one

[5/1/2021, 0:40:35] === Logging started: 2021/05/01 00:40:35 ===
[5/1/2021, 0:40:35] Executable: C:\Users\himan\Downloads\vs_community__557207469.1619805124.exe v16.9.31205.134
[5/1/2021, 0:40:35] --- logging level: standard ---
[5/1/2021, 0:40:35] Directory 'C:\Users\himan\AppData\Local\Temp\32171f8d8288561c0f60c0\' has been selected for file extraction
[5/1/2021, 0:40:35] Extracting files to: C:\Users\himan\AppData\Local\Temp\32171f8d8288561c0f60c0\
[5/1/2021, 0:40:35] Extraction took 375 milliseconds
[5/1/2021, 0:40:35] Executing extracted package: 'vs_bootstrapper_d15\vs_setup_bootstrapper.exe ' with commandline '  --env "_SFX_CAB_EXE_PACKAGE:C:\Users\himan\Downloads\vs_community__557207469.1619805124.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:\Users\himan\Downloads"'
[5/1/2021, 0:40:38] The entire Box execution exiting with result code: 0x0
[5/1/2021, 0:40:38] Launched extracted application exiting with result code: 0xc0000005
[5/1/2021, 0:40:38] === Logging stopped: 2021/05/01 00:40:38 ===

visual-studio
asked on Stack Overflow Apr 30, 2021 by Himanshu • edited May 4, 2021 by Jeaninez - MSFT

1 Answer

1

Maybe try uninstalling and deleting all previous files for VS Code and then reinstall.

answered on Stack Overflow May 1, 2021 by saudalikhan

User contributions licensed under CC BY-SA 3.0