diff options
author | Nir Bar <nir.bar@panel-sw.co.il> | 2021-08-12 14:16:01 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-12 14:50:55 -0500 |
commit | bb18c9c4f0e6da640775b85ebda68b31f2b391ed (patch) | |
tree | 5ce6107321293f7af7a0504588e3d0c6642472ff /src/burn/engine/plan.cpp | |
parent | 0042e3d4554a0d92e1da6141854b0f1aafa07d5b (diff) | |
download | wix-bb18c9c4f0e6da640775b85ebda68b31f2b391ed.tar.gz wix-bb18c9c4f0e6da640775b85ebda68b31f2b391ed.tar.bz2 wix-bb18c9c4f0e6da640775b85ebda68b31f2b391ed.zip |
Set the log file path for MSI transactions.
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r-- | src/burn/engine/plan.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp index 85d958a6..58981352 100644 --- a/src/burn/engine/plan.cpp +++ b/src/burn/engine/plan.cpp | |||
@@ -1709,8 +1709,8 @@ LExit: | |||
1709 | extern "C" HRESULT PlanRollbackBoundaryBegin( | 1709 | extern "C" HRESULT PlanRollbackBoundaryBegin( |
1710 | __in BURN_PLAN* pPlan, | 1710 | __in BURN_PLAN* pPlan, |
1711 | __in BURN_USER_EXPERIENCE* pUX, | 1711 | __in BURN_USER_EXPERIENCE* pUX, |
1712 | __in BURN_LOGGING* /*pLog*/, | 1712 | __in BURN_LOGGING* pLog, |
1713 | __in BURN_VARIABLES* /*pVariables*/, | 1713 | __in BURN_VARIABLES* pVariables, |
1714 | __in BURN_ROLLBACK_BOUNDARY* pRollbackBoundary | 1714 | __in BURN_ROLLBACK_BOUNDARY* pRollbackBoundary |
1715 | ) | 1715 | ) |
1716 | { | 1716 | { |
@@ -1744,6 +1744,8 @@ extern "C" HRESULT PlanRollbackBoundaryBegin( | |||
1744 | } | 1744 | } |
1745 | else | 1745 | else |
1746 | { | 1746 | { |
1747 | LoggingSetTransactionVariable(pRollbackBoundary, NULL, pLog, pVariables); // ignore errors. | ||
1748 | |||
1747 | // Add begin MSI transaction to execute plan. | 1749 | // Add begin MSI transaction to execute plan. |
1748 | hr = PlanExecuteCheckpoint(pPlan); | 1750 | hr = PlanExecuteCheckpoint(pPlan); |
1749 | ExitOnFailure(hr, "Failed to append checkpoint before MSI transaction begin action."); | 1751 | ExitOnFailure(hr, "Failed to append checkpoint before MSI transaction begin action."); |