Chris, I just have croped full error in email, so its reason that you see syntax error. Thanks for this article, but this one for VS2008, where I am using VS2005. But I did override some target in Microsoft.TeamFoundation.Build.targets file, so my syntax in proj file looks same as in example that you sent me.
Dima On Tue, Jul 8, 2008 at 7:36 AM, Christopher Karper <[EMAIL PROTECTED]> wrote: > Well, to be fair, there's a syntax error in my XML which would make it not > work. I messed up copying the example code and retyping it for here, and > the closing tag is not the same as the opening tag. Find a property that > team build is passing that wouldn't be present in a local workstation build > and use that as the condition. I don't have TFS here at home, so I can't go > any further. > > http://msdn.microsoft.com/en-us/bb399127.aspx > Check the section on how to pass in properties to the build. > > I have not tried this exact configuration before, but I am trying to give > you some helpful advice on how to accomplish what you wish. Just like the > rest of us, the bulk of the work is on your shoulders to fulfill your > requirements. > > Chris > > On Tue, Jul 8, 2008 at 12:18 AM, Dmitry Berkovich <[EMAIL PROTECTED]> wrote: > >> Hi, >> Thanks for a nice discussion, but last mails are missed a point of >> the problem. >> >> I will try explain how MSBuild working: >> If you are will look inside of teambuild.proj you will see at the >> begin <import>Microsoft.TeamFoundation.Build.targets/> where this >> target file have target with name "CoreBuild" that execute "MSBuild" >> task for each solution that declared in teambuild.proj. When "MSBuild" >> task execute it very similar to executing to msbuild.exe from cmd >> line, so if you are not providing any properties to "MSBuild" task >> solution will not receive any new property that dide't created by >> default by msbuld. So to put declaration of : >> <PropertyGroup> >> <WixTargetsPath Condition=" '$(TeamProject)' != '' >> ">..\..\WiX\</triCeratTasksPath> >> </PropertyGroup> >> or simillar its not enough. >> Default implementation of "CoreBuild" in >> Microsoft.TeamFoundation.Build.targets only pass about 5 parameters to >> "MSBuild" task, so I did override of this target with my that pass >> additional parameters ( I saw in some blogs that this feature will be >> added in next version of team build). >> The problem here that its not works as expected: I saw in msbuild logs >> that I received warning that <Import>c:\prgrams >> files\msbuld\Microsoft\WiX\v3.0\Wix.targets> not exists (it happend >> because msbuild think that i didn't provide WixTargetsPath property) >> but at next line it start compile again my solution where my property >> was passed to msbuild. >> So at the end of MSBuild i receive error that build failed with 0 >> errors & 0 warning. >> >> >> My question is: >> Did anybody use team build without installing WiX on build machine? >> >> Thanks >> >> Dima >> >> >> >> On Tue, Jul 8, 2008 at 12:46 AM, Christopher Painter >> <[EMAIL PROTECTED]> wrote: >> > TFS enforces a mutex of 1 running build per build server per project. >> Otherwise it's possible to get multiple builds going at once on a single >> build server if they build out of seperate TFS projects. >> > >> > InstallShield craps out when attempting to do this and I've repeatedly >> tried to get them to fix it. >> > >> > As an aside, one company that I used to work for did about 50,000 builds >> per year. The product line is broken down into chunks of assets and a >> series of sometimes dozens of builds is needed to compose a product. Using >> BuildForge and ESX, they use a farm of virtual machines with the ability to >> create complex chains of builds that get randomly assigned to build machines >> that match the configuration requirements of a given build. Concurrent >> builds are needed to keep up the tempo. >> > >> > >> > Christopher Painter, Author of Deployment Engineering Blog >> > Have a hot tip, know a secret or read a really good thread that deserves >> attention? E-Mail Me >> > >> > >> > --- On Mon, 7/7/08, Christopher Karper <[EMAIL PROTECTED]> >> wrote: >> > >> >> From: Christopher Karper <[EMAIL PROTECTED]> >> >> Subject: Re: [WiX-users] Integration of WiX v3 on team build server >> >> To: "General discussion for Windows Installer XML toolset." < >> wix-users@lists.sourceforge.net> >> >> Date: Monday, July 7, 2008, 4:41 PM >> >> Can TFS do concurrent builds? If more than one build >> >> kicked off at the >> >> same time, that could be pretty bad. >> >> >> >> Chris >> >> >> >> On Mon, Jul 7, 2008 at 5:35 PM, Neil Sleightholm >> >> <[EMAIL PROTECTED]> wrote: >> >> >> >> > Just a thought but why not put the WiX MSI in TFS and >> >> then do a silent >> >> > install of WiX at the start of the build. Then you get >> >> the best of both >> >> > worlds, a standard WiX install and WiX being >> >> automatically updated on >> >> > all build machines. Also, if the WiX tool set gets >> >> some new tools or >> >> > config you don't need to figure out how they need >> >> to be installed. >> >> > >> >> > Neil >> >> > >> >> > -----Original Message----- >> >> > From: [EMAIL PROTECTED] >> >> > [mailto:[EMAIL PROTECTED] On >> >> Behalf Of John >> >> > Nannenga >> >> > Sent: 07 July 2008 21:33 >> >> > To: General discussion for Windows Installer XML >> >> toolset. >> >> > Subject: Re: [WiX-users] Integration of WiX v3 on team >> >> build server >> >> > >> >> > 2 big benefits I can think of: >> >> > >> >> > 1) Machine maintenance >> >> > If you have 5 build machines, you don't >> >> have to update WiX on >> >> > all 5 of the build machines. The synch process pulls >> >> down the >> >> > appropriate WiX version during the build process. >> >> > >> >> > >> >> > 2) Large projects that share Build machines don't >> >> need to all share the >> >> > same version of WiX. >> >> > Individual projects within a greater product >> >> build process could >> >> > use different /specific versions of WiX. If 1 of your >> >> 50 projects needs >> >> > to move to a later version of WiX (bug fixes, feature >> >> enhancements, >> >> > etc...) it can do so without wondering what side >> >> effects might be >> >> > introduced to the other projects should they all have >> >> moved to the later >> >> > version of WiX. >> >> > >> >> > Etc... >> >> > >> >> > >> >> > >> >> > >> >> > >> >> > -----Original Message----- >> >> > From: [EMAIL PROTECTED] >> >> > [mailto:[EMAIL PROTECTED] On >> >> Behalf Of >> >> > Christopher Karper >> >> > Sent: Monday, July 07, 2008 3:25 PM >> >> > To: General discussion for Windows Installer XML >> >> toolset. >> >> > Subject: Re: [WiX-users] Integration of WiX v3 on team >> >> build server >> >> > >> >> > How would you expect the build server to be able to >> >> use the WiX tools >> >> > without them being installed? >> >> > >> >> > I mean, strictly speaking you don't need to >> >> install them, just make them >> >> > available. But what would be the benefit? >> >> > >> >> > Chris >> >> > >> >> > On Mon, Jul 7, 2008 at 4:01 PM, Dmitry Berkovich >> >> <[EMAIL PROTECTED]> >> >> > wrote: >> >> > >> >> > > Hi, >> >> > > I want compile WiX projects on team build >> >> server, but I don't want >> >> > > install WiX on build server, so I am planning add >> >> all needed files to >> >> > > source control. >> >> > > I have some problem when I am compile wixproj >> >> file. wixproj file >> >> > > contains those 2 lines: >> >> > > <WixTargetsPath Condition=" >> >> '$(WixTargetsPath)' == '' >> >> > > >> >> > >> >> ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.0\Wix.targets</WixTargetsPat >> >> > h> >> >> > > <Import Project="$(WixTargetsPath)" >> >> /> >> >> > > >> >> > > Since WiX not installed on build machine I >> >> override CoreCompile target >> >> > > of Microsoft.TeamFoundation.Build.targets in my >> >> TFSBuild.proj file, so >> >> > > I can transfer WixTargetsPath to MSBuild task. >> >> The problems that build >> >> > > failed since I have error: >> >> > > Solution file warning MSB4122: Scanning project >> >> dependencies for >> >> > > project "MyProj.wixProj" failed. >> >> Blablabla since "WixTargetsPath" not >> >> > > exist. >> >> > > >> >> > > What I need to do to resolve this problem? >> >> > > >> >> > > Thanks in advance, >> >> > > >> >> > > Dima >> >> > > >> >> > > >> >> > >> >> ------------------------------------------------------------------------ >> >> > - >> >> > > Sponsored by: SourceForge.net Community Choice >> >> Awards: VOTE NOW! >> >> > > Studies have shown that voting for your favorite >> >> open source project, >> >> > > along with a healthy diet, reduces your potential >> >> for chronic lameness >> >> > > and boredom. Vote Now at >> >> http://www.sourceforge.net/community/cca08 >> >> > > _______________________________________________ >> >> > > WiX-users mailing list >> >> > > WiX-users@lists.sourceforge.net >> >> > > >> >> https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > > >> >> > >> >> ------------------------------------------------------------------------ >> >> > - >> >> > Sponsored by: SourceForge.net Community Choice Awards: >> >> VOTE NOW! >> >> > Studies have shown that voting for your favorite open >> >> source project, >> >> > along with a healthy diet, reduces your potential for >> >> chronic lameness >> >> > and boredom. Vote Now at >> >> http://www.sourceforge.net/community/cca08 >> >> > _______________________________________________ >> >> > WiX-users mailing list >> >> > WiX-users@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > >> >> > >> >> > >> >> ------------------------------------------------------------------------ >> >> > - >> >> > Sponsored by: SourceForge.net Community Choice Awards: >> >> VOTE NOW! >> >> > Studies have shown that voting for your favorite open >> >> source project, >> >> > along with a healthy diet, reduces your potential for >> >> chronic lameness >> >> > and boredom. Vote Now at >> >> http://www.sourceforge.net/community/cca08 >> >> > _______________________________________________ >> >> > WiX-users mailing list >> >> > WiX-users@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > >> >> > >> >> >> ------------------------------------------------------------------------- >> >> > Sponsored by: SourceForge.net Community Choice Awards: >> >> VOTE NOW! >> >> > Studies have shown that voting for your favorite open >> >> source project, >> >> > along with a healthy diet, reduces your potential for >> >> chronic lameness >> >> > and boredom. Vote Now at >> >> http://www.sourceforge.net/community/cca08 >> >> > _______________________________________________ >> >> > WiX-users mailing list >> >> > WiX-users@lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> >> > >> >> >> ------------------------------------------------------------------------- >> >> Sponsored by: SourceForge.net Community Choice Awards: VOTE >> >> NOW! >> >> Studies have shown that voting for your favorite open >> >> source project, >> >> along with a healthy diet, reduces your potential for >> >> chronic lameness >> >> and boredom. Vote Now at >> >> http://www.sourceforge.net/community/cca08 >> >> _______________________________________________ >> >> WiX-users mailing list >> >> WiX-users@lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> > >> > >> > >> > ------------------------------------------------------------------------- >> > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> > Studies have shown that voting for your favorite open source project, >> > along with a healthy diet, reduces your potential for chronic lameness >> > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> > _______________________________________________ >> > WiX-users mailing list >> > WiX-users@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/wix-users >> > >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> WiX-users mailing list >> WiX-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wix-users >> > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users