From 21fae8c5bf5dc227f889e7821c426000cce09eff Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 19 May 2026 11:35:55 -0700 Subject: [PATCH 1/3] WiX: drop legacy SDK, promote experimental packaging Remove the legacy SDK packaging, promote the experimental SDK to the canonical SDK. Update the rules to use a bit more whitespace to make it easier to process the sources non-progamatically. (cherry picked from commit ff7dd3e1013e83bf22427fac642318129d0b4bbb) --- platforms/Windows/Directory.Build.props | 7 - .../Windows/SideBySideUpgradeStrategy.props | 6 +- platforms/Windows/bundle/installer.wixproj | 4 - platforms/Windows/bundle/installer.wxs | 13 - .../Windows/platforms/android/android.wxs | 2644 ++++++++-- .../Windows/platforms/windows/windows.wixproj | 18 +- .../Windows/platforms/windows/windows.wxs | 4528 ++++++----------- .../Windows/rtl/legacy/lib/rtllib.wixproj | 7 - platforms/Windows/rtl/legacy/lib/rtllib.wxs | 145 - .../Windows/rtl/legacy/msi/rtlmsi.wixproj | 36 - platforms/Windows/rtl/legacy/msi/rtlmsi.wxs | 51 - .../Windows/rtl/legacy/msm/rtlmsm.wixproj | 18 - platforms/Windows/rtl/legacy/msm/rtlmsm.wxs | 24 - .../Windows/rtl/shared/lib/rtl.shared.lib.wxs | 12 +- .../Windows/rtl/shared/msi/rtl.shared.msi.wxs | 4 +- .../Windows/rtl/static/msm/rtl.static.msm.wxs | 6 +- platforms/Windows/shared/swift.en-us.wxl | 8 +- 17 files changed, 3612 insertions(+), 3919 deletions(-) delete mode 100644 platforms/Windows/rtl/legacy/lib/rtllib.wixproj delete mode 100644 platforms/Windows/rtl/legacy/lib/rtllib.wxs delete mode 100644 platforms/Windows/rtl/legacy/msi/rtlmsi.wixproj delete mode 100644 platforms/Windows/rtl/legacy/msi/rtlmsi.wxs delete mode 100644 platforms/Windows/rtl/legacy/msm/rtlmsm.wixproj delete mode 100644 platforms/Windows/rtl/legacy/msm/rtlmsm.wxs diff --git a/platforms/Windows/Directory.Build.props b/platforms/Windows/Directory.Build.props index 382ce242..06e16b51 100644 --- a/platforms/Windows/Directory.Build.props +++ b/platforms/Windows/Directory.Build.props @@ -25,9 +25,6 @@ x86 - - true - $([System.IO.Path]::GetFullPath($(MSBuildThisFileDirectory)build\)) @@ -88,10 +85,6 @@ WindowsRuntimeARM64=$(WindowsRuntimeARM64); WindowsRuntimeX64=$(WindowsRuntimeX64); WindowsRuntimeX86=$(WindowsRuntimeX86); - WindowsExperimentalRuntimeARM64=$(WindowsExperimentalRuntimeARM64); - WindowsExperimentalRuntimeX64=$(WindowsExperimentalRuntimeX64); - WindowsExperimentalRuntimeX86=$(WindowsExperimentalRuntimeX86); - IncludeLegacySDK=$(IncludeLegacySDK); diff --git a/platforms/Windows/SideBySideUpgradeStrategy.props b/platforms/Windows/SideBySideUpgradeStrategy.props index 40004dfe..ce3d4b7a 100644 --- a/platforms/Windows/SideBySideUpgradeStrategy.props +++ b/platforms/Windows/SideBySideUpgradeStrategy.props @@ -25,8 +25,7 @@ {6F26625B-7662-4631-8E0E-F2244339ED37} {8DD91C86-D13D-490B-B06B-9522A9CF504C} {C5519168-CF7B-4127-98B7-D886D9789B42} - {BEA8C6DC-F73E-445B-9486-2333D1CF2886} - {F9BA01C7-0C7C-4898-90BD-9D6BB308F0B3} + {F9BA01C7-0C7C-4898-90BD-9D6BB308F0B3} {313B9C1F-D5B5-4FED-B7E0-138F1EE6B26A} {01AFF1CF-A025-41B6-BCBC-728D794353FD} {5FC42BA9-ABF5-4CCD-B93B-BDFED936BA37} @@ -77,8 +76,7 @@ DbgNoAssertsUpgradeCode=$(DbgNoAssertsUpgradeCode); IdeAssertsUpgradeCode=$(IdeAssertsUpgradeCode); IdeNoAssertsUpgradeCode=$(IdeNoAssertsUpgradeCode); - RtlUpgradeCode=$(RtlUpgradeCode); - ExperimentalRTLUpgradeCode=$(ExperimentalRTLUpgradeCode); + RTLUpgradeCode=$(RTLUpgradeCode); AndroidPlatformUpgradeCode=$(AndroidPlatformUpgradeCode); WindowsPlatformUpgradeCode=$(WindowsPlatformUpgradeCode); PythonUpgradeCode=$(PythonUpgradeCode); diff --git a/platforms/Windows/bundle/installer.wixproj b/platforms/Windows/bundle/installer.wixproj index e0cdc453..2f183359 100644 --- a/platforms/Windows/bundle/installer.wixproj +++ b/platforms/Windows/bundle/installer.wixproj @@ -32,10 +32,6 @@ - - - - diff --git a/platforms/Windows/bundle/installer.wxs b/platforms/Windows/bundle/installer.wxs index 647ab36b..8ad8e46b 100644 --- a/platforms/Windows/bundle/installer.wxs +++ b/platforms/Windows/bundle/installer.wxs @@ -165,15 +165,6 @@ - - - - - - - @@ -181,7 +172,6 @@ - - - - diff --git a/platforms/Windows/platforms/android/android.wxs b/platforms/Windows/platforms/android/android.wxs index f460ddf4..128cd24f 100644 --- a/platforms/Windows/platforms/android/android.wxs +++ b/platforms/Windows/platforms/android/android.wxs @@ -96,7 +96,7 @@ - + @@ -119,58 +119,98 @@ - - - - - + + + + + - + - - + + + + - - + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + + @@ -188,11 +228,12 @@ - + + @@ -202,11 +243,12 @@ - + + @@ -216,11 +258,12 @@ - + + @@ -230,7 +273,7 @@ - + @@ -242,6 +285,7 @@ + @@ -258,14 +302,15 @@ - + - + + @@ -282,14 +327,15 @@ - + - + + @@ -306,14 +352,15 @@ - + - + + @@ -330,10 +377,10 @@ - + - + @@ -348,6 +395,7 @@ + @@ -355,6 +403,7 @@ + @@ -362,6 +411,7 @@ + @@ -371,50 +421,104 @@ - - - - - - - - - - - - - - - - - + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -428,35 +532,62 @@ - + + + + + + + + - + + + + + + + + - + + + + + + + + - + + + + + + + - + @@ -476,115 +607,216 @@ - - + + + + + + + + + + + + + + - + + - - + + + - - + + + - - + + + + + + + + + + + + + + - + + - - + + + - - + + + - - + + + + + + + + + + + + + + - + + - - + + + - - + + + - - + + + + + + + + + + + + + + - + + - - + + + - - + + - - - - - + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + + - - - + + + + + + + + + - - - - - + + + + + + + + @@ -593,68 +825,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -663,68 +938,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -733,68 +1051,321 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -807,11 +1378,25 @@ - + + + + + + + + + + + + + + + @@ -821,11 +1406,25 @@ - + + + + + + + + + + + + + + + @@ -835,11 +1434,25 @@ - + + + + + + + + + + + + + + + @@ -849,10 +1462,23 @@ - + + + + + + + + + + + + + + @@ -861,68 +1487,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -931,182 +1600,257 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - + - + - + - - - - + - - - - - - + + + + - - + + - - + + + + + + + - - - - + + + + + + + + + + + + + + + - + - + - + - - - - + + + + + + + + + + + + + + + - + - + - + - - - - + + + + + + + + + + + + + + @@ -1119,11 +1863,25 @@ - + + + + + + + + + + + + + + + @@ -1133,11 +1891,25 @@ - + + + + + + + + + + + + + + + @@ -1147,22 +1919,49 @@ - + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - - + + @@ -1177,11 +1976,25 @@ - + + + + + + + + + + + + + + + @@ -1191,11 +2004,25 @@ - + + + + + + + + + + + + + + + @@ -1205,11 +2032,25 @@ - + + + + + + + + + + + + + + + @@ -1219,10 +2060,23 @@ - + + + + + + + + + + + + + + @@ -1231,108 +2085,222 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + - + - + - + - + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + + - + - + - + + + + + + + + + + + + + + + + + + @@ -1347,11 +2315,25 @@ - + + + + + + + + + + + + + + + @@ -1361,11 +2343,25 @@ - + + + + + + + + + + + + + + + @@ -1375,11 +2371,25 @@ - + + + + + + + + + + + + + + + @@ -1389,10 +2399,23 @@ - + + + + + + + + + + + + + + @@ -1405,11 +2428,25 @@ - + + + + + + + + + + + + + + + @@ -1419,94 +2456,77 @@ - + - - - - - - - - - - - - - - - - - - + + + - - + + - - + + - - - - - + + + + - - + + - - + + - - - - - - - - - - - - - - - - + - + - + - - + + + - + - + - + - - + + + + + + + + + + + + + + + @@ -1521,11 +2541,25 @@ - + + + + + + + + + + + + + + + @@ -1535,11 +2569,25 @@ - + + + + + + + + + + + + + + + @@ -1549,11 +2597,25 @@ - + + + + + + + + + + + + + + + @@ -1563,10 +2625,23 @@ - + + + + + + + + + + + + + + @@ -1579,11 +2654,25 @@ - + + + + + + + + + + + + + + + @@ -1593,11 +2682,25 @@ - + + + + + + + + + + + + + + + @@ -1607,11 +2710,25 @@ - + + + + + + + + + + + + + + + @@ -1621,78 +2738,159 @@ - + + + + + + + + + + + + + + - + - - - + + + - - + + - - + + - - - + + + + + + - - - + + + - - + + - - + + - - - + + + + + + - - - + + + - - + + - - + + - - - + + + + + + - - - + + + - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + @@ -1703,68 +2901,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -1773,68 +3014,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -1843,68 +3127,111 @@ - - - - + + + + + + + + + + + + + + + - + + + + + + + + + + + - + - - + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -1913,68 +3240,111 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + @@ -1983,87 +3353,122 @@ - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + - - - - + - - - - - - - - - + + + + + + + - - + + + + + + + + + - + - + @@ -2071,78 +3476,123 @@ - + + - + + - + + - + + - + - + - + - - - - - - - + - - - - - + - + + + + + + - + + + - - + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2155,7 +3605,9 @@ + + @@ -2164,12 +3616,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - @@ -2177,17 +3659,8 @@ - - - - - - - - - - + @@ -2200,7 +3673,9 @@ + + @@ -2209,12 +3684,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -2222,17 +3726,8 @@ - - - - - - - - - - + @@ -2245,7 +3740,9 @@ + + @@ -2254,12 +3751,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - @@ -2267,17 +3793,8 @@ - - - - - - - - - - + @@ -2290,7 +3807,9 @@ + + @@ -2299,12 +3818,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - diff --git a/platforms/Windows/platforms/windows/windows.wixproj b/platforms/Windows/platforms/windows/windows.wixproj index 2df3ef90..8fb52cb8 100644 --- a/platforms/Windows/platforms/windows/windows.wixproj +++ b/platforms/Windows/platforms/windows/windows.wixproj @@ -3,12 +3,10 @@ windows $(ImageRoot)\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\shims - $(ImageRoot)\Platforms\Windows.platform\Developer\SDKs\WindowsExperimental.sdk\usr\lib\swift\shims $(DefineConstants); SwiftShimsPath=$(SwiftShimsPath); - ExperimentalSwiftShimsPath=$(ExperimentalSwiftShimsPath); IncludeARM64=$(WindowsArchitectures.Contains("aarch64")); IncludeX64=$(WindowsArchitectures.Contains("x86_64")); IncludeX86=$(WindowsArchitectures.Contains("i686")); @@ -20,24 +18,21 @@ - - - - + SwiftShims WindowsSDK_usr_lib_swift_shims @@ -47,15 +42,4 @@ true - - - - ExperimentalSwiftShims - WindowsExperimentalSDK_usr_lib_swift_shims - var.ExperimentalSwiftShimsPath - true - true - true - - diff --git a/platforms/Windows/platforms/windows/windows.wxs b/platforms/Windows/platforms/windows/windows.wxs index e2dc597b..7949cb38 100644 --- a/platforms/Windows/platforms/windows/windows.wxs +++ b/platforms/Windows/platforms/windows/windows.wxs @@ -9,38 +9,25 @@ Scope="$(PackageScope)"> - - - - - - - - - - + - - - - @@ -131,84 +118,31 @@ - - - - - - + + + + + - + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + @@ -226,26 +160,26 @@ - - - - - - - - + - + - + - + + + + + + + + @@ -263,26 +197,19 @@ - - - - - - - - + - + - + - + @@ -308,6 +235,7 @@ + @@ -325,6 +253,7 @@ + @@ -352,8 +281,30 @@ + + + + + + + + + + + + + + + + + + + + + + @@ -379,29 +330,9 @@ - - - - - - - - - - - - - - - - - - - - - + @@ -452,6 +383,7 @@ + @@ -503,187 +435,137 @@ - - - - - - - - - - - - - - - - - - + + + + + - + - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - - + + + - - - + + + + + - - - + + + - - - + + + + - - - - - - + + + + + - + - + + - + - + + - + - + - - - - + + + + - - - + + + - - - - - + + + + - - - - + + + + + - - - - - + + + + - - - - + + + + + - - - - - + + + + - - + @@ -703,3370 +585,2241 @@ - - + + + + + + + + + + + + + + - + - - - + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + - + - - - - - - - - + + + + - - + + - - - - - + + - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + + + - + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - + + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - - + - + - + - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - + + - - - + + + + - - + + - - + + + - - - + + + + + + - - + + + - - - + + + + - - + + - - + + + - - - + + + - - + + + + + + - - - + + + + - - + + - - + + - - + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + - + + + + + + + + + + - - + + + - + - + - - - - - + - - - - - + + + + - - + + - - + + - - - - - - - - + + + + - - - + + - - - + + + + - - + + - - + + - - - - + + + + + + - - + + - - + + - - - + + + + - - + + - - + + - - - - - - - - - - - - - - - + + + + - - + + - - + + - - - - - - - + + + - - + + - - + + - - - - + + + + + - - + + - - + + + - - - + + - + - + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + + - - - + + + + - - + + - - + + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + + - + - + - + - - + + + + + + + + + + + + + + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - + - - - + + + - - + + - - + + + - - + + + + + - - + + + + + + + - - - + + + + + + - - + + + - - + + + + + - - + + - - + + + + - - - + + + - - + + - - + + + - - + + + + + - - + + + + + + - - + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + + + + + + + + + + + + + + + + - - - - - - + + - + - + - - + + - + - - - - - - + + + - - - + + - - - - + + - - + + - - - + + + - - - - - - + + + - - - + + - - - - + + - - + + - - - + + + - - - - - - + + + - - - + + - - - - + + - - + + - - - + + - - + - - - - - - + + + - - + + - - + + + - - - - - - + + + - - + + - - + + + - - - - - - + + + - - + + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + - + + + + + + + + - + + + + - - + + + - + - + - + + + + + + + + - + + + + - - + + + - + - + + + + + + + + + + + - + - + - - + + - + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + + - - - + + + - - + + - - + + - - - + + + + - - + + - - + + - - + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + + - + - + + + + + + + + + + + - + - + - - + + - + - - + + - - + + - - + + + - - + + - - + + - - + + - - + + - - + + - - + + + - - + + - - + + - - + + + - - + + - - + + - - + + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - + @@ -4077,135 +2830,64 @@ - - - - - - - - - - - - - - - - + - --> + - - + - --> + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - @@ -4217,116 +2899,44 @@ - - - - - - - - - - - - - - - - - - - - - + - + + + - - - - - - + - + + + - - - - - - + - + + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4338,7 +2948,7 @@ - + @@ -4347,7 +2957,7 @@ - + @@ -4356,172 +2966,30 @@ - + - - - - - - - + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -4583,7 +3051,7 @@ - + @@ -4592,8 +3060,8 @@ - - + + @@ -4656,7 +3124,7 @@ - + @@ -4665,8 +3133,8 @@ - - + + @@ -4729,7 +3197,7 @@ - + diff --git a/platforms/Windows/rtl/legacy/lib/rtllib.wixproj b/platforms/Windows/rtl/legacy/lib/rtllib.wixproj deleted file mode 100644 index c6ddada5..00000000 --- a/platforms/Windows/rtl/legacy/lib/rtllib.wixproj +++ /dev/null @@ -1,7 +0,0 @@ - - - rtl - Library - true - - diff --git a/platforms/Windows/rtl/legacy/lib/rtllib.wxs b/platforms/Windows/rtl/legacy/lib/rtllib.wxs deleted file mode 100644 index ec42103b..00000000 --- a/platforms/Windows/rtl/legacy/lib/rtllib.wxs +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/platforms/Windows/rtl/legacy/msi/rtlmsi.wixproj b/platforms/Windows/rtl/legacy/msi/rtlmsi.wixproj deleted file mode 100644 index 5fda9067..00000000 --- a/platforms/Windows/rtl/legacy/msi/rtlmsi.wixproj +++ /dev/null @@ -1,36 +0,0 @@ - - - rtl - - $(DefineConstants); - VCRedistDir=$(VCRedistDir); - - - - - - - - - - - - - - - - - - - - - - VCRuntime_$(ProductArchitecture) - RUNTIMEDIR_$(ProductArchitecture) - var.VCRedistDir - true - true - true - - - diff --git a/platforms/Windows/rtl/legacy/msi/rtlmsi.wxs b/platforms/Windows/rtl/legacy/msi/rtlmsi.wxs deleted file mode 100644 index 159ed148..00000000 --- a/platforms/Windows/rtl/legacy/msi/rtlmsi.wxs +++ /dev/null @@ -1,51 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/platforms/Windows/rtl/legacy/msm/rtlmsm.wixproj b/platforms/Windows/rtl/legacy/msm/rtlmsm.wixproj deleted file mode 100644 index f36e8339..00000000 --- a/platforms/Windows/rtl/legacy/msm/rtlmsm.wixproj +++ /dev/null @@ -1,18 +0,0 @@ - - - Module - rtl.$(ProductArchitecture) - - - - - - - - - - - - - - diff --git a/platforms/Windows/rtl/legacy/msm/rtlmsm.wxs b/platforms/Windows/rtl/legacy/msm/rtlmsm.wxs deleted file mode 100644 index 795046ee..00000000 --- a/platforms/Windows/rtl/legacy/msm/rtlmsm.wxs +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - diff --git a/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs b/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs index 4590f22a..9ac8596a 100644 --- a/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs +++ b/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs @@ -3,17 +3,17 @@ - + - + - + - + @@ -117,7 +117,7 @@ - + @@ -133,7 +133,7 @@ - + diff --git a/platforms/Windows/rtl/shared/msi/rtl.shared.msi.wxs b/platforms/Windows/rtl/shared/msi/rtl.shared.msi.wxs index 30fa62cd..abdd78f4 100644 --- a/platforms/Windows/rtl/shared/msi/rtl.shared.msi.wxs +++ b/platforms/Windows/rtl/shared/msi/rtl.shared.msi.wxs @@ -3,13 +3,13 @@ Language="1033" Manufacturer="!(loc.ManufacturerName)" Name="!(loc.Rtl_ProductName_$(ProductArchitecture))" - UpgradeCode="$(ExperimentalRTLUpgradeCode)" + UpgradeCode="$(RTLUpgradeCode)" Version="$(NonSemVerProductVersion)" Scope="$(PackageScope)"> - + diff --git a/platforms/Windows/rtl/static/msm/rtl.static.msm.wxs b/platforms/Windows/rtl/static/msm/rtl.static.msm.wxs index 7654d8ff..24bc34e9 100644 --- a/platforms/Windows/rtl/static/msm/rtl.static.msm.wxs +++ b/platforms/Windows/rtl/static/msm/rtl.static.msm.wxs @@ -3,15 +3,15 @@ - + - + - + diff --git a/platforms/Windows/shared/swift.en-us.wxl b/platforms/Windows/shared/swift.en-us.wxl index 7469cc79..26348c9f 100644 --- a/platforms/Windows/shared/swift.en-us.wxl +++ b/platforms/Windows/shared/swift.en-us.wxl @@ -21,7 +21,6 @@ - @@ -30,15 +29,16 @@ + + + + - - - From cfbdd2ec7c82b8ce377a6ccee609f7a990774f84 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 19 May 2026 23:28:28 -0700 Subject: [PATCH 2/3] WiX: package SxS runtime for toolchain This adds the SxS runtime DLLs to the toolchain. This final piece will enable SxS toolchain installations as the toolchain now packages and distributes the runtime alongwith the toolchain. There is no runtime needed in the path, and we bind to this version avoiding ABI skew. (cherry picked from commit 16df22ef97c351ca02487104c87f1f7c50a48796) --- platforms/Windows/bld/bld.wxi | 51 ++++++++++++++++++++++++++++++++--- platforms/Windows/cli/cli.wxi | 19 +++++++++++++ platforms/Windows/dbg/dbg.wxi | 11 ++++++++ platforms/Windows/ide/ide.wxi | 15 +++++++++++ 4 files changed, 92 insertions(+), 4 deletions(-) diff --git a/platforms/Windows/bld/bld.wxi b/platforms/Windows/bld/bld.wxi index 3c4ecbf2..652d392f 100644 --- a/platforms/Windows/bld/bld.wxi +++ b/platforms/Windows/bld/bld.wxi @@ -14,6 +14,19 @@ + + + + + + + + + + + + + @@ -225,10 +238,6 @@ - - - - @@ -542,6 +551,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -574,6 +616,7 @@ + diff --git a/platforms/Windows/cli/cli.wxi b/platforms/Windows/cli/cli.wxi index 6f930ca1..f822cc25 100644 --- a/platforms/Windows/cli/cli.wxi +++ b/platforms/Windows/cli/cli.wxi @@ -21,6 +21,12 @@ + + + + + + @@ -810,6 +816,18 @@ + + + + + + + + + + + + @@ -833,6 +851,7 @@ + diff --git a/platforms/Windows/dbg/dbg.wxi b/platforms/Windows/dbg/dbg.wxi index 545a9471..55a71d06 100644 --- a/platforms/Windows/dbg/dbg.wxi +++ b/platforms/Windows/dbg/dbg.wxi @@ -14,6 +14,10 @@ + + + + @@ -139,6 +143,12 @@ + + + + + + @@ -148,6 +158,7 @@ + diff --git a/platforms/Windows/ide/ide.wxi b/platforms/Windows/ide/ide.wxi index 9cc207dd..e858f18d 100644 --- a/platforms/Windows/ide/ide.wxi +++ b/platforms/Windows/ide/ide.wxi @@ -14,6 +14,11 @@ + + + + + @@ -65,11 +70,21 @@ + + + + + + + + + + From 51b9b5a9eeb288ea0e2968b0c47573319df67d11 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 19 May 2026 23:59:43 -0700 Subject: [PATCH 3/3] WiX: update locations for bootstrapped toolchain The bootstrapping changes introduced a small change to the layout of the staged toolchain. Update the references to accommodate that. (cherry picked from commit db08c5940d3dd72df737413969b5505772f8d7b6) --- platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs b/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs index 9ac8596a..536dff72 100644 --- a/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs +++ b/platforms/Windows/rtl/shared/lib/rtl.shared.lib.wxs @@ -121,7 +121,7 @@ - +