I've got a couple of solutions that represent a framework of code that I've built up at work. One solution called 'Framework' and another called 'Extensions'.
The reason I split them is that the 'Extensions' solution contain projects that consist of extension methods, and the projects are organized so that the resulting assemblies mirror the .NET assemblies.
I created a merge module project for 'Extensions', and an installer that uses it. It's all fine and dandy - but now I want to create an installer for 'Framework' that also uses that same merge module. Consequently, I'd like to modify the 'Extensions' installer to copy the 'Extensions' merge module file to C:\Program Files\Common Files\Merge Modules
so that the 'Framework' installer will have a well-known path by which to reference the merge module for 'Extensions', rather than referencing whatever obscure path my VS solution lives in (the reason being that the Framework will at times be built on different machines on which paths to VS projects may vary).
The MSDN documentation addresses this only briefly, and merely says that merge modules cannot be installed to the file system, but can only be "consumed".
Fail.
Does anyone know a way around this? Custom actions? How does the Visual Studio installer install it's merge modules?