From 199bad8227bcf52a03da0f6b4602a358efbefb2a Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Mon, 10 Nov 2025 10:55:20 -0800 Subject: [PATCH] WiX: ingest the MSI redistributable in the toolchain With the ability to install the runtime with SxS manifesting, we now properly build the toolchain against a previous runtime which is isolated from the SDK associated runtime. In order to support this model, we must ingest the redistributable and package that into the toolchain. --- platforms/Windows/Directory.Build.props | 3 +- platforms/Windows/bld/bld.wxi | 40 +++++++++---------------- platforms/Windows/bundle/installer.wxs | 3 +- platforms/Windows/bundle/theme.xml | 2 +- 4 files changed, 19 insertions(+), 29 deletions(-) diff --git a/platforms/Windows/Directory.Build.props b/platforms/Windows/Directory.Build.props index 72b72d1f..06949d1a 100644 --- a/platforms/Windows/Directory.Build.props +++ b/platforms/Windows/Directory.Build.props @@ -84,13 +84,14 @@ ArePackageCabsEmbedded=$(ArePackageCabsEmbedded); BaseReleaseDownloadUrl=$(BaseReleaseDownloadUrl); ImageRoot=$(ImageRoot); + RedistributablesDirectory=$(RedistributablesDirectory); + IncludeLegacySDK=$(IncludeLegacySDK); WindowsRuntimeARM64=$(WindowsRuntimeARM64); WindowsRuntimeX64=$(WindowsRuntimeX64); WindowsRuntimeX86=$(WindowsRuntimeX86); WindowsExperimentalRuntimeARM64=$(WindowsExperimentalRuntimeARM64); WindowsExperimentalRuntimeX64=$(WindowsExperimentalRuntimeX64); WindowsExperimentalRuntimeX86=$(WindowsExperimentalRuntimeX86); - IncludeLegacySDK=$(IncludeLegacySDK); diff --git a/platforms/Windows/bld/bld.wxi b/platforms/Windows/bld/bld.wxi index 788a543f..8140af99 100644 --- a/platforms/Windows/bld/bld.wxi +++ b/platforms/Windows/bld/bld.wxi @@ -1,6 +1,12 @@  + + + + + + + + + + @@ -212,30 +222,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - @@ -551,6 +537,10 @@ + + + + @@ -558,8 +548,6 @@ - - diff --git a/platforms/Windows/bundle/installer.wxs b/platforms/Windows/bundle/installer.wxs index 194300e8..856df7fe 100644 --- a/platforms/Windows/bundle/installer.wxs +++ b/platforms/Windows/bundle/installer.wxs @@ -32,7 +32,8 @@ - + + diff --git a/platforms/Windows/bundle/theme.xml b/platforms/Windows/bundle/theme.xml index 2b280c14..fb6f4deb 100644 --- a/platforms/Windows/bundle/theme.xml +++ b/platforms/Windows/bundle/theme.xml @@ -60,7 +60,7 @@ #(loc.Cli_ProductName) #(loc.Dbg_ProductName) #(loc.Ide_ProductName) - #(loc.Rtl_ProductName) + #(loc.Rtl_ProductName) #(loc.Plt_ProductName_Windows) #(loc.Sdk_ProductName_Windows_amd64) #(loc.Redist_amd64)