I think if you specify a Source attribute at all, it overrides anything from parent elements. Try changing "Source" to "Name".
-----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: 25 September 2012 16:46 To: General toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] ComponentGroup/@Source problem I am trying to use the ComponentGroup/@Source to set the source path for some components but it is not working, the syntax I am using is: <ComponentGroup Id="Test" Directory="APPLICATIONFOLDER" Source="$(var.SolutionDir)output"> <Component> <File Source="Dummy.exe" /> </Component> </ComponentGroup> I would expect that to find Dummy.exe in the path "$(var.SolutionDir)output" but it fails with a the error: LGHT0103: The system cannot find the file 'Dummy.exe' If I change the File element to the following it works ok: <File Source="="$(var.SolutionDir)output\Dummy.exe" /> Even if I change the $(var.SolutionDir) to a full path it still fails. Should this work? Neil Neil Sleightholm X2 Systems Limited n...@x2systems.com<mailto:n...@x2systems.com> ----------------------------------------------------------------------------- - Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. 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. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users