From 78a64cca4befd6fdc4a982fac9506b4d3191e34f Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Wed, 18 Sep 2024 15:07:07 -0700 Subject: [PATCH 1/4] Add registry search for upgrade policy keys --- src/Installers/Windows/WindowsHostingBundle/Bundle.wxs | 5 +++++ .../WindowsHostingBundle/WindowsHostingBundle.wixproj | 1 + src/Installers/Windows/Wix.targets | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs index 429c66c241a3..6131a49404f4 100644 --- a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs +++ b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs @@ -13,6 +13,11 @@ + + + + + diff --git a/src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj b/src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj index cfb32de2dc5d..2e5c010ed0e7 100644 --- a/src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj +++ b/src/Installers/Windows/WindowsHostingBundle/WindowsHostingBundle.wixproj @@ -36,6 +36,7 @@ + diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index 4fa41e244bd9..7b0a4577492b 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -110,7 +110,7 @@ NoLogo="true" Cultures="en-us" InstallerFile="%(WixInstallerFilesToProcess.Identity)" - AdditionalBasePaths="$(MSBuildProjectDirectory)" + AdditionalBasePaths="$(MSBuildProjectDirectory);$(PkgMicrosoft_DotNet_Build_Tasks_Installers)\build\wix\bundle" WixExtensions="@(WixExtension)" Loc="@(EmbeddedResource)" Sice="$(SuppressIces)" From 4b0813eb204a0e4ed0158133a0159d5442ba7794 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Wed, 18 Sep 2024 15:51:55 -0700 Subject: [PATCH 2/4] SharedFx bundle too --- src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs | 4 ++++ .../SharedFrameworkBundle/SharedFrameworkBundle.wixproj | 1 + 2 files changed, 5 insertions(+) diff --git a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs index f0508bc3b611..1a5042f11293 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs +++ b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs @@ -11,6 +11,10 @@ + + + + diff --git a/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj b/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj index e7c93b5ecba8..5d2136da9a7f 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj +++ b/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj @@ -25,6 +25,7 @@ + From 545be35d1612e43e3854a24fd47371d4fb9bc860 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Wed, 18 Sep 2024 16:48:15 -0700 Subject: [PATCH 3/4] Add util extension --- .../SharedFrameworkBundle/SharedFrameworkBundle.wixproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj b/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj index 5d2136da9a7f..5f47072f1fee 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj +++ b/src/Installers/Windows/SharedFrameworkBundle/SharedFrameworkBundle.wixproj @@ -13,6 +13,10 @@ + + $(WixExtDir)\WixUtilExtension.dll + WixUtilExtension + $(WixExtDir)\WixDependencyExtension.dll WixDependencyExtension From baa963c7880b720189558e32e12997ee78933fe6 Mon Sep 17 00:00:00 2001 From: wtgodbe Date: Wed, 18 Sep 2024 17:42:11 -0700 Subject: [PATCH 4/4] Another fix --- src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs index 1a5042f11293..52e85b9a96ce 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs +++ b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs @@ -1,5 +1,6 @@ - +