I have a project that I'm trying to build an installer for using a Visual Studio setup project. I'm wondering if there is a way to get the MatLab Compiler Runtime included as a prerequisite. Right now I have to include the MCRSetup.exe and have the user run that first and then my installer. Not too onerous but I was just wondering if there is a way to make it all happen in one step, so that the MCR stuff gets installed the same way that .NET and the C++ runtime libs get installed.
I did try going to the prerequisites tab but there is no choice for selecting the MCR (not that I expected one). I also tried adding the MCRInstaller.exe to my Application Folder. This almost works (much to my surprise). The MCR Installer runs automatically and appears to be the last step. However, it fails before it gets very far because it senses that another installer is running (which is my project that launched it) and the user is instructed to quit that installer first. I'm sure my users will find this confusing and I was hoping to make it a little more seamless.