You could, and the way I've done this, make unique components for each file, but the Source attribute for the File is the same for all of them. I created a ComponentGroup, and then used <ComponentGroup Ref="cmpgroup1"/> in my feature.
<DirectoryRef Id="dir1"> <Component Id="cmp1" Guid="PUT-GUID-HERE"> <File Id="file1" KeyPath="yes" Source="C:\thefile.txt" /> </Component> </DirectoryRef> <DirectoryRef Id="dir2"> <Component Id="cmp2" Guid="PUT-GUID-HERE"> <File Id="file2" KeyPath="yes" Source="C:\thefile.txt" /> </Component> </DirectoryRef> <DirectoryRef Id="dir3"> <Component Id="cmp3" Guid="PUT-GUID-HERE"> <File Id="file3" KeyPath="yes" Source="C:\thefile.txt" /> </Component> </DirectoryRef> <ComponentGroup Id="cmpgroup1"> <ComponentRef Id="cmp1" /> <ComponentRef Id="cmp2" /> <ComponentRef Id="cmp3" /> </ComponentGroup> -AG On Sat, Oct 10, 2009 at 9:19 PM, Sean Farrow <sean.far...@seanfarrow.co.uk>wrote: > Hi: > > I have a situation where by I need to install file[s] in to more than > one directory. I have a multi-select listbox (custom dialog), on the > dialog disappearing I set a property with the selected strings I then > determine the directories these strings correspond to, then I need to > install the file in to both these directories. What is the best way of > doing this. I carn't really split the files in to features as it's the > same file and there is actually no feature tree displayed anyhow. > > Any help appreciated. > > Sean. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users