You can simply take the mdxredist.msi file from the component installer and run it using the regular configuration application in visual studio. You can add msi to your project. Prerequisite List:
Adding custom prerequisites.
Then you can right-click on the installation project and go to "Properties". Click the Prerequisites button and check your custom prerequisite in the list.
source
share