summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Packaging/WiX/include.xslt')
-rw-r--r--Swift/Packaging/WiX/include.xslt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Swift/Packaging/WiX/include.xslt b/Swift/Packaging/WiX/include.xslt
new file mode 100644
index 0000000..ec1ad50
--- /dev/null
+++ b/Swift/Packaging/WiX/include.xslt
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+
+<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wix="http://schemas.microsoft.com/wix/2006/wi">
+
+ <xsl:template match='wix:Directory[@Id="Swift"]/@Id'>
+ <xsl:attribute name='Id'>INSTALLDIR</xsl:attribute>
+ </xsl:template>
+
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+</xsl:stylesheet>