Heat is largely intended to make it easier to create a first draft of your installer. You're then supposed to edit the results by hand to create the final product, so that's what I'd recommend. If you must do repeated, automatic harvesting then you can either rename your source files or transform your wxs fragments to change one of the duplicate IDs before linking them together. The -t switch in heat is useful for that.
-----Original Message----- From: abdoulaye.souleyma...@rohde-schwarz.com [mailto:abdoulaye.souleyma...@rohde-schwarz.com] Sent: 03 September 2010 10:00 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Generating fragments using heat Hello all, i have the following problem: I try to harvest the two directories below using heat: C:\MyfolderA C:\MyfolderB MyFolderA contains: file1.txt, file2.txt MyFolderB contains file1.txt, file3.txt file1.txt in MyFolderA and file1.txt in MyFolderB are identical. Later the collected files should be installed in MyFolderC. I harvested the dierctories above with the follwing commands. heat dir C:\MyfolderA -cg AFiles -ag -scom -sreg -sfrag -srd -dr MyFolderC -out AFilesFragment.wxs heat dir C:\MyfolderB -cg BFiles -ag -scom -sreg -sfrag -srd -dr MyFolderC -out BFilesFragment.wxs After harvested the directories i included the files AFilesFragment.wxs and BFilesFragment.wxs into my project installer. The componentGroup created hier are now referenced in the feature part of my product Try to build the project produced the folloqing errors: Duplicate symbol 'Component:cmp07DE19D84BED137D10D525F675F6F293' found in file BFilesFragment.wxs. It is obvious that this error leads to the common file file1.txt . Can anyone help me solve this problem? MfG Abdoulaye Souleymanou Stangl Software Integration ------------------------------------------------------------------------ ------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2"><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a></font> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users