aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/externalengine.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-08-03 15:42:08 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-08-04 10:03:57 -0500
commit94b8260fc5c1abc199f8d6145f3db4e2de490463 (patch)
treef8aeebc5b8d3facdab8232f60098ed253b3019cf /src/burn/engine/externalengine.cpp
parent9ae1c04d5fa02ac020885cdad7c592f7bb43d83e (diff)
downloadwix-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/externalengine.cpp')
-rw-r--r--src/burn/engine/externalengine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/burn/engine/externalengine.cpp b/src/burn/engine/externalengine.cpp
index 27db35cc..da84c83d 100644
--- a/src/burn/engine/externalengine.cpp
+++ b/src/burn/engine/externalengine.cpp
@@ -295,8 +295,8 @@ HRESULT ExternalEngineSetUpdate(
295 { 295 {
296 UpdateUninitialize(&pEngineState->update); 296 UpdateUninitialize(&pEngineState->update);
297 297
298 hr = CoreRecreateCommandLine(&sczCommandline, BOOTSTRAPPER_ACTION_INSTALL, &pEngineState->internalCommand, &pEngineState->command, BOOTSTRAPPER_RELATION_NONE, FALSE, NULL); 298 hr = CoreCreateUpdateBundleCommandLine(&sczCommandline, &pEngineState->internalCommand, &pEngineState->command);
299 ExitOnFailure(hr, "Failed to recreate command-line for update bundle."); 299 ExitOnFailure(hr, "Failed to create command-line for update bundle.");
300 300
301 // Bundles would fail to use the downloaded update bundle, as the running bundle would be one of the search paths. 301 // Bundles would fail to use the downloaded update bundle, as the running bundle would be one of the search paths.
302 // Here I am generating a random guid, but in the future it would be nice if the feed would provide the ID of the update. 302 // Here I am generating a random guid, but in the future it would be nice if the feed would provide the ID of the update.