diff options
| author | Rob Mensching <rob@firegiant.com> | 2022-12-06 15:55:18 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2022-12-06 17:29:07 -0800 |
| commit | fb0a8b74b598331dcf037d97a3adf89f5fe5ba92 (patch) | |
| tree | e66f9b50a04a2589602c89cab8449e2bb9a8e88d /src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt | |
| parent | aa591db212c3df5a5c9f501c01fb1fbf2deadb7c (diff) | |
| download | wix-fb0a8b74b598331dcf037d97a3adf89f5fe5ba92.tar.gz wix-fb0a8b74b598331dcf037d97a3adf89f5fe5ba92.tar.bz2 wix-fb0a8b74b598331dcf037d97a3adf89f5fe5ba92.zip | |
Correctly harvest registry files with multisz
Fixes 7044
Diffstat (limited to 'src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt')
| -rw-r--r-- | src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt b/src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt new file mode 100644 index 00000000..7a46243a --- /dev/null +++ b/src/tools/test/WixToolsetTest.Heat/TestData/RegFile/input.xslt | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <xsl:stylesheet | ||
| 3 | version="1.0" | ||
| 4 | xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
| 5 | xmlns="http://www.w3.org/1999/xhtml" | ||
| 6 | xmlns:wix="http://wixtoolset.org/schemas/v4/wxs"> | ||
| 7 | |||
| 8 | <xsl:output method="xml" indent="yes"/> | ||
| 9 | |||
| 10 | <xsl:template match="@*|node()"> | ||
| 11 | <xsl:copy> | ||
| 12 | <xsl:apply-templates select="@*|node()"/> | ||
| 13 | </xsl:copy> | ||
| 14 | </xsl:template> | ||
| 15 | |||
| 16 | <xsl:template match="wix:Wix/wix:Fragment/wix:StandardDirectory/wix:Component/wix:RegistryKey/wix:RegistryValue[@Name='Classpath']"> | ||
| 17 | <xsl:copy> | ||
| 18 | <xsl:apply-templates select="@*|node()"/> | ||
| 19 | <xsl:attribute name="Value"><xsl:text>%WAS_DEPS_CLASSPATH%\*;[DIR_JVM]service.jvm.web-standalone.jar</xsl:text></xsl:attribute> | ||
| 20 | </xsl:copy> | ||
| 21 | </xsl:template> | ||
| 22 | |||
| 23 | </xsl:stylesheet> | ||
