diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-08-03 15:42:08 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-08-04 10:03:57 -0500 |
commit | 94b8260fc5c1abc199f8d6145f3db4e2de490463 (patch) | |
tree | f8aeebc5b8d3facdab8232f60098ed253b3019cf /src/burn/engine/plan.cpp | |
parent | 9ae1c04d5fa02ac020885cdad7c592f7bb43d83e (diff) | |
download | wix-94b8260fc5c1abc199f8d6145f3db4e2de490463.tar.gz wix-94b8260fc5c1abc199f8d6145f3db4e2de490463.tar.bz2 wix-94b8260fc5c1abc199f8d6145f3db4e2de490463.zip |
Recreate the command line for the clean room process.
Persist /xlog when resuming from RunOnce.
Fixes #6259
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r-- | src/burn/engine/plan.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp index f3d37978..f77e8e2a 100644 --- a/src/burn/engine/plan.cpp +++ b/src/burn/engine/plan.cpp | |||
@@ -479,7 +479,7 @@ extern "C" HRESULT PlanForwardCompatibleBundles( | |||
479 | 479 | ||
480 | if (!fIgnoreBundle) | 480 | if (!fIgnoreBundle) |
481 | { | 481 | { |
482 | hr = PseudoBundleInitializePassthrough(&pPlan->forwardCompatibleBundle, pPlan->pInternalCommand, pPlan->pCommand, NULL, &pRelatedBundle->package); | 482 | hr = PseudoBundleInitializePassthrough(&pPlan->forwardCompatibleBundle, pPlan->pInternalCommand, pPlan->pCommand, &pRelatedBundle->package); |
483 | ExitOnFailure(hr, "Failed to initialize pass through bundle."); | 483 | ExitOnFailure(hr, "Failed to initialize pass through bundle."); |
484 | 484 | ||
485 | pPlan->fEnabledForwardCompatibleBundle = TRUE; | 485 | pPlan->fEnabledForwardCompatibleBundle = TRUE; |
@@ -1780,11 +1780,10 @@ extern "C" HRESULT PlanSetResumeCommand( | |||
1780 | ) | 1780 | ) |
1781 | { | 1781 | { |
1782 | HRESULT hr = S_OK; | 1782 | HRESULT hr = S_OK; |
1783 | BOOTSTRAPPER_COMMAND* pCommand = pPlan->pCommand; | ||
1784 | 1783 | ||
1785 | // build the resume command-line. | 1784 | // build the resume command-line. |
1786 | hr = CoreRecreateCommandLine(&pRegistration->sczResumeCommandLine, pPlan->action, pPlan->pInternalCommand, pCommand, pCommand->relationType, pCommand->fPassthrough, pLog->sczPath); | 1785 | hr = CoreCreateResumeCommandLine(&pRegistration->sczResumeCommandLine, pPlan, pLog); |
1787 | ExitOnFailure(hr, "Failed to recreate resume command-line."); | 1786 | ExitOnFailure(hr, "Failed to create resume command-line."); |
1788 | 1787 | ||
1789 | LExit: | 1788 | LExit: |
1790 | return hr; | 1789 | return hr; |