From dafcff06a83cc4d4be64447966e2f70f15e87037 Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Tue, 5 Oct 2021 22:17:08 -0700 Subject: [PATCH 1/2] Use WIX_NATIVE_MACHINE to detect native architecture of target machine --- .../Windows/Common/dotnethome_x64.wxs | 22 +++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/src/Installers/Windows/Common/dotnethome_x64.wxs b/src/Installers/Windows/Common/dotnethome_x64.wxs index 53e0bc4819e4..a2e9aab9c43c 100644 --- a/src/Installers/Windows/Common/dotnethome_x64.wxs +++ b/src/Installers/Windows/Common/dotnethome_x64.wxs @@ -5,23 +5,27 @@ - + - + - + - + - ? + - + - NOT %PROCESSOR_ARCHITECTURE="$(var.InstallerArchitecture)" + + VersionNT64 OR + + WIX_NATIVE_MACHINE AND NOT WIX_NATIVE_MACHINE="$(var.InstallerNativeMachine)" From bc9173dabdefc8de39028c625142cf572cae70ab Mon Sep 17 00:00:00 2001 From: Eric StJohn Date: Wed, 6 Oct 2021 07:09:57 -0700 Subject: [PATCH 2/2] Reference WIX_NATIVE_MACHINE property --- src/Installers/Windows/Common/dotnethome_x64.wxs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Installers/Windows/Common/dotnethome_x64.wxs b/src/Installers/Windows/Common/dotnethome_x64.wxs index a2e9aab9c43c..5742d2a1e0a1 100644 --- a/src/Installers/Windows/Common/dotnethome_x64.wxs +++ b/src/Installers/Windows/Common/dotnethome_x64.wxs @@ -21,6 +21,7 @@ + VersionNT64 OR