Hello all, I have been trying to find information or an example to filter/exclude a particular folder in a directory that is getting harvested by heat. I currently am using -t Filter.xslt within the heat command line to exclude certain binaries from being harvested successfully. However, instead of listing a ton of files in the filter list I would like to just exclude a particular subfolder in one line. :)
Here is an example of the xslt file I am using. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi"> <xsl:output method="xml" indent="yes" /> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <xsl:strip-space elements="*"/> <xsl:key name="service-search" match="wix:Component[contains(wix:File/@Source, 'somefile.file')]" use="@Id" /> <xsl:key name="service-search" match="wix:Component[wix:File/@Source = '$(var.ReleaseDir)\somefile.fole']" use="@Id" /> <xsl:template match="wix:Component[key('service-search', @Id)]" /> <xsl:template match="wix:ComponentRef[key('service-search', @Id)]" /> <xsl:template match="wix:Component[key('TargetFolder', @Directory)]" /> </xsl:stylesheet> Is anyone familiar with the using .xslt and how to filter/exclude specified target folders from being harvested? Thank you, J ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. Consolidate legacy IT systems to a single system of record for IT 2. Standardize and globalize service processes across IT 3. Implement zero-touch automation to replace manual, redundant tasks http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users