From 94b8260fc5c1abc199f8d6145f3db4e2de490463 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Tue, 3 Aug 2021 15:42:08 -0500 Subject: Recreate the command line for the clean room process. Persist /xlog when resuming from RunOnce. Fixes #6259 --- src/burn/engine/pseudobundle.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/burn/engine/pseudobundle.cpp') diff --git a/src/burn/engine/pseudobundle.cpp b/src/burn/engine/pseudobundle.cpp index 00007247..52b7bd8a 100644 --- a/src/burn/engine/pseudobundle.cpp +++ b/src/burn/engine/pseudobundle.cpp @@ -165,7 +165,6 @@ extern "C" HRESULT PseudoBundleInitializePassthrough( __in BURN_PACKAGE* pPassthroughPackage, __in BURN_ENGINE_COMMAND* pInternalCommand, __in BOOTSTRAPPER_COMMAND* pCommand, - __in_z_opt LPCWSTR wzAppendLogPath, __in BURN_PACKAGE* pPackage ) { @@ -202,10 +201,8 @@ extern "C" HRESULT PseudoBundleInitializePassthrough( pPassthroughPackage->Exe.protocol = pPackage->Exe.protocol; - // No matter the operation, we're passing the same command-line. That's what makes - // this a passthrough bundle. - hr = CoreRecreateCommandLine(&sczArguments, pCommand->action, pInternalCommand, pCommand, pCommand->relationType, TRUE, wzAppendLogPath); - ExitOnFailure(hr, "Failed to recreate command-line arguments."); + hr = CoreCreatePassthroughBundleCommandLine(&sczArguments, pInternalCommand, pCommand); + ExitOnFailure(hr, "Failed to create command-line arguments."); hr = StrAllocString(&pPassthroughPackage->Exe.sczInstallArguments, sczArguments, 0); ExitOnFailure(hr, "Failed to copy install arguments for passthrough bundle package"); -- cgit v1.2.3-55-g6feb