aboutsummaryrefslogtreecommitdiff
path: root/src/engine/elevation.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-21 11:54:54 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-02-22 20:25:06 -0600
commitd0d93beac0b79fa9c3d43398813954988afda18f (patch)
tree5009bb6df65fb5c89ed12a6fbb26b36eafc1f1da /src/engine/elevation.cpp
parent837f2e309c8ef0476668c342f612dfe1bb26cb87 (diff)
downloadwix-d0d93beac0b79fa9c3d43398813954988afda18f.tar.gz
wix-d0d93beac0b79fa9c3d43398813954988afda18f.tar.bz2
wix-d0d93beac0b79fa9c3d43398813954988afda18f.zip
Add logging for patch target products.
Diffstat (limited to 'src/engine/elevation.cpp')
-rw-r--r--src/engine/elevation.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/engine/elevation.cpp b/src/engine/elevation.cpp
index cd0c9387..e4af1840 100644
--- a/src/engine/elevation.cpp
+++ b/src/engine/elevation.cpp
@@ -855,7 +855,6 @@ extern "C" HRESULT ElevationExecuteMsiPackage(
855 DWORD dwResult = 0; 855 DWORD dwResult = 0;
856 856
857 // serialize message data 857 // serialize message data
858 // TODO: for patching we might not have a package
859 hr = BuffWriteString(&pbData, &cbData, pExecuteAction->msiPackage.pPackage->sczId); 858 hr = BuffWriteString(&pbData, &cbData, pExecuteAction->msiPackage.pPackage->sczId);
860 ExitOnFailure(hr, "Failed to write package id to message buffer."); 859 ExitOnFailure(hr, "Failed to write package id to message buffer.");
861 860
@@ -964,9 +963,6 @@ extern "C" HRESULT ElevationExecuteMspPackage(
964 963
965 for (DWORD i = 0; i < pExecuteAction->mspTarget.cOrderedPatches; ++i) 964 for (DWORD i = 0; i < pExecuteAction->mspTarget.cOrderedPatches; ++i)
966 { 965 {
967 hr = BuffWriteNumber(&pbData, &cbData, pExecuteAction->mspTarget.rgOrderedPatches[i].dwOrder);
968 ExitOnFailure(hr, "Failed to write ordered patch order to message buffer.");
969
970 hr = BuffWriteString(&pbData, &cbData, pExecuteAction->mspTarget.rgOrderedPatches[i].pPackage->sczId); 966 hr = BuffWriteString(&pbData, &cbData, pExecuteAction->mspTarget.rgOrderedPatches[i].pPackage->sczId);
971 ExitOnFailure(hr, "Failed to write ordered patch id to message buffer."); 967 ExitOnFailure(hr, "Failed to write ordered patch id to message buffer.");
972 } 968 }
@@ -2404,9 +2400,6 @@ static HRESULT OnExecuteMspPackage(
2404 2400
2405 for (DWORD i = 0; i < executeAction.mspTarget.cOrderedPatches; ++i) 2401 for (DWORD i = 0; i < executeAction.mspTarget.cOrderedPatches; ++i)
2406 { 2402 {
2407 hr = BuffReadNumber(pbData, cbData, &iData, &executeAction.mspTarget.rgOrderedPatches[i].dwOrder);
2408 ExitOnFailure(hr, "Failed to read ordered patch order number.");
2409
2410 hr = BuffReadString(pbData, cbData, &iData, &sczPackage); 2403 hr = BuffReadString(pbData, cbData, &iData, &sczPackage);
2411 ExitOnFailure(hr, "Failed to read ordered patch package id."); 2404 ExitOnFailure(hr, "Failed to read ordered patch package id.");
2412 2405