I use the WIX environment variable which you can access just like a property. (i.e., $(WIX)). In this manner, the path to candle would be $(WIX)bin\candle.exe.
-- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: Mike Schlueter [mailto:mschlue...@phoenixcon.com] Sent: Thursday, May 10, 2012 2:21 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Using Torch.exe with Visual Studio (need WIX path) Hi, We have a WiX project using Visual Studio 2005, with WiX 3.5, and I want to use torch.exe to create a transform of the differences between the english and german versions of the installer. (I am using .wxl files to generate en-us and de-de versions of the installer.) How do I get to the path that Visual Studio is using for candle and light, so that I don't have to hard code the path to the WiX installation into the project? Currently, I added the WiX bin folder to the system path which works, but requires that to be done on every PC that needs to compile the project. Is there a variable or a way to access the WiX path from within Visual Studio? Regards, Mike Schlueter Software Engineer Phoenix Contact USA Ann Arbor, MI (734)205-5410 mschlue...@phoenixcon.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 NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ 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