summaryrefslogtreecommitdiffstats
path: root/Tools/msi/bundle/Default.ARM64.xsl
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-01-28 16:48:06 (GMT)
committerGitHub <noreply@github.com>2022-01-28 16:48:06 (GMT)
commit45faf151c693b6f13f78926761caea6df7242024 (patch)
tree8e45001c8431c55aba7a03015e8e449361b3d4c0 /Tools/msi/bundle/Default.ARM64.xsl
parentdb77bcd6092f3c174ae855522411ab83854d65a8 (diff)
downloadcpython-45faf151c693b6f13f78926761caea6df7242024.zip
cpython-45faf151c693b6f13f78926761caea6df7242024.tar.gz
cpython-45faf151c693b6f13f78926761caea6df7242024.tar.bz2
bpo-33125: Enables building traditional installer for Windows ARM64 (GH-30885)
Also makes a few general improvements to the build process and removes some dead code.
Diffstat (limited to 'Tools/msi/bundle/Default.ARM64.xsl')
-rw-r--r--Tools/msi/bundle/Default.ARM64.xsl26
1 files changed, 26 insertions, 0 deletions
diff --git a/Tools/msi/bundle/Default.ARM64.xsl b/Tools/msi/bundle/Default.ARM64.xsl
new file mode 100644
index 0000000..0dd1c9e
--- /dev/null
+++ b/Tools/msi/bundle/Default.ARM64.xsl
@@ -0,0 +1,26 @@
+<xsl:stylesheet version="2.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns="http://schemas.microsoft.com/wix/2006/localization">
+ <xsl:output indent="yes"/>
+ <xsl:strip-space elements="*"/>
+
+ <xsl:template match="node()|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="node()|@*"/>
+ </xsl:copy>
+ </xsl:template>
+
+ <xsl:template match="*[local-name()='String' and @Id='InstallButtonNote']">
+ <String Id="InstallButtonNote">[TargetDir]
+
+Includes pip and documentation
+Creates shortcuts but no file associations</String>
+ </xsl:template>
+
+ <xsl:template match="*[local-name()='String' and @Id='Include_launcherHelp']">
+ <String Id="Include_launcherHelp">(The 'py' launcher is currently unavailable on ARM64.)</String>
+ </xsl:template>
+ <xsl:template match="*[local-name()='String' and @Id='Include_tcltkHelpLabel']">
+ <String Id="Include_tcltkHelpLabel">(tcl/tk and IDLE are currently unavailable on ARM64.)</String>
+ </xsl:template>
+</xsl:stylesheet> \ No newline at end of file