Hi John As you indicated the wxs file is not known until build time :( I've managed to solve the problem with a touch of code generation though. I moved all the wxs and wxi files into the solution but I don't reference them anywhere (thus they won't be included in the final msi). In order to include the data for a specific client I generate a wxs file that references the component groups defined in the client wxs. So my solution looks like:
MyProject Clients Client1 Client1.wxs Client1Include.wxi Client2 Client2.wxs Client2Include.wxi ClientLink.wxs ... rest of the solution The ClientLink.wxs file is generated by the build system to include the features defined in Client1.wxs or Client2.wxs. This should mean that we only link in the desired files (eventhough we always compile all of them). In any case thanks for your help :) Patrick On Tue, Mar 30, 2010 at 23:54, John L Krupka <john.kru...@nmwco.com> wrote: > > OK. when I reread your post, it made me think that maybe the wxs file in > question is not known until build time. If that is not the case, then what > I told you should work fine. Otherwise, I would generate the candle and > light commands at build time adding the needing wxs file. But that is not > as convenient if you are already build with the wixproj file. Hope the > first suggestion works. > -- > View this message in context: > http://n2.nabble.com/How-to-dynamically-include-external-WXS-files-tp4815618p4824025.html > Sent from the wix-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users