Unfortunately, you'll need to address the duplication yourself. The MSI database schema doesn't allow for primary keys to be duplicated.
Years ago, when I was using HarvestDirectory, I wrote some XSLT transforms to either remove duplicates or modify/set File/@Id to avoid duplication. I also had to modify my build to automatically apply the XSLT transforms to the HarvestDirectory generated wix source. -- Edwin G. Castro On Tue, Jun 9, 2015 at 8:23 AM, Brad Woodfiel <disp...@woodfield.ca> wrote: > Quick background on what I'm working on: > > I am creating a new WIX installer after years of using Install Shield for > multiple of our PowerBuilder applications. The PB apps use files from our > .Net applications and control libraries, so therefore are receiving files > from multiple locations. These external apps and libraries collections are > built through TFS and also share files between them. We also have an > internal TFS plugin to retrieve the output from these external builds and > drop them to the installer source locations before the build is executed. > > Because the internal and external files are under regular modification I've > been setting up the WIX installer to use Harvest tasks (File and Directory) > to automatically retrieve them from the installer build source location. > > The issue that I am currently running into is with the duplicate files in > the various files and the HarvestDirectory is causing "duplicate symbol" > errors. > > "Error 8 Duplicate symbol 'Component:cmp4F01576ED2586AF9D280A187DB1A1557' > found. This typically means that an Id is duplicated. Check to make sure > all your identifiers of a given type (File, Component, Feature) are unique. > " > > Is there a way to get around the duplicate files or allow the duplication > since they are going to the same location. > > Thx > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users