diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-08-03 15:41:53 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-04 10:03:57 -0500 |
commit | 9ae1c04d5fa02ac020885cdad7c592f7bb43d83e (patch) | |
tree | 2832850289c8b703fa39e5d1c97666331e2310b1 /src/burn/test/BurnUnitTest/PlanTest.cpp | |
parent | ce8acddf52bde840571535c3dfd56a2371d80684 (diff) | |
download | wix-9ae1c04d5fa02ac020885cdad7c592f7bb43d83e.tar.gz wix-9ae1c04d5fa02ac020885cdad7c592f7bb43d83e.tar.bz2 wix-9ae1c04d5fa02ac020885cdad7c592f7bb43d83e.zip |
Parse most of Burn command line parameters into BURN_ENGINE_COMMAND.
Diffstat (limited to 'src/burn/test/BurnUnitTest/PlanTest.cpp')
-rw-r--r-- | src/burn/test/BurnUnitTest/PlanTest.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/burn/test/BurnUnitTest/PlanTest.cpp b/src/burn/test/BurnUnitTest/PlanTest.cpp index c7f2037d..ee3dcf3a 100644 --- a/src/burn/test/BurnUnitTest/PlanTest.cpp +++ b/src/burn/test/BurnUnitTest/PlanTest.cpp | |||
@@ -1144,9 +1144,12 @@ namespace Bootstrapper | |||
1144 | __in LPCWSTR wzVersion | 1144 | __in LPCWSTR wzVersion |
1145 | ) | 1145 | ) |
1146 | { | 1146 | { |
1147 | HRESULT hr = StrAllocString(&pEngineState->registration.sczAncestors, wzId, 0); | 1147 | HRESULT hr = StrAllocString(&pEngineState->internalCommand.sczAncestors, wzId, 0); |
1148 | NativeAssert::Succeeded(hr, "Failed to set registration's ancestors"); | 1148 | NativeAssert::Succeeded(hr, "Failed to set registration's ancestors"); |
1149 | 1149 | ||
1150 | hr = StrAllocFormatted(&pEngineState->registration.sczBundlePackageAncestors, L"%ls;%ls", wzId, pEngineState->registration.sczId); | ||
1151 | NativeAssert::Succeeded(hr, "Failed to set registration's package ancestors"); | ||
1152 | |||
1150 | pEngineState->command.relationType = BOOTSTRAPPER_RELATION_UPGRADE; | 1153 | pEngineState->command.relationType = BOOTSTRAPPER_RELATION_UPGRADE; |
1151 | 1154 | ||
1152 | DetectPackagesAsPresentAndCached(pEngineState); | 1155 | DetectPackagesAsPresentAndCached(pEngineState); |