Search code examples
wixwix3.5msvcrt

Automatic installation of run-time libraries with WiX


When my file set includes DLLs with one ore more dependencies to the C++ run-time DLLs I need to install the file from VCRedist.exe. This can be difficult, since each DLL is dependent on a specific version of the C++ run-time.

  • How do I add automatically the run-time redistributables to my installer?

  • How do I handle DLLs that require different versions of the C++ run-time in the WinSxS?


Solution

  • Neither heat nor Votive does support the requested feature. The run-time DLLs must be added manually.