$ should come before the opening parenthesis: $(var.MessagesProject.TargetPath)
-----Original Message----- From: Rune Moberg [mailto:jjfl...@gmail.com] Sent: 18 January 2011 14:51 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Where are my project variables? Looking at the output window, I see this: candle.exe (...) -dMessagesProject.TargetPath=C:\src\Flamingo\Main\bin\Messages.exe which (admittedly after reading the help) lead me to believe that the following might work: <File Id="Messagesexe" Source="($var.MessagesProject.TargetPath)"/> But light.exe fails with: "C:\src\Flamingo\Main\src\setup\MessagesMSI\Product.wxs(14,0): error LGHT0103: The system cannot find the file '($var.MessagesProject.TargetPath)'." Isn't var.MessagesProject.TargetPath still set at this point? -- Rune ----------------------------------------------------------------------------- - Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ 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. ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users