From 9c0c5721e1db5655dc6389deef779b657b0fb573 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 20 Sep 2021 17:35:25 +0000 Subject: [PATCH 1/4] [release/6.0-rc2] Retarget DOTNETHOME when installing x64 on ARM64 (#36695) * Retarget DOTNETHOME when installing x64 on ARM64 * Make platform comparison case insenstive * Address feedback * Install x64 registry keys to different path on ARM64 machine Co-authored-by: Eric StJohn --- .../Windows/Common/dotnethome_x64.wxs | 38 +++++++++++++++++++ .../Windows/SharedFramework/Product.wxs | 33 ++++++++++++++++ .../SharedFramework/SharedFramework.wixproj | 1 + .../Windows/TargetingPack/Product.wxs | 33 ++++++++++++++++ .../TargetingPack/TargetingPack.wixproj | 1 + 5 files changed, 106 insertions(+) create mode 100644 src/Installers/Windows/Common/dotnethome_x64.wxs diff --git a/src/Installers/Windows/Common/dotnethome_x64.wxs b/src/Installers/Windows/Common/dotnethome_x64.wxs new file mode 100644 index 000000000000..53e0bc4819e4 --- /dev/null +++ b/src/Installers/Windows/Common/dotnethome_x64.wxs @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + ? + + + + + + NOT %PROCESSOR_ARCHITECTURE="$(var.InstallerArchitecture)" + + + + + + + + NON_NATIVE_ARCHITECTURE AND NOT DOTNETHOME + + + + \ No newline at end of file diff --git a/src/Installers/Windows/SharedFramework/Product.wxs b/src/Installers/Windows/SharedFramework/Product.wxs index 3375094918c0..98b5756c69de 100644 --- a/src/Installers/Windows/SharedFramework/Product.wxs +++ b/src/Installers/Windows/SharedFramework/Product.wxs @@ -35,6 +35,10 @@ + + + + @@ -52,6 +56,10 @@ + + + + @@ -66,16 +74,41 @@ + + + NOT NON_NATIVE_ARCHITECTURE + + + + NOT NON_NATIVE_ARCHITECTURE + + + + + + NON_NATIVE_ARCHITECTURE + + + + + + + NON_NATIVE_ARCHITECTURE + + + + + diff --git a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj index 9b9e4c6f0a7e..becd904b5ea6 100644 --- a/src/Installers/Windows/SharedFramework/SharedFramework.wixproj +++ b/src/Installers/Windows/SharedFramework/SharedFramework.wixproj @@ -46,6 +46,7 @@ + diff --git a/src/Installers/Windows/TargetingPack/Product.wxs b/src/Installers/Windows/TargetingPack/Product.wxs index a43f6ab4e172..8eb5a60b90d3 100644 --- a/src/Installers/Windows/TargetingPack/Product.wxs +++ b/src/Installers/Windows/TargetingPack/Product.wxs @@ -33,6 +33,10 @@ + + + + @@ -49,6 +53,10 @@ + + + + @@ -59,16 +67,41 @@ + + + NOT NON_NATIVE_ARCHITECTURE + + + + NOT NON_NATIVE_ARCHITECTURE + + + + + + + NON_NATIVE_ARCHITECTURE + + + + + + NON_NATIVE_ARCHITECTURE + + + + + diff --git a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj index 5cf5487b0ec6..e7132c3cee34 100644 --- a/src/Installers/Windows/TargetingPack/TargetingPack.wixproj +++ b/src/Installers/Windows/TargetingPack/TargetingPack.wixproj @@ -46,6 +46,7 @@ + From c38147461b44cf90bb5178e0fb495515ce4dc9e5 Mon Sep 17 00:00:00 2001 From: Doug Bunting <6431421+dougbu@users.noreply.github.com> Date: Thu, 23 Sep 2021 09:29:02 -0700 Subject: [PATCH 2/4] Update WiX to signed build (#36865) - #12078 --- eng/targets/Wix.Common.props | 4 ++-- eng/tools/RepoTasks/RepoTasks.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eng/targets/Wix.Common.props b/eng/targets/Wix.Common.props index 9a29437eb2e5..d6095b8aa1b6 100644 --- a/eng/targets/Wix.Common.props +++ b/eng/targets/Wix.Common.props @@ -4,7 +4,7 @@ 2.0 3.14 - 3.14.0-dotnet + 1.0.0-v3.14.0.4118 @@ -20,7 +20,7 @@ - + diff --git a/eng/tools/RepoTasks/RepoTasks.csproj b/eng/tools/RepoTasks/RepoTasks.csproj index dde3165107ee..f019b2f07c3b 100644 --- a/eng/tools/RepoTasks/RepoTasks.csproj +++ b/eng/tools/RepoTasks/RepoTasks.csproj @@ -34,7 +34,7 @@ - + From cb418348b1ef30edccbbd1658858c09d68b0924c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 11:22:15 -0700 Subject: [PATCH 3/4] Update wix to 1.0.0-v3.14.0.5722 (#37329) Co-authored-by: Eric StJohn --- eng/targets/Wix.Common.props | 2 +- eng/tools/RepoTasks/RepoTasks.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/targets/Wix.Common.props b/eng/targets/Wix.Common.props index d6095b8aa1b6..730df3c1c8dd 100644 --- a/eng/targets/Wix.Common.props +++ b/eng/targets/Wix.Common.props @@ -4,7 +4,7 @@ 2.0 3.14 - 1.0.0-v3.14.0.4118 + 1.0.0-v3.14.0.5722 diff --git a/eng/tools/RepoTasks/RepoTasks.csproj b/eng/tools/RepoTasks/RepoTasks.csproj index f019b2f07c3b..60ccdce969cc 100644 --- a/eng/tools/RepoTasks/RepoTasks.csproj +++ b/eng/tools/RepoTasks/RepoTasks.csproj @@ -34,7 +34,7 @@ - + From 5c5f9a067c1a50d6623f9393bc5b712e9be3efd6 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 22:57:50 +0000 Subject: [PATCH 4/4] [release/6.0] Use WIX_NATIVE_MACHINE to detect native architecture of target machine (#37335) * Use WIX_NATIVE_MACHINE to detect native architecture of target machine * Reference WIX_NATIVE_MACHINE property Final bit to resolve what I'm tracking in #37290 Co-authored-by: Eric StJohn --- .../Windows/Common/dotnethome_x64.wxs | 23 +++++++++++-------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/src/Installers/Windows/Common/dotnethome_x64.wxs b/src/Installers/Windows/Common/dotnethome_x64.wxs index 53e0bc4819e4..5742d2a1e0a1 100644 --- a/src/Installers/Windows/Common/dotnethome_x64.wxs +++ b/src/Installers/Windows/Common/dotnethome_x64.wxs @@ -5,23 +5,28 @@ - + - + - + - + - ? + - + + - NOT %PROCESSOR_ARCHITECTURE="$(var.InstallerArchitecture)" + + VersionNT64 OR + + WIX_NATIVE_MACHINE AND NOT WIX_NATIVE_MACHINE="$(var.InstallerNativeMachine)"