We just migrated our installer from WiX 2.x to WiX 3.6 and started using Burn. Previously, we were installing the Visual C++ redistributable by including the .msm files from C:\Program Files\Common Files\Merge Modules
to our MSI. Those files are always in sync with the one we use to build our product (they are updated frequently by Microsoft to include security fixes).
Now, we would like to have the Visual C++ redistributable downloaded only if required by using the Burn framework. However, Burn does not define a MsmPackage
element to place inside Chain
.
What is the best approach for deploying Visual C++ redistributable using Burn?