Alex, Thanks very much. That is very helpful. That might be worth adding to your very useful blog. I refer to it almost daily!
Ian -----Original Message----- From: Alexander Shevchuk [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 3:39 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] fragments and include files Hi Ian, In simplest terms: everything from <?include ...?> will end up in your msi database. Only fragments which are referenced from the main code will be included in resulting msi database. For example: File1.wxs: <Fragment> <Property Id="Included" Value="123" /> </Fragment> File2.wxs: <Fragment> <Property Id="NotIncluded" Value="456" /> </Fragment> Main.wxs: <Product ... > <PropertyRef Id="Included" /> </Product> In addition, you can compile file with fragment in it into wixlib library and share your code in the form of a "binary" library rather than actual source code. For in-house development this is a better alternative to merge modules. -----Original Message----- From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 11:04 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] fragments and include files Hi, I haven't yet used Wix fragments but have used a couple of include commands. I've been trying to research what the difference is between using fragments vs including code via <?include file.wxs ?> type tags but am not finding anything. Can anyone offer a basic explanation on how the two differ? Thanks, Ian ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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 ------------------------------------------------------------------------- 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