If you use Heat.exe to harvest your source files, the File/@Id will be generated automatically.
-- Yan -----Original Message----- From: mbulli...@aol.com [mailto:mbulli...@aol.com] Sent: Tuesday, 22 June, 2010 14:33 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Same file name different locations Hello list, following XML throws this error while linking: error LGHT0091: Duplicate symbol 'File:FileA' found. <Directory Id="TARGETDIR" Name="SourceDir"> <Component Id="Comp1"> <File Name="FileA" /> </Component> <Directory Id="SomeFolder" Name="SomeFolder"> <Component Id="Comp2"> <File Name="FileA" /> </Component> </Directory> </Directory> I can solve the problem if I set for every File element an unique ID, but in our program at work there are many cases like this. Is there a better approach than setting the ID manual? I'm using WIX 3.0. ------------------------------------------------------------------------ ------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users