From fc30db9fa3aa1d25a6ef078452864673caa67ec5 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 10 Dec 2021 11:42:44 -0600 Subject: Add BA events for setting the update bundle. Fixes #6410 --- .../inc/BootstrapperApplication.h | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'src/api/burn/WixToolset.BootstrapperCore.Native/inc') diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h index ad920577..2ffcf9d6 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h @@ -197,6 +197,8 @@ enum BOOTSTRAPPER_APPLICATION_MESSAGE BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPAYLOADEXTRACTCOMPLETE, BOOTSTRAPPER_APPLICATION_MESSAGE_ONCACHEPAYLOADEXTRACTPROGRESS, BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANROLLBACKBOUNDARY, + BOOTSTRAPPER_APPLICATION_MESSAGE_ONSETUPDATEBEGIN, + BOOTSTRAPPER_APPLICATION_MESSAGE_ONSETUPDATECOMPLETE, }; enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION @@ -1228,6 +1230,29 @@ struct BA_ONROLLBACKMSITRANSACTIONCOMPLETE_RESULTS DWORD cbSize; }; +struct BA_ONSETUPDATEBEGIN_ARGS +{ + DWORD cbSize; +}; + +struct BA_ONSETUPDATEBEGIN_RESULTS +{ + DWORD cbSize; +}; + +struct BA_ONSETUPDATECOMPLETE_ARGS +{ + DWORD cbSize; + HRESULT hrStatus; + LPCWSTR wzPreviousPackageId; + LPCWSTR wzNewPackageId; +}; + +struct BA_ONSETUPDATECOMPLETE_RESULTS +{ + DWORD cbSize; +}; + struct BA_ONSHUTDOWN_ARGS { DWORD cbSize; -- cgit v1.2.3-55-g6feb