From 4cd1c4e06145434ca940ac828772dc47b9d9738e Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Sun, 13 Mar 2022 23:45:32 -0500 Subject: Allow the BA to override the bundle relation type during plan. --- src/libs/dutil/WixToolset.DUtil/butil.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/libs/dutil/WixToolset.DUtil/butil.cpp') diff --git a/src/libs/dutil/WixToolset.DUtil/butil.cpp b/src/libs/dutil/WixToolset.DUtil/butil.cpp index ac322ae7..175903ad 100644 --- a/src/libs/dutil/WixToolset.DUtil/butil.cpp +++ b/src/libs/dutil/WixToolset.DUtil/butil.cpp @@ -559,7 +559,7 @@ static HRESULT DetermineRelationType( { ExitOnFailure(hr, "Failed to do array search for addon code match."); - *pRelationType = BUNDLE_RELATION_DEPENDENT; + *pRelationType = BUNDLE_RELATION_DEPENDENT_ADDON; ExitFunction(); } @@ -571,9 +571,9 @@ static HRESULT DetermineRelationType( } else { - ExitOnFailure(hr, "Failed to do array search for addon code match."); + ExitOnFailure(hr, "Failed to do array search for patch code match."); - *pRelationType = BUNDLE_RELATION_DEPENDENT; + *pRelationType = BUNDLE_RELATION_DEPENDENT_PATCH; ExitFunction(); } @@ -690,7 +690,7 @@ static HRESULT DetermineRelationType( { ExitOnFailure(hr, "Failed to do array search for addon code match."); - *pRelationType = BUNDLE_RELATION_DEPENDENT; + *pRelationType = BUNDLE_RELATION_DEPENDENT_ADDON; ExitFunction(); } @@ -702,9 +702,9 @@ static HRESULT DetermineRelationType( } else { - ExitOnFailure(hr, "Failed to do array search for addon code match."); + ExitOnFailure(hr, "Failed to do array search for patch code match."); - *pRelationType = BUNDLE_RELATION_DEPENDENT; + *pRelationType = BUNDLE_RELATION_DEPENDENT_PATCH; ExitFunction(); } -- cgit v1.2.3-55-g6feb