summaryrefslogtreecommitdiffstats
path: root/Tools/msi/bundle
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-06-15 16:07:55 (GMT)
committerGitHub <noreply@github.com>2022-06-15 16:07:55 (GMT)
commit99be1cbeb3b58f0daa9108abc4075412d6212169 (patch)
treedc50f40180cd7137103710c397205402e5086aef /Tools/msi/bundle
parentb415c5f1aa29259d5d18a5d85b9365430614383a (diff)
downloadcpython-99be1cbeb3b58f0daa9108abc4075412d6212169.zip
cpython-99be1cbeb3b58f0daa9108abc4075412d6212169.tar.gz
cpython-99be1cbeb3b58f0daa9108abc4075412d6212169.tar.bz2
gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825)
Diffstat (limited to 'Tools/msi/bundle')
-rw-r--r--Tools/msi/bundle/packagegroups/launcher.wxs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Tools/msi/bundle/packagegroups/launcher.wxs b/Tools/msi/bundle/packagegroups/launcher.wxs
index 7dae8ca..a692275 100644
--- a/Tools/msi/bundle/packagegroups/launcher.wxs
+++ b/Tools/msi/bundle/packagegroups/launcher.wxs
@@ -11,7 +11,11 @@
EnableFeatureSelection="yes"
Permanent="yes"
Visible="yes"
- InstallCondition="(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher" />
+ InstallCondition="(InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher">
+ <?if $(var.Platform)~="ARM64" ?>
+ <MsiProperty Name="ARM64_SHELLEXT" Value="1" />
+ <?endif ?>
+ </MsiPackage>
<MsiPackage Id="launcher_JustForMe"
SourceFile="!(bindpath.build32)en-us\launcher.msi"
@@ -21,7 +25,11 @@
EnableFeatureSelection="yes"
Permanent="yes"
Visible="yes"
- InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher" />
+ InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher">
+ <?if $(var.Platform)~="ARM64" ?>
+ <MsiProperty Name="ARM64_SHELLEXT" Value="1" />
+ <?endif ?>
+ </MsiPackage>
</PackageGroup>
</Fragment>
</Wix> \ No newline at end of file