From 99be1cbeb3b58f0daa9108abc4075412d6212169 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Wed, 15 Jun 2022 17:07:55 +0100 Subject: [PATCH] gh-93824: Reenable installation of shell extension on Windows ARM64 (GH-93825) --- .../2022-06-15-01-03-52.gh-issue-93824.mR4mxu.rst | 2 ++ Tools/msi/bundle/packagegroups/launcher.wxs | 12 ++++++++++-- Tools/msi/launcher/launcher.wxs | 13 +++++++++---- Tools/msi/launcher/launcher_files.wxs | 13 +++++-------- 4 files changed, 26 insertions(+), 14 deletions(-) create mode 100644 Misc/NEWS.d/next/Windows/2022-06-15-01-03-52.gh-issue-93824.mR4mxu.rst diff --git a/Misc/NEWS.d/next/Windows/2022-06-15-01-03-52.gh-issue-93824.mR4mxu.rst b/Misc/NEWS.d/next/Windows/2022-06-15-01-03-52.gh-issue-93824.mR4mxu.rst new file mode 100644 index 00000000000000..cabe983847c891 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-06-15-01-03-52.gh-issue-93824.mR4mxu.rst @@ -0,0 +1,2 @@ +Drag and drop of files onto Python files in Windows Explorer has been +enabled for Windows ARM64. diff --git a/Tools/msi/bundle/packagegroups/launcher.wxs b/Tools/msi/bundle/packagegroups/launcher.wxs index 7dae8ca7a68c18..a6922758f31f14 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"> + + + + + InstallCondition="not (InstallAllUsers or InstallLauncherAllUsers) and Include_launcher and not DetectedLauncher"> + + + + \ No newline at end of file diff --git a/Tools/msi/launcher/launcher.wxs b/Tools/msi/launcher/launcher.wxs index d001fe53ea3811..b83058c63bf6d9 100644 --- a/Tools/msi/launcher/launcher.wxs +++ b/Tools/msi/launcher/launcher.wxs @@ -3,13 +3,18 @@ - + + + + + @@ -17,14 +22,14 @@ - + - + - + NOT Installed AND NOT ALLUSERS=1 NOT Installed AND ALLUSERS=1 diff --git a/Tools/msi/launcher/launcher_files.wxs b/Tools/msi/launcher/launcher_files.wxs index 2c6c808137a6ff..d9a230e2d35ace 100644 --- a/Tools/msi/launcher/launcher_files.wxs +++ b/Tools/msi/launcher/launcher_files.wxs @@ -22,26 +22,23 @@ - VersionNT64 + VersionNT64 AND NOT ARM64_SHELLEXT - NOT VersionNT64 + NOT VersionNT64 AND NOT ARM64_SHELLEXT - +