aboutsummaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/PlanTest.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-12-30 15:12:26 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-12-30 18:40:49 -0600
commit84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4 (patch)
treebb830b599bf014c1e93f319b4d8a349d60eb8b53 /src/burn/test/BurnUnitTest/PlanTest.cpp
parentc86f75bcc104d5dc457fa2900a3ebb9c38f6ff65 (diff)
downloadwix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.tar.gz
wix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.tar.bz2
wix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.zip
Add BURN_PROTOCOL_VERSION in registration to avoid version checks.
Also, old versions of Burn should ignore ancestors if they doesn't support them.
Diffstat (limited to 'src/burn/test/BurnUnitTest/PlanTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/PlanTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp
index 627da49a..35ddb22f 100644
--- a/src/burn/test/BurnUnitTest/PlanTest.cpp
+++ b/src/burn/test/BurnUnitTest/PlanTest.cpp
@@ -1154,7 +1154,7 @@ namespace Bootstrapper
1154 pRelatedBundle->fPlannable = TRUE; 1154 pRelatedBundle->fPlannable = TRUE;
1155 pRelatedBundle->relationType = BOOTSTRAPPER_RELATION_UPGRADE; 1155 pRelatedBundle->relationType = BOOTSTRAPPER_RELATION_UPGRADE;
1156 1156
1157 hr = PseudoBundleInitialize(0, &pRelatedBundle->package, TRUE, wzId, pRelatedBundle->relationType, BOOTSTRAPPER_PACKAGE_STATE_PRESENT, TRUE, wzFilePath, wzFilePath, NULL, 0, FALSE, L"-quiet", L"-repair -quiet", L"-uninstall -quiet", &dependencyProvider, NULL, 0); 1157 hr = PseudoBundleInitialize(&pRelatedBundle->package, TRUE, TRUE, wzId, pRelatedBundle->relationType, BOOTSTRAPPER_PACKAGE_STATE_PRESENT, TRUE, wzFilePath, wzFilePath, NULL, 0, FALSE, L"-quiet", L"-repair -quiet", L"-uninstall -quiet", &dependencyProvider, NULL, 0);
1158 NativeAssert::Succeeded(hr, "Failed to initialize related bundle to represent bundle: %ls", wzId); 1158 NativeAssert::Succeeded(hr, "Failed to initialize related bundle to represent bundle: %ls", wzId);
1159 1159
1160 ++pRelatedBundles->cRelatedBundles; 1160 ++pRelatedBundles->cRelatedBundles;