Virtual-environments: Add Microsoft.VisualStudio.Component.VC.Redist.MSM for Visual Studio 2019 in Windows Server 2019

Created on 20 Dec 2019  路  4Comments  路  Source: actions/virtual-environments

Tool information

Area for Triage: C/C++
Question, Bug, or Feature?: Feature

Virtual environments affected

  • [ ] macOS 10.15
  • [ ] Ubuntu 16.04 LTS
  • [ ] Ubuntu 18.04 LTS
  • [ ] Windows Server 2016 R2
  • [x] Windows Server 2019

Can this tool be installed during the build?
Currently, as a workaround, we install this component via the PowerShell, using the following command:
Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe" -ArgumentList 'modify --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise" --quiet --add Microsoft.VisualStudio.Component.VC.Redist.MSM' -Wait -PassThru

It takes 10-15 minutes to install, that's why we would like to have it installed in advance to reduce the duration of every build.

Are you willing to submit a PR?
Kindly, add this component name Microsoft.VisualStudio.Component.VC.Redist.MSM into the VS 2019 installation script here https://github.com/actions/virtual-environments/blob/master/images/win/scripts/Installers/Windows2019/Install-VS2019.ps1 into $WorkLoads list. This should do it.

C++ enhancement needs eyes

All 4 comments

This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity.

@allexzander sorry for the delay in looking at this. Is it still an issue for you?

@allexzander sorry for the delay in looking at this. Is it still an issue for you?

Hi @alepauly,

We are using a workaround by manually installing this component during the build process. It would be nice to have it added by default into a virtual OS image, so we would save the time spent for the installation for every build.

Hi @allexzander, we briefly looked into it and considering the size of the component and maintenance concerns, we won't be baking it into the image at this time.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

adamsiembida picture adamsiembida  路  3Comments

orj picture orj  路  4Comments

jayaddison picture jayaddison  路  3Comments

ethomson picture ethomson  路  4Comments

ydnar picture ydnar  路  3Comments