Would using a 'well-known' MSBuild Property, found  here
<https://msdn.microsoft.com/en-us/library/ms164309.aspx>  , such as
$(MSBuildProjectDirectory)\... help?

I have not used TFS, but I integrated my builds into our build server using
MSBuild targets scripts, so I build both local in VS and remote on the build
server using command line scripts which call MSBuild.  Generally I avoid
using any of the VS solution specific variables and define the paths using
MSBuild Properties (either well-known or custom variables which I define in
the wixproj.  If I need the same variable in the wxs script I pass it from
the wixproj to the wxs using:
<CompilerAdditionalOptions>
      $(CompilerAdditionalOptions)
     
-dMyVariableBasedOnMSBuilProperty="$(MyMSBuildPropertyDefinedInwixprojOrTarget)"
    </CompilerAdditionalOptions>

And in the wxs authoring it is $(var.MyVariableBasedOnMSBuilProperty)



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Set-location-of-binaries-in-wixproj-file-SEC-UNOFFICIAL-tp7600336p7600337.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to