ChocolateyPackages icon indicating copy to clipboard operation
ChocolateyPackages copied to clipboard

Updating visualstudio2019buildtools

Open JikaGrawe opened this issue 4 years ago • 2 comments

@jberezanski im installing choco packages via puppet and im not able to find out why puppet unable to update visualstudio2019buildtools from version 16.8.6.0 to the version 16.9.5.0

choco install visualstudio2019buildtools --package-parameters " --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.19041 --includeRecommended --passive --includeOptional "

ERROR: Running ["C:\WINDOWS\TEMP\chocolatey\visualstudio2019buildtools\16.9.5.0\vs_BuildTools.exe" update --passive --includeRecommended --wait --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools" --norestart --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Component.Windows10SDK.18362 --includeOptional] was not successful. Exit code was '87'.

See log for possible error messages. The upgrade of visualstudio2019buildtools was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'.

Failures

  • visualstudio2019buildtools (exited 87) - Error while running 'C:\ProgramData\chocolatey\lib\visualstudio2019buildtools\tools\ChocolateyInstall.ps1'. See log for details. (corrective)

JikaGrawe avatar May 26 '21 13:05 JikaGrawe

The Visual Studio Installer does not support --add ... parameters during update.

jberezanski avatar May 26 '21 18:05 jberezanski

See also #93.

jberezanski avatar May 26 '21 18:05 jberezanski