TargetPath in MergeModule

panneer's picture

Hi,

I created a new MergeModule. I want to copy MergeModule files into INSTALLDIR path of main project [ where i'm including the mergemodule ]. Is it possible? How can i specify the INSTALLDIR path in mergemodule?

Thanks for the Help,
Panneer.

VBScab's picture

To be clear, you want the MM

To be clear, you want the MM to pick up INSTALLDIR from whichever MSI contains that MM?

Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.

panneer's picture

To be clear, you want the MM

To be clear, you want the MM to pick up INSTALLDIR from whichever MSI contains that MM?

Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.

Yes. I want MM to pick up INSTALLDIR path and all MM files should be copied to INSTALLDIR path.

Thanks for the Help,

Panneer.

AngelD's picture

You could

You could read the INSTALLDIR from the MSI (during installation) and use a set directory custom action to point the component within the merge module to "install" its components to that location.