I am creating the installer for my application using a "Visual Studio Installer" project type in Visual Studio 2017.
I want my installer to install visual c++ redistributable 2015 with my application. I've downloaded the vc_redist.x86.exe file, included it in my project, and I'm trying to do the install as a custom action on "install". I am launching with the arguments /install /passive /norestart.
When I execute my installer, when it does the custom action, I get this error:
There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.
I can run vc_redist.x86.exe /install /passive /norestart at the command prompt with no problem or errors.
Any suggestions or alternative ways to include Visual C++ redistributable as part of my install?