Hi Sachin, Now are you able to build Wix project in TFSBuild? If yes can you tell me solution. Iam facing similar problem.
Error: c:\test\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) -> "c:\test\BuildType\TFSBuild.proj" (CoreCompile target) (1:2) -> "c:\test\BuildType\TFSBuild.proj" (CompileConfiguration target) (1:3) -> "c:\test\BuildType\TFSBuild.proj" (CompileSolution target) (1:89) -> "c:\b\1\src\Packaging\NDatabasepck\Databasepck.wixproj" (default target) (116) -> (Link target) -> C:\Program Files\MSBuild\Microsoft\WiX\v3.0\Wix.targets(1115,5): error MSB6006: "Light.exe" exited with code -532459699. Please help me out. Sachin Dubey (Tata Consultancy Services) wrote: > > Yes! With msbuild all works well. > > Thanks > Sachin > > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Monday, December 22, 2008 11:17 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build. > > Does it work if you build the solution with msbuild? I think this is all > tfs does. > > Neil > > -----Original Message----- > From: Sachin Dubey (Tata Consultancy Services) > [mailto:v-sad...@microsoft.com] > Sent: 22 December 2008 23:28 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build. > > Thanks for reply Neil. > > It's actually not relative path. Its fixed and I know where the source > file would go when the c# Solution is build. > However at the beginning of the build process this path doesn't exist > and created only after completion of first solution build. > > If I build both the solutions in separate TFS build projects or from VS > all goes well. > > Thanks > Sachin > > > -----Original Message----- > From: Neil Sleightholm [mailto:n...@x2systems.com] > Sent: Monday, December 22, 2008 1:45 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build. > > Are you using relative paths to your source files? IIRC TFS builds > output to a different location than a simple msbuild would and that > might be causing the problem. > > Neil > > -----Original Message----- > From: Sachin Dubey (Tata Consultancy Services) > [mailto:v-sad...@microsoft.com] > Sent: 22 December 2008 18:58 > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build. > > Hi Amit, > No of errors are as many as the files are in .wxs file. > > Error message is: > > error LGHT0083: The file with id '<file id in .wxs file> and name '<file > name in .wxs file>' could not be found with source path: '<Source path > configured for files in .wxs file>'. > > Thanks > Sachin > > > -----Original Message----- > From: amit srivastava [mailto:sri_amit_2...@yahoo.com] > Sent: Sunday, December 21, 2008 2:43 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Error wile building WiX solution in TFS Build. > > Sachin, > > What error you are getting at the time of compilation from TFS? > It seems it file location for msi will not be in the same location. > > Thanks > Amit Srivastava > > > > ----- Original Message ---- > From: Sachin Dubey (Tata Consultancy Services) <v-sad...@microsoft.com> > To: "wix-users@lists.sourceforge.net" <wix-users@lists.sourceforge.net>; > "wix-d...@lists.sourceforge.net" <wix-d...@lists.sourceforge.net> > Sent: Sunday, December 21, 2008 11:54:29 AM > Subject: [WiX-users] Error wile building WiX solution in TFS Build. > > Hi, > I got two projects, a c# project that generates the deployable binaries > and WiX project to generate MSI out of the binaries. > If I build them separately all work fine. (output location of first > project is used as source location in WiX project - wxs file). > However when I try to include solutions of both the Project to TFS > Build, and try to get MSI in single build run, it fails. > > The source location given in the WiX file is created only after building > the first c# project/solution.. And the compilation of the WiX project > happens before the build of first project, this causes compile time > error, (source location given in WiX project doesn't exists/files cannot > found.) > > TFSBuild.Proj files looks like : > > > <ItemGroup> > <!-- SOLUTIONS > --> > <SolutionToBuild > Include="$(BuildProjectFolderPath)/../../Main/C#Solution.sln"> > <Targets></Targets> > <Properties></Properties> > </SolutionToBuild> > <SolutionToBuild > Include="$(BuildProjectFolderPath)/../../Main/Package/InstallerSolution. > sln"> > <Targets></Targets> > <Properties></Properties> > </SolutionToBuild> > > </ItemGroup> > > <ItemGroup> > <!-- CONFIGURATIONS > --> > <ConfigurationToBuild Include="Release|Any CPU"> > <FlavorToBuild>Debug</FlavorToBuild> > <PlatformToBuild>Any CPU</PlatformToBuild> > </ConfigurationToBuild> > <ConfigurationToBuild Include="Debug|x86"> > <FlavorToBuild>Release</FlavorToBuild> > <PlatformToBuild>x86</PlatformToBuild> > </ConfigurationToBuild> > > </ItemGroup> > > > Any clue on this would help. > > > Thanks > Sachin > > > > ------------------------------------------------------------------------ > ------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > ------------------------------------------------------------------------ > ------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > ------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------ > ------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------ > ------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- View this message in context: http://n2.nabble.com/Error-wile-building-WiX-solution-in-TFS-Build.-tp1687552p1716551.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users