For questions about running previous versions of Visual Studio side by side with Visual Studio 2017, see the Visual Studio compatibility details. Step 2 - Download Visual Studio Next, download the Visual Studio bootstrapper file.
Active26 days ago
visual studio 2017 community.exe won't run after extracting to the temp.
OS: windows 10 x64bit
Setup : community version
in the temp folder bootstrapper log says,
Beginning of the log. Start Time: 3/26/2017 1:14:54 AMVisualStudio Bootstrapper:3/26/2017 1:14:54 AM: Current Optin root path does not exists
VisualStudio Bootstrapper:3/26/2017 1:14:55 AM: Commandline arguments =
VisualStudio Bootstrapper:3/26/2017 1:14:55 AM: Commandline arguments =
and the dd_vs_community_decompression_log says
[3/26/2017, 11:17:47] Logging started: 2017/03/26 11:17:47
[3/26/2017, 11:17:47] Executable: C:UsersSameeraDownloadsProgramsvs_community.exe v15.0.26228.0
[3/26/2017, 11:17:47] --- logging level: standard ---
[3/26/2017, 11:17:47] Directory
'C:UsersSameeraAppDataLocalTemp4ceac4b7b9cd9fdf2489526c66' has been selected for file extraction
[3/26/2017, 11:17:48] Extracting files to: C:UsersSameeraAppDataLocalTemp4ceac4b7b9cd9fdf2489526c66
[3/26/2017, 11:17:48] Extraction took 360 milliseconds
[3/26/2017, 11:17:48] Executing extracted package: 'vs_bootstrapper_d15vs_setup_bootstrapper.exe ' with commandline ' '
[3/26/2017, 11:18:10] The entire Box execution exiting with result code: 0x0
[3/26/2017, 11:18:10] Launched extracted application exiting with result code: 0xc000000d
[3/26/2017, 11:18:10] Logging stopped: 2017/03/26 11:18:10
[3/26/2017, 11:17:47] Logging started: 2017/03/26 11:17:47
[3/26/2017, 11:17:47] Executable: C:UsersSameeraDownloadsProgramsvs_community.exe v15.0.26228.0
[3/26/2017, 11:17:47] --- logging level: standard ---
[3/26/2017, 11:17:47] Directory
'C:UsersSameeraAppDataLocalTemp4ceac4b7b9cd9fdf2489526c66' has been selected for file extraction
[3/26/2017, 11:17:48] Extracting files to: C:UsersSameeraAppDataLocalTemp4ceac4b7b9cd9fdf2489526c66
[3/26/2017, 11:17:48] Extraction took 360 milliseconds
[3/26/2017, 11:17:48] Executing extracted package: 'vs_bootstrapper_d15vs_setup_bootstrapper.exe ' with commandline ' '
[3/26/2017, 11:18:10] The entire Box execution exiting with result code: 0x0
[3/26/2017, 11:18:10] Launched extracted application exiting with result code: 0xc000000d
[3/26/2017, 11:18:10] Logging stopped: 2017/03/26 11:18:10
can't find proper solution..
sameera madushansameera madushan
15 Answers
I was able to resolve my problem after 4 days of troubleshooting with Microsoft support. I'm developing on a Dell laptop and the support technician believes one of the Dell services was causing issues with the winmgmt service.
Below is a command that failed to run. Then after making sure we had an OS restore point saved, we issued the /resetRepository command. After that, the VS 2017 Pro installer was able to execute without error.
EDIT: Adding the exact steps and code sample below:
Step 1: Create a Windows system restore point.
Step 2: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt
Step 3: Open a Windows Explorer and locate the path to C:windowssystem32WBEM folder and rename the Repository folder to something else like RepositoryOLD (right click and choose 'Rename Folder').
Step 4: restart the computer
Step 5: From the command prompt with administrative rights or elevated privileges, execute the following command: net stop winmgmt
Step 6: From the command prompt with administrative rights or elevated privileges, execute the following command: winmgmt /resetRepository
Step 7: restart the computer.
![Visual Studio 2017 Won't Open Visual Studio 2017 Won't Open](/uploads/1/2/5/6/125642547/427206287.png)
Hope this helps anyone with a similar Visual Studio 2017 installer issue.
SHClarkSHClark
I had this problem too. SHClark's answer didn't work for me. I figured out myself what was causing the problem on my computer: Mirekusoft Install Monitor. I disabled both its services and that solved the problem. (I guess that's not an extremely likely program for someone to have running, but it could be a problem common to install monitors in general?)
I also heard from someone on the Visual Studio Community forum that RivaTunerStatistics (used for gaming) can cause this problem too.
inhaheinhahe
One of my co-workers encountered the same problem. We spent 4 hours searching for solutions, uninstalling VS and other software that we thought might be the culprit.
In the end, THIS LINK helped us figure it out. The problem is somehow explained there and is linked to
NODE_OPTIONS variable
. If you have that variable set, remove it then restart your computer. This solved his problem.Configuration:Widows 10, Visual Studio 2017 Enterprise.
I hope this helps you
SimoncaSimonca
Copy vs_community.exe to a USB and run. It will work.
Oğuzhan TürkOğuzhan Türk14122 gold badges22 silver badges1515 bronze badges
I had the same (or similar) problem. I couldn't update VS2017, either from within the program or by trying to run the installer.The web page at https://docs.microsoft.com/en-us/visualstudio/install/troubleshooting-installation-issues had instructions that resolved the problem. For me, deleting the 'Installer' directory and then retrying the installation resolved the problem.
user3246883user3246883
Try deleting this folder
Olcay ErtaşC:Program Files (x86)Microsoft Visual Studio
.Restart the install.2,70066 gold badges5757 silver badges8888 bronze badges
Sidahmed ArrouiSidahmed Arroui
It's the same answer as in question visual studio 2017 install break : it not get start just in case you don't observe the other question.
I had the same Problem on two different Pc's (both win10) and the only thing that worked for me, was reinstalling Windows's and rerun the visual studio installer. I know, that's not a good, fast or easy solution, but it works.
Community♦
![Visual Visual](https://www.visualstudio.com/wp-content/uploads/2017/02/Swimlane-2-DockerPublish-1280x1024.png)
81111 gold badge1414 silver badges2323 bronze badges
I have been having this issue all day and MS support were not able to help. To solve my issue, I updated my video driver to the latest version (I was intentionally using an old driver as the new versions don't support my monitor resolution). The visual studio installer must use a GUI tech not supported by my older card and just fails before the installer GUI loads. The same issue happened with the older, offline installers for older versions such as VS2013.
FinFin
I had the same issue, the fix is: go to reigonal settings from control panel, then on the administrative tab select (or if selected reselect) current language for non-unicode programs. than try again.
LicentiaLicentia
I had the same problem. Here is my solution:
- right click vs installer, extract with winrar.
- go to extracted folder.
- run:
vs_setup_bootstrapper.exe
This worked for me :)
Patrick1,39066 gold badges1515 silver badges2727 bronze badges
Levent KAYALevent KAYA
I had the same problem and the problem was my user name containing both space and a non ascii character (Olcay Ertaş). I have moved the installer to my root folder and it worked. This is probably the reason why @oğuzhan-türk's solution is also working.
Olcay ErtaşOlcay Ertaş2,70066 gold badges5757 silver badges8888 bronze badges
I had the same problem also (with a Dell labtop) and SHClark's didn't work for me.Here is what I did:
I used the command line to create a local cache of the files you need to complete an offline install
[ctrl] [shift] [enter]
for the cmd prompt to run as admin1) typed
once it was done downloading to
h:vs2017layout
,2)opened
h:vs2017layoutvs_setup.exe
finally got it to open after extracting but ran into this error:so I created a link for the
c:ProgramDataMicrosoftVisual Studio
folder using the following command at windows cmd promt:It worked after that. Not sure if the second error was related to the first. Hope this helps.
Olcay Ertaş2,70066 gold badges5757 silver badges8888 bronze badges
Ryan JohnsonRyan Johnson
If you have Win8 you needed to update your system to 8.1 ver. and restart your computer.
Andronicus9,07977 gold badges2222 silver badges3838 bronze badges
ZibiZibi
I had this problem. Turned out there was an old, failed installation on the drive. I had to go to Control Panel->Add/Remove Programs and remove Visual Studio Install Tool. After that the installer worked fine.
Andy KrouwelAndy Krouwel
Faced the same problem with Visual Studio 2019, but I think version doesn't matter here. This thread helped me: https://developercommunity.visualstudio.com/content/problem/326811/vs-community-installer-not-running-working.html.The reason was in somehow corrupted .NET files.
Actions applied:
- deleted all apps with 'Microsoft .NET' in name using https://support.microsoft.com/ru-ru/help/17588/windows-fix-problems-that-block-programs-being-installed-or-removed
- downloaded and installed latest version of .NET Framework Runtime (not .NET Core Runtime) from https://dotnet.microsoft.com/download, in my case it was version 4.8
- restarted PC
This helped me.
yuriyzabegaevyuriyzabegaev