aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/baengine.cpp
diff options
context:
space:
mode:
authorBob Arnson <bob@firegiant.com>2026-02-04 20:47:04 -0500
committerBob Arnson <bob@firegiant.com>2026-02-04 20:47:04 -0500
commitedccb203c421d2bd820062024088c6698424d9ee (patch)
tree6b47c3eb5ca53bd9f79f3d032dc1a596d411bf38 /src/burn/engine/baengine.cpp
parenta3d3963f806117ce123d95e8b77e73e1c1545b25 (diff)
downloadwix-bob/ConfigurableScopeBundles.tar.gz
wix-bob/ConfigurableScopeBundles.tar.bz2
wix-bob/ConfigurableScopeBundles.zip
Support dual-purpose packages in Burn.bob/ConfigurableScopeBundles
Fixes https://github.com/wixtoolset/issues/issues/8958
Diffstat (limited to 'src/burn/engine/baengine.cpp')
-rw-r--r--src/burn/engine/baengine.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/burn/engine/baengine.cpp b/src/burn/engine/baengine.cpp
index d1704ad9..e48f71c0 100644
--- a/src/burn/engine/baengine.cpp
+++ b/src/burn/engine/baengine.cpp
@@ -1134,12 +1134,15 @@ static HRESULT BAEnginePlan(
1134 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.action)); 1134 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.action));
1135 ExitOnFailure(hr, "Failed to read plan action of BAEnginePlan args."); 1135 ExitOnFailure(hr, "Failed to read plan action of BAEnginePlan args.");
1136 1136
1137 hr = BuffReaderReadNumber(pReaderArgs, reinterpret_cast<DWORD*>(&args.plannedScope));
1138 ExitOnFailure(hr, "Failed to read plan scope of BAEnginePlan args.");
1139
1137 // Read results. 1140 // Read results.
1138 hr = BuffReaderReadNumber(pReaderResults, &results.dwApiVersion); 1141 hr = BuffReaderReadNumber(pReaderResults, &results.dwApiVersion);
1139 ExitOnFailure(hr, "Failed to read API version of BAEnginePlan results."); 1142 ExitOnFailure(hr, "Failed to read API version of BAEnginePlan results.");
1140 1143
1141 // Execute. 1144 // Execute.
1142 hr = ExternalEnginePlan(pContext, args.action); 1145 hr = ExternalEnginePlan(pContext, args.action, args.plannedScope);
1143 ExitOnFailure(hr, "Failed to plan in the engine."); 1146 ExitOnFailure(hr, "Failed to plan in the engine.");
1144 1147
1145 // Pack result. 1148 // Pack result.