I am trying to add source file into installer by WiX, but I meet the some problem and it seems there are some error in my XML file.
The error message is
error LGHT0204 : ICE30: The target file 'FILENAME' is installed in '[ProgramFiles64Folder]\ENTERPRICE_NAME\PRODUCT_NAME\' by two different components on an LFN system: '_01152' and '_02058'. This breaks component reference counting.
It's seems the same file point to the same location, but the sources are different in my XML file as below:
<Component Id="_01152" Guid="GUID_NUMBER_1" Win64="yes">
<File Id="_01152" Source=".\a\b\index.js" KeyPath="yes" />
</Component>
<Component Id="_02058" Guid="GUID_NUMBER_1" Win64="yes">
<File Id="_02058" Source=".\a\c\index.js"KeyPath="yes" />
</Component>
Not sure am I missing something in any attribute and hope someone who had the related experience could help me.
Thank you.