summaryrefslogtreecommitdiff
path: root/src/burn/engine/pipe.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-12-30 15:12:26 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-12-30 18:40:49 -0600
commit84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4 (patch)
treebb830b599bf014c1e93f319b4d8a349d60eb8b53 /src/burn/engine/pipe.cpp
parentc86f75bcc104d5dc457fa2900a3ebb9c38f6ff65 (diff)
downloadwix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.tar.gz
wix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.tar.bz2
wix-84a1b0f8ffe40a26916b1dfb3e1b59b6b0c31ad4.zip
Add BURN_PROTOCOL_VERSION in registration to avoid version checks.
Also, old versions of Burn should ignore ancestors if they doesn't support them.
Diffstat (limited to 'src/burn/engine/pipe.cpp')
-rw-r--r--src/burn/engine/pipe.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/burn/engine/pipe.cpp b/src/burn/engine/pipe.cpp
index 48be8785..80275b52 100644
--- a/src/burn/engine/pipe.cpp
+++ b/src/burn/engine/pipe.cpp
@@ -710,6 +710,7 @@ static HRESULT ChildPipeConnected(
710 } 710 }
711 711
712 // All is well, tell the parent process. 712 // All is well, tell the parent process.
713 // TODO: consider sending BURN_PROTOCOL_VERSION as a way to verify compatibility.
713 hr = FileWriteHandle(hPipe, reinterpret_cast<LPCBYTE>(&dwAck), sizeof(dwAck)); 714 hr = FileWriteHandle(hPipe, reinterpret_cast<LPCBYTE>(&dwAck), sizeof(dwAck));
714 ExitOnFailure(hr, "Failed to inform parent process that child is running."); 715 ExitOnFailure(hr, "Failed to inform parent process that child is running.");
715 716