If you install the WiX toolset on the build machine, I believe you can use
the built in project variables to reference the other projects.

On Fri, May 7, 2010 at 6:27 AM, pmdarrow <pdar...@metaworks.com> wrote:

>
> Here's what I'm trying to do: I have two solutions - one for my main
> application and its associated projects and another for my database (VS
> .dbproj) and its associated projects. What I'd like to do is include the
> output from the database project (a .dbschema and some SQL scripts) in my
> installer (which exists in the main application solution.) This involves
> having TFS build the DB solution immediately before the main application
> solution. I've got that part working properly, but I'm having trouble
> referencing the output of the DB solution from my installer.
>
> I'm using relative paths to reference the output in my .wxs file (e.g.
> <?define DBProjectOutputDir =
> "..\..\MyDatabaseSolution\MyDatabaseProject\sql\"?>) which works fine
> locally, but fails when building via TFS build. This is because TFS Build
> changes the output dir of each project to one common location. Instead of
> the path to my database project being
> "..\..\MyDatabaseSolution\MyDatabaseProject\sql\" like it is when building
> locally, it gets set to something like "..\..\..\Binaries\Release\". How
> can
> I get around this and have my WiX project build locally and via TFS?
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-and-TFS-Build-tp5019254p5019254.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
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------

_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to