ChocolateyPackages icon indicating copy to clipboard operation
ChocolateyPackages copied to clipboard

vs2017 webbuildtools: installation still running in the background after Choco reports successfull install

Open jberezanski opened this issue 8 years ago • 3 comments

Reported on Disqus:

Der Meister • an hour ago
Chocolatey says that install was successful, but tasks and targets are not created. I see vs_installer.exe, vs_installerservice.exe and 2 copies of vs_installershell.exe in task manager. The processes consume CPU.

It means that the Choco package does not wait until the actual installation is completed.

jberezanski avatar May 18 '17 07:05 jberezanski

Possibly related to #7.

Did this happen on a fresh installation of VS 2017 or did you already have VS 2017 installed for some time and only now decided to add the webbuildtools workload to it?

jberezanski avatar May 18 '17 07:05 jberezanski

I had vs_installer on that machine, but it was crashing with node.dll is missing error(https://developercommunity.visualstudio.com/content/problem/24239/cannot-uninstall-microsoft-visual-studio-2017-inst.html). I copied installer from my developer PC.

May be VS installation is corrupted on the machine.

dermeister0 avatar May 23 '17 02:05 dermeister0

I think what happened was that when you launched choco install visualstudio2017-workflow-webbuildtools, the VS installer decided it needed to upgrade itself and you got bitten by #7. I'm planning to work around this in two ways: 1) in the install script, detect and wait for other VS installer processes, 2) make the VS installer upgrade operation explicit by putting the logic to do that it in the visualstudio2017-installer package. Stay tuned.

jberezanski avatar May 27 '17 19:05 jberezanski