Hi,
We have a number of large solutions which I am creating the installer for. There will only be a single final "installer" (i.e. msi), but there will be a few features within that. I am not sure of the best way to structure the wix library projects. I am opting away from merge modules as it sounds like the wix library is the way to go if you have no external dependencies. The way I am structuring it is to have a wix library project in EACH solution, so each solution's library is responsible for bundling up all installable assemblies for that solution. Then I plan to have a main "product" type installer which references all the wix library projects and bundles them all together, specifying the feature sets etc. What I am unsure of is how to best structure each wix library's "Fragment" element. Note that in the final product all assemblies from all solutions should be in a single directory containing the entire product's assemblies. This directory should ideally be set in the main installer package library. These questions refer to the wix library projects: - Should all <File> elements that refer to an assembly be housed within the same <Component> element as all other assemblies for the solution? (They are all related to the same thing) - Should each <Fragment> contain a <Directory> element, and specify the location of where to be installed to, or should the Fragment just contain a <Component> which can then be referred to by the main Package? - If each Fragment should contain a <Directory> element, my understanding is that the root <Directory> element in the fragment needs to be <Directory Id="TARGETDIR" Name="SourceDir">. If I would like to have the files installed in the application's directory (as specified by the final Package), what <Directory> element do I need nested within the TARGETDIR parent one? The following link says that each Fragment must know the location, but it is over a year old and this limitation may no longer exist? If the directory path needs to be duplicated then maybe it's better to just have everything in a component and then include that in a <Directory> from the Package? http://n2.nabble.com/Source-directory-resolution-in-fragments-td701658.html# a701662 Thanks for your help! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users