I'm getting trouble with light using Wix3 with TFS Build. The basic problem is that TFS build redirects $(OutputPath) to its own location. This is fine and looking at the log and the command parameters sent to light, the msi/msm files will be written there. All well and good. The problem is that light.exe still looks for the .dll files that it intends to package up in the non-redirected solution output directory. How can I get it to look in the right place?
A excerpt from the .wixproj file: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <OutputPath>$(SolutionDir)$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <LinkerAdditionalOptions>-b $(OutputPath) -v</LinkerAdditionalOptions> <CompilerAdditionalOptions> </CompilerAdditionalOptions> </PropertyGroup> Note that the output path is correctly redirected by TFS Build. However, the <LinkerAdditionalOptions> expands $(OutputPath) to mean $(SolutionDir)$(Configuration) and not the new value for $(OutputPath) provided by TFS Build. A typical log line for the call to light.exe is: C:\Program Files (x86)\Windows Installer XML v3\bin\Light.exe -cultures:null -out D:\SDLX\SDLX_2010_Core\Binaries\Win32\Release\SDLXUserInterface.msm -pdbout D:\SDLX\SDLX_2010_Core\Binaries\Win32\Release\SDLXUserInterface.wixpdb -b D:\SDLX\SDLX_2010_Core\Sources\Source\solutions\Everything\Release\ -v obj\Release\Binaries.wixobj obj\Release\MergeModule.wixobj What magic incantation can I use to fix this so that the -b line reads -b D:\SDLX\SDLX_2010_Core\Binaries\Win32\Release\ -v It all builds fine from the Desktop. Christian. </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2" "><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> 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.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users