On 27.06.2017 18:51, Joseph L. Casale jcasale(_at_)activenetwerx(_dot_)com
wrote:
Change
<xsl:template match="//wix:DirectoryRef[@Id = 'WIXUI_INSTALLDIR']">
<xsl:copy>
<xsl:apply-templates select="@*" />
<xsl:apply-templates select="//wix:Component/wix:File[@Id =
'$(var.SomeVar)\Foo.exe']" />
<xsl:apply-templates select="//wix:Component/wix:File[@Id !=
'$(var.SomeVar)\Foo.exe']" />
</xsl:copy>
</xsl:template>
to
<xsl:template match="wix:DirectoryRef[@Id = 'WIXUI_INSTALLDIR']">
<xsl:copy>
<xsl:apply-templates select="@*" />
<xsl:apply-templates select="wix:Component[wix:File[@Id =
'$(var.SomeVar)\Foo.exe']]" />
<xsl:apply-templates select="wix:Component[wix:File[@Id !=
'$(var.SomeVar)\Foo.exe']]" />
</xsl:copy>
</xsl:template>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--