diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-03-18 20:15:33 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-03-19 12:07:32 -0500 |
commit | fb54576f1d05e82ba47cd718c4c4f8b3bad624c9 (patch) | |
tree | b7d6b30bd3c9294b74874c1a48b20a8da8869a69 /src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h | |
parent | 581c320e04949300d6c3bee71fb5fc1a557f9263 (diff) | |
download | wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.tar.gz wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.tar.bz2 wix-fb54576f1d05e82ba47cd718c4c4f8b3bad624c9.zip |
Give BA process id and option to wait for cancelled process to exit.
Diffstat (limited to 'src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h')
-rw-r--r-- | src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h index 0b81b35a..df8cac76 100644 --- a/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h +++ b/src/api/burn/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h | |||
@@ -224,6 +224,7 @@ enum BOOTSTRAPPER_APPLICATION_MESSAGE | |||
224 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRESTORERELATEDBUNDLE, | 224 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRESTORERELATEDBUNDLE, |
225 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRELATEDBUNDLETYPE, | 225 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANRELATEDBUNDLETYPE, |
226 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONAPPLYDOWNGRADE, | 226 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONAPPLYDOWNGRADE, |
227 | BOOTSTRAPPER_APPLICATION_MESSAGE_ONEXECUTEPROCESSCANCEL, | ||
227 | }; | 228 | }; |
228 | 229 | ||
229 | enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION | 230 | enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION |
@@ -282,6 +283,18 @@ enum BOOTSTRAPPER_EXECUTEPACKAGECOMPLETE_ACTION | |||
282 | BOOTSTRAPPER_EXECUTEPACKAGECOMPLETE_ACTION_SUSPEND, | 283 | BOOTSTRAPPER_EXECUTEPACKAGECOMPLETE_ACTION_SUSPEND, |
283 | }; | 284 | }; |
284 | 285 | ||
286 | enum BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION | ||
287 | { | ||
288 | // Instructs the engine to stop waiting for the process to exit. | ||
289 | // The package is immediately considered to have failed with ERROR_INSTALL_USEREXIT. | ||
290 | // The engine will never rollback the package. | ||
291 | BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION_ABANDON, | ||
292 | // Instructs the engine to wait for the process to exit. | ||
293 | // Once the process has exited, the package is considered to have failed with ERROR_INSTALL_USEREXIT. | ||
294 | // This allows the engine to rollback the package if necessary. | ||
295 | BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION_WAIT, | ||
296 | }; | ||
297 | |||
285 | enum BOOTSTRAPPER_SHUTDOWN_ACTION | 298 | enum BOOTSTRAPPER_SHUTDOWN_ACTION |
286 | { | 299 | { |
287 | BOOTSTRAPPER_SHUTDOWN_ACTION_NONE, | 300 | BOOTSTRAPPER_SHUTDOWN_ACTION_NONE, |
@@ -997,6 +1010,20 @@ struct BA_ONEXECUTEPATCHTARGET_RESULTS | |||
997 | BOOL fCancel; | 1010 | BOOL fCancel; |
998 | }; | 1011 | }; |
999 | 1012 | ||
1013 | struct BA_ONEXECUTEPROCESSCANCEL_ARGS | ||
1014 | { | ||
1015 | DWORD cbSize; | ||
1016 | LPCWSTR wzPackageId; | ||
1017 | DWORD dwProcessId; | ||
1018 | BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION recommendation; | ||
1019 | }; | ||
1020 | |||
1021 | struct BA_ONEXECUTEPROCESSCANCEL_RESULTS | ||
1022 | { | ||
1023 | DWORD cbSize; | ||
1024 | BOOTSTRAPPER_EXECUTEPROCESSCANCEL_ACTION action; | ||
1025 | }; | ||
1026 | |||
1000 | struct BA_ONEXECUTEPROGRESS_ARGS | 1027 | struct BA_ONEXECUTEPROGRESS_ARGS |
1001 | { | 1028 | { |
1002 | DWORD cbSize; | 1029 | DWORD cbSize; |