aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-18 10:44:49 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-02-22 20:25:06 -0600
commitb29af5d005c2cc802aa60a123d435042038ba8ef (patch)
treecb86e61b6abb327f8e1ebc33162acfca28bb89e9 /src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
parentdbd55be5e707f07eb044c8c7f13c3dfd246148c0 (diff)
downloadwix-b29af5d005c2cc802aa60a123d435042038ba8ef.tar.gz
wix-b29af5d005c2cc802aa60a123d435042038ba8ef.tar.bz2
wix-b29af5d005c2cc802aa60a123d435042038ba8ef.zip
Get all request states up front before building the plan.
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h19
1 files changed, 16 insertions, 3 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index 1ba25cd7..0a89b3f4 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -142,6 +142,7 @@ enum BOOTSTRAPPER_APPLICATION_MESSAGE
142 BOOTSTRAPPER_APPLICATION_MESSAGE_ONPAUSEAUTOMATICUPDATESCOMPLETE, 142 BOOTSTRAPPER_APPLICATION_MESSAGE_ONPAUSEAUTOMATICUPDATESCOMPLETE,
143 BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTBEGIN, 143 BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTBEGIN,
144 BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTCOMPLETE, 144 BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMRESTOREPOINTCOMPLETE,
145 BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANNEDPACKAGE,
145}; 146};
146 147
147enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION 148enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION
@@ -885,10 +886,25 @@ struct BA_ONPLANMSIPACKAGE_RESULTS
885 BOOL fDisableExternalUiHandler; 886 BOOL fDisableExternalUiHandler;
886}; 887};
887 888
889struct BA_ONPLANNEDPACKAGE_ARGS
890{
891 DWORD cbSize;
892 LPCWSTR wzPackageId;
893 BOOTSTRAPPER_ACTION_STATE execute;
894 BOOTSTRAPPER_ACTION_STATE rollback;
895};
896
897struct BA_ONPLANNEDPACKAGE_RESULTS
898{
899 DWORD cbSize;
900};
901
888struct BA_ONPLANPACKAGEBEGIN_ARGS 902struct BA_ONPLANPACKAGEBEGIN_ARGS
889{ 903{
890 DWORD cbSize; 904 DWORD cbSize;
891 LPCWSTR wzPackageId; 905 LPCWSTR wzPackageId;
906 BOOTSTRAPPER_PACKAGE_STATE state;
907 BOOL fInstallCondition;
892 BOOTSTRAPPER_REQUEST_STATE recommendedState; 908 BOOTSTRAPPER_REQUEST_STATE recommendedState;
893}; 909};
894 910
@@ -904,10 +920,7 @@ struct BA_ONPLANPACKAGECOMPLETE_ARGS
904 DWORD cbSize; 920 DWORD cbSize;
905 LPCWSTR wzPackageId; 921 LPCWSTR wzPackageId;
906 HRESULT hrStatus; 922 HRESULT hrStatus;
907 BOOTSTRAPPER_PACKAGE_STATE state;
908 BOOTSTRAPPER_REQUEST_STATE requested; 923 BOOTSTRAPPER_REQUEST_STATE requested;
909 BOOTSTRAPPER_ACTION_STATE execute;
910 BOOTSTRAPPER_ACTION_STATE rollback;
911}; 924};
912 925
913struct BA_ONPLANPACKAGECOMPLETE_RESULTS 926struct BA_ONPLANPACKAGECOMPLETE_RESULTS