A Development Team is getting the following when creating a Windows GUI C MSI using the Build Tool. The team is using Visual Studio 2019 (VS2019).
[exec] C:\Program Files (x86)\CA\Gen86\gen\bt\scripts\WiX\VSRuntime.wxs(20) : error LGHT0103 : The system cannot find the file 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Redist\MSVC\14.28.29325\MergeModules\Microsoft_VC142_CRT_x86.msm'.
[exec] C:\Program Files (x86)\CA\Gen86\gen\bt\scripts\WiX\VSRuntime.wxs(21) : error LGHT0103 : The system cannot find the file 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Redist\MSVC\14.28.29325\MergeModules\Microsoft_VC142_MFC_x86.msm'.
[exec] C:\Program Files (x86)\CA\Gen86\gen\bt\scripts\WiX\VSRuntime.wxs(22) : error LGHT0103 : The system cannot find the file 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Redist\MSVC\14.28.29325\MergeModules\Microsoft_VC142_MFCLOC_x86.msm'.
Release : 8.6
Component : CA Gen Build Tool
The Microsoft Visual Studio 2019 needs to have the "C++2019 Redistribute MSMs" installed.