From 91159fcf94f97661e450dd01b1e363e6c24cf92c Mon Sep 17 00:00:00 2001 From: Charles Zablit Date: Mon, 4 Aug 2025 15:38:05 +0100 Subject: [PATCH 1/3] [windows] add Python 3.10.1 to the installer --- .../Windows/SideBySideUpgradeStrategy.props | 2 + platforms/Windows/bundle/installer.wixproj | 1 + platforms/Windows/bundle/installer.wxs | 7 + platforms/Windows/bundle/theme.xml | 2 +- .../Windows/python/asserts/python.wixproj | 5 + platforms/Windows/python/asserts/python.wxs | 11 ++ platforms/Windows/python/python.wxi | 159 ++++++++++++++++++ platforms/Windows/readme.md | 3 +- platforms/Windows/shared/swift.en-us.wxl | 1 + 9 files changed, 189 insertions(+), 2 deletions(-) create mode 100644 platforms/Windows/python/asserts/python.wixproj create mode 100644 platforms/Windows/python/asserts/python.wxs create mode 100644 platforms/Windows/python/python.wxi diff --git a/platforms/Windows/SideBySideUpgradeStrategy.props b/platforms/Windows/SideBySideUpgradeStrategy.props index 2fcf6fb8..be317a4c 100644 --- a/platforms/Windows/SideBySideUpgradeStrategy.props +++ b/platforms/Windows/SideBySideUpgradeStrategy.props @@ -24,6 +24,7 @@ {BEA8C6DC-F73E-445B-9486-2333D1CF2886} {313B9C1F-D5B5-4FED-B7E0-138F1EE6B26A} {01AFF1CF-A025-41B6-BCBC-728D794353FD} + {5FC42BA9-ABF5-4CCD-B93B-BDFED936BA37} @@ -61,6 +62,7 @@ RtlUpgradeCode=$(RtlUpgradeCode); AndroidPlatformUpgradeCode=$(AndroidPlatformUpgradeCode); WindowsPlatformUpgradeCode=$(WindowsPlatformUpgradeCode); + PythonUpgradeCode=$(PythonUpgradeCode); diff --git a/platforms/Windows/bundle/installer.wixproj b/platforms/Windows/bundle/installer.wixproj index 693c07a2..0d038c25 100644 --- a/platforms/Windows/bundle/installer.wixproj +++ b/platforms/Windows/bundle/installer.wixproj @@ -20,6 +20,7 @@ + diff --git a/platforms/Windows/bundle/installer.wxs b/platforms/Windows/bundle/installer.wxs index cf0912a7..c341c053 100644 --- a/platforms/Windows/bundle/installer.wxs +++ b/platforms/Windows/bundle/installer.wxs @@ -101,6 +101,13 @@ + + + + #(loc.Sdk_ProductName_Android_amd64) #(loc.Sdk_ProductName_Android_armv7) #(loc.Sdk_ProductName_Android_x86) - + #(loc.EmbeddedPython_ProductName)