Bob Arnson wrote: >> I didn't find an obvious way to include a file only once in the MSI and >> install it to serveral locations ... >> > > Generally you don't. Instead, you can use WiX's support for "smart > cabbing" so that only a single copy of the file is included in your MSI > package regardless of how many times it's installed. See > http://robmensching.com/blog/archive/2007/06/01/quotSmart-cabbingquot-added-to-WiX-toolset.aspx > for details.
Yeah, I've found this article before ... but how would I do this within my app? Do I have to create multiple (identical) <File>-elements like this: <Component Id="CompA" Guid="..."> <File Id="CompA.SharedAssembly" Source="..." /> <File Id="CompAExe" Source="..." /> </Component> <Component Id="CompB" Guid="..."> <File Id="CompB.SharedAssembly Source="..." /> <File Id="CompBExe" Source="..." /> </Component> This seems to be quite hard to maintain, especially if the list of "shared assemblies" grows longer! -- ... Gentlemen: Start your debuggers... ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users