Search code examples
windowswixwindows-installerwix3.5wix3

How to include MFC and Visual Studio CRT libraries into MSI installer?


I'm trying to learn how to write MSI installer. I'm using WiX, and I'm curious. My application comes with the dependencies to the followign MFC and CRT libraries:

mfc90u.dll
msvcr90.dll

How do you install those?


Solution

  • There are some choices listed here. I recommend using the appropriate redistributables instead of installing individual DLLs.

    With WiX 3.6 and later, you can create a chainer that runs multiple installers. You can create a VS project for that with a WiX Bootstrapper template.