Hi, I'm trying to build my WiX project using Apache Ant.
When I run my candle.exe and light.exe commands in a "plain" DOS command (no WiX directories in path) the build is successful. The commands I use are; C:\PathTo\candle.exe MyProject.wxs C:\PathTo\light.exe MyProject.wixobj -ext WixUIExtension -ext WixUtilExtension -cultures:en-us -out MyProject.msi When I run (what I've checked to be) the same commands in Ant, I get many of these types of errors; error LGHT0094 : Unresolved reference to symbol 'WixUI:WixUI_Common' in section 'Product:{1759D8EC-781D-44EA-965D-2F4E9B05991B}'. <snip> error LGHT0094 : Unresolved reference to symbol 'Dialog:LicenseAgreementDlg' in section 'Product:{1759D8EC-781D-44EA-965D-2F4E9B05991B}'. <snip> error LGHT0094 : Unresolved reference to symbol 'Binary:WixCA' in section 'Product:{1759D8EC-781D-44EA-965D-2F4E9B05991B}'. <snip> Obviously, something is different in the environment when run from Ant, but I don't know where to start. Should I likely; 1) invoke candle.exe with additional switches? 2) invoke light.exe with additional switches? I tried making my light command like this; C:PathTo\light.exe C:\PathTo\MyProject.wixobj -ext C:\PathTo\WixUIExtension -ext C:\PathTo\WixUtilExtension -cultures:en-us -out MyProject.msi But this gave the following error; light.exe : error LGHT0144 : The extension 'C:\ PathTo\WixUIExtension' could not be loaded. Any help appreciated. Thanks, Dale ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users