diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-10-23 11:29:44 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-11-26 15:45:48 (GMT) |
commit | 81a7776d5ab523894a7c4745baee3988ad9f1ef9 (patch) | |
tree | 7e6e7a46abb69ac61884c4a5ca81fa76f51c3c2f /Swift/Packaging/WiX/include.xslt | |
parent | 0a8486091b4cbcce1df883f4be1e65a4628c539b (diff) | |
download | swift-contrib-81a7776d5ab523894a7c4745baee3988ad9f1ef9.zip swift-contrib-81a7776d5ab523894a7c4745baee3988ad9f1ef9.tar.bz2 |
Initial support for WiX installer.
dist=1 on Windows now generates .msi instead, as long as wix_bindir
is set to the path of \bin\ for WiX.
nsis is no longer used
Diffstat (limited to 'Swift/Packaging/WiX/include.xslt')
-rw-r--r-- | Swift/Packaging/WiX/include.xslt | 14 |
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> |