So, to add a dependency for merge modules, you should add the <moduledependencies> tag to the merge module xml fragment.
I just added some documentation to the install tasks (two nights ago), but unfortunately the nightly build docs haven't been generated with this new information. In that documentation (for the msm task), I described the moduledependencies element and the sub-element(s) for it. It might be worth grabbing the latest from CVS and generating the documents yourself. That way you can view the help docs for msi/msm tasks... Basically you'll want to add an element similar to this for the B module fragment. Note, the id attribute should equal the id of the dependent merge module (A). <moduledependencies> <dependency id="MergeModule.A.2D74BC37-7F9F-4DFA-B9D4-E048F74CCE2D" language="0" /> </moduledependencies> Then you would add both merge modules to the msi install. For more information about module dependencies, check out the page about them: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/moduledependency_table.asp If you need further information, please don't hesitate to ask. Jim > -----Original Message----- > From: John Cole [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 1:52 PM > To: 'James Geurts' > Subject: RE: [NAntC-Dev] Example for creating a simple msm file? > > Jim, > Thanks very much! Your NAnt version worked! I'll keep trying to get > the > cvs version working, but I have yours in case it doesn't. > > Now another msm question :-) I have created a msm file from your > example. > If I wanted to add a msm as a dependency to the example, how would I do > that? > > For example if I create a msm for a.dll and then need to create a msm > for > a.dll, but b.dll depends on a.dll, how do I make the b.msm include > a.msm? > > Thanks again for your help. > > John Cole > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ NAntContrib-Developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nantcontrib-developer