Here is the situation:
- I have a Visual Studio 2010 Setup project which installs a C# executable
- The installation includes a C# dll that references a C++ dll
- The C++ dll requires the C++ 2008 libraries
The problem is that it is very easy to make the setup project install the C++ 2010 libraries, but I am not having much luck trying to install 2008.
- For 2010, it is as simple as selecting C++ 2010 in the Properties > Prerequisites section of the project. 2008 is not an option.
- I have found much documentation about using merge modules to install C++ redistributables. However, in the C:\Program Files (x86)\Common Files\Merge Modules directory of my machine, I only have C++ 2010 merge modules. I have not been able to find the C++ 2008 merge modules available for download from any reputable source.
- I can download the redistributable installer easily enough, but I do not know how to make the setup project use it.
- I found this MSDN article on creating bootstrapper packages. Hopwever, the Bootstrapper Manifest Generator only seems to work for VS2008 and VS2005 (see comments).
I do not have the authority/ability to do any of the following, which I believe could resolve the issue:
- Install VS2008 to get the correct merge modules
- Use a different installer program, like InstallShield.
- Re-compile the C++ dll to use the 2010 libraries.
If anyone has encountered and resolved this issue before, I welcome your help.