Skip to content

Commit

Permalink
Don't add data.path to the installer
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyelton committed Aug 11, 2019
1 parent 328afc8 commit d7e01bd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions octgnFX/Octgn.InstallerLib/HeatGeneratedFileList.xslt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@
use="@Id"
/>

<xsl:key
name="DataPathToRemove"
match="wix:Component[ substring( wix:File/@Source, string-length( wix:File/@Source ) - 8 ) = 'data.path' ]"
use="@Id"
/>

<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
Expand All @@ -28,6 +34,7 @@

<xsl:template match="*[ self::wix:Component or self::wix:ComponentRef ][ key( 'PdbToRemove', @Id ) ]" />
<xsl:template match="*[ self::wix:Component or self::wix:ComponentRef ][ key( 'XmlToRemove', @Id ) ]" />
<xsl:template match="*[ self::wix:Component or self::wix:ComponentRef ][ key( 'DataPathToRemove', @Id ) ]" />

<xsl:template match="wix:DirectoryRef">
<xsl:copy>
Expand Down

0 comments on commit d7e01bd

Please sign in to comment.