From f87c75a90dec87256b458297f08a51076f94c728 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Tue, 12 Mar 2019 13:51:15 -0700 Subject: [PATCH 1/4] Fix for #7729 to ensure upgradable bundles --- .../Windows/SharedFrameworkBundle/Bundle.wxs | 15 ++++++++++++++- .../Windows/WindowsHostingBundle/Bundle.wxs | 9 ++++++++- src/Installers/Windows/Wix.props | 3 +++ src/Installers/Windows/Wix.targets | 9 ++++++--- 4 files changed, 31 insertions(+), 5 deletions(-) diff --git a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs index 2ca506b46e..879bbbee50 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs +++ b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + diff --git a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs index d477d11145..e434c01186 100644 --- a/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs +++ b/src/Installers/Windows/WindowsHostingBundle/Bundle.wxs @@ -1,7 +1,7 @@ - + + + + + + diff --git a/src/Installers/Windows/Wix.props b/src/Installers/Windows/Wix.props index a88784006a..837ed106f6 100644 --- a/src/Installers/Windows/Wix.props +++ b/src/Installers/Windows/Wix.props @@ -1,7 +1,10 @@ + $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).0 + + $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion).$(_BuildNumberShortDate) Release x64 ENU diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index 1ceda1d5a5..025ec99946 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -26,15 +26,18 @@ - + + - + - $(DefineConstants);BundleProviderKey=$(BundleProviderKey);BundleUpgradeCode=$(BundleUpgradeCode) + $(DefineConstants);BundleVersion=$(BundleVersion);BundleProviderKey=$(BundleProviderKey);BundleUpgradeCode=$(BundleUpgradeCode) From 2aabd9f8478ac68f5d917252a12c9132c6096041 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Tue, 12 Mar 2019 14:08:07 -0700 Subject: [PATCH 2/4] Fix inputs for UpgradeCode --- src/Installers/Windows/Wix.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index 025ec99946..9ca5a357d9 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -32,7 +32,7 @@ - + From eb8ca48e77275d7c1a5cf67f412a1507d2270eab Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Tue, 12 Mar 2019 14:11:58 -0700 Subject: [PATCH 3/4] Remove duplicate inputs --- src/Installers/Windows/Wix.targets | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index 9ca5a357d9..194b2713bf 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -29,10 +29,11 @@ - + $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform) + - + From eb1ce947c5877048386a062e5000614fbf2857d7 Mon Sep 17 00:00:00 2001 From: Jacques Eloff Date: Wed, 13 Mar 2019 09:19:23 -0700 Subject: [PATCH 4/4] Fix up property group, preprocessor statement --- src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs | 2 +- src/Installers/Windows/Wix.targets | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs index 879bbbee50..9775b93ad7 100644 --- a/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs +++ b/src/Installers/Windows/SharedFrameworkBundle/Bundle.wxs @@ -16,7 +16,7 @@ - + diff --git a/src/Installers/Windows/Wix.targets b/src/Installers/Windows/Wix.targets index 194b2713bf..ea5824f2d0 100644 --- a/src/Installers/Windows/Wix.targets +++ b/src/Installers/Windows/Wix.targets @@ -29,7 +29,9 @@ - $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform) + + $(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion).$(AspNetCorePatchVersion);$(Platform) +