Try to manually modify one of the component codes after harvesting.
It's not Windows Installer best practice to include the same file
(component) several times in the installation.

Also comp. 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Install-the-same-file-into-multiple-directories-td693128.html


2010/9/3  <abdoulaye.souleyma...@rohde-schwarz.com>:
>
> 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
>

------------------------------------------------------------------------------
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

Reply via email to