I already read that... Do you mean that theres no other way doing this?
-----Ursprüngliche Mitteilung----- Von: Pally Sandher <pally.sand...@iesve.com> An: General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Verschickt: Di., 22. Jun. 2010, 13:45 Thema: Re: [WiX-users] Same file name different locations See the Id attribute @ http://wix.sourceforge.net/manual-wix3/wix_xsd_file.htm Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: mbulli...@aol.com [mailto:mbulli...@aol.com] Sent: 22 June 2010 12: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 ------------------------------------------------------------------------------ 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