I figured out how to use a named bindpath by modifing a xslt which someone
else had posted  here
<http://stackoverflow.com/questions/19515397/deploy-multiple-wcf-webservices-with-wix-toolset-wrong-svc-files>
 
.  I am still interested in any clarification on how to use
HarvestDirectoryAdditionalOptions property or
%HarvestDirectory.AdditionalOptions without needing the transform.

On a related issue, since I modified the xslt to replace '!(wix.' with
'!(bindpath.',  allowing me to get away from the assumption that the
variable name is a project name, and since I want to always apply this
transform to multiple HarvestDirectory items, I tried to set the property
$(HarvestDirectoryTransforms) rather than having multiple transforms in
%HarvestDirectory.Transforms.  Using the property never works.  Using
%HarvestDirectory.Transforms with multiple transforms separated by a
semicolon does the job.

So it is curious that $(HarvestDirectoryTransforms) does not work as
indicated in the chm:
Optional string property.  XSL transforms to apply to all generated WiX
authoring. Separate multiple transforms with semicolons. The default is
$(HarvestTransforms) if specified.  This global property is only usable with
MSBuild 4.0 or Visual Studio 2010, and newer.

Any advice on using HarvestDirectory is appreciated.  Phill



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/BindPath-and-supporting-patches-tp7598792p7598820.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to