aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-11-16 19:05:29 -0600
committerSean Hall <r.sean.hall@gmail.com>2020-11-17 19:06:00 -0600
commit7d45238e97c35ccea1f77be9065b9a3ed9213bfb (patch)
tree92a482536f944347ab9be9f1321c400d900e1cc2 /src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
parent7a942746bc535d319bdfa7f17025347ac6913ba2 (diff)
downloadwix-7d45238e97c35ccea1f77be9065b9a3ed9213bfb.tar.gz
wix-7d45238e97c35ccea1f77be9065b9a3ed9213bfb.tar.bz2
wix-7d45238e97c35ccea1f77be9065b9a3ed9213bfb.zip
Add logging and BA messages around MSI transactions.
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index 77d5b2c6..cfbb0571 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -135,6 +135,12 @@ enum BOOTSTRAPPER_APPLICATION_MESSAGE
135 BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXEBEGIN, 135 BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXEBEGIN,
136 BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXECOMPLETE, 136 BOOTSTRAPPER_APPLICATION_MESSAGE_ONLAUNCHAPPROVEDEXECOMPLETE,
137 BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANMSIPACKAGE, 137 BOOTSTRAPPER_APPLICATION_MESSAGE_ONPLANMSIPACKAGE,
138 BOOTSTRAPPER_APPLICATION_MESSAGE_ONBEGINMSITRANSACTIONBEGIN,
139 BOOTSTRAPPER_APPLICATION_MESSAGE_ONBEGINMSITRANSACTIONCOMPLETE,
140 BOOTSTRAPPER_APPLICATION_MESSAGE_ONCOMMITMSITRANSACTIONBEGIN,
141 BOOTSTRAPPER_APPLICATION_MESSAGE_ONCOMMITMSITRANSACTIONCOMPLETE,
142 BOOTSTRAPPER_APPLICATION_MESSAGE_ONROLLBACKMSITRANSACTIONBEGIN,
143 BOOTSTRAPPER_APPLICATION_MESSAGE_ONROLLBACKMSITRANSACTIONCOMPLETE,
138}; 144};
139 145
140enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION 146enum BOOTSTRAPPER_APPLYCOMPLETE_ACTION
@@ -274,6 +280,30 @@ struct BA_ONAPPLYCOMPLETE_RESULTS
274 BOOTSTRAPPER_APPLYCOMPLETE_ACTION action; 280 BOOTSTRAPPER_APPLYCOMPLETE_ACTION action;
275}; 281};
276 282
283struct BA_ONBEGINMSITRANSACTIONBEGIN_ARGS
284{
285 DWORD cbSize;
286 LPCWSTR wzTransactionId;
287};
288
289struct BA_ONBEGINMSITRANSACTIONBEGIN_RESULTS
290{
291 DWORD cbSize;
292 BOOL fCancel;
293};
294
295struct BA_ONBEGINMSITRANSACTIONCOMPLETE_ARGS
296{
297 DWORD cbSize;
298 LPCWSTR wzTransactionId;
299 HRESULT hrStatus;
300};
301
302struct BA_ONBEGINMSITRANSACTIONCOMPLETE_RESULTS
303{
304 DWORD cbSize;
305};
306
277struct BA_ONCACHEACQUIREBEGIN_ARGS 307struct BA_ONCACHEACQUIREBEGIN_ARGS
278{ 308{
279 DWORD cbSize; 309 DWORD cbSize;
@@ -398,6 +428,30 @@ struct BA_ONCACHEVERIFYCOMPLETE_RESULTS
398 BOOTSTRAPPER_CACHEVERIFYCOMPLETE_ACTION action; 428 BOOTSTRAPPER_CACHEVERIFYCOMPLETE_ACTION action;
399}; 429};
400 430
431struct BA_ONCOMMITMSITRANSACTIONBEGIN_ARGS
432{
433 DWORD cbSize;
434 LPCWSTR wzTransactionId;
435};
436
437struct BA_ONCOMMITMSITRANSACTIONBEGIN_RESULTS
438{
439 DWORD cbSize;
440 BOOL fCancel;
441};
442
443struct BA_ONCOMMITMSITRANSACTIONCOMPLETE_ARGS
444{
445 DWORD cbSize;
446 LPCWSTR wzTransactionId;
447 HRESULT hrStatus;
448};
449
450struct BA_ONCOMMITMSITRANSACTIONCOMPLETE_RESULTS
451{
452 DWORD cbSize;
453};
454
401struct BA_ONDETECTBEGIN_ARGS 455struct BA_ONDETECTBEGIN_ARGS
402{ 456{
403 DWORD cbSize; 457 DWORD cbSize;
@@ -963,6 +1017,29 @@ struct BA_ONRESOLVESOURCE_RESULTS
963 BOOL fCancel; 1017 BOOL fCancel;
964}; 1018};
965 1019
1020struct BA_ONROLLBACKMSITRANSACTIONBEGIN_ARGS
1021{
1022 DWORD cbSize;
1023 LPCWSTR wzTransactionId;
1024};
1025
1026struct BA_ONROLLBACKMSITRANSACTIONBEGIN_RESULTS
1027{
1028 DWORD cbSize;
1029};
1030
1031struct BA_ONROLLBACKMSITRANSACTIONCOMPLETE_ARGS
1032{
1033 DWORD cbSize;
1034 LPCWSTR wzTransactionId;
1035 HRESULT hrStatus;
1036};
1037
1038struct BA_ONROLLBACKMSITRANSACTIONCOMPLETE_RESULTS
1039{
1040 DWORD cbSize;
1041};
1042
966struct BA_ONSHUTDOWN_ARGS 1043struct BA_ONSHUTDOWN_ARGS
967{ 1044{
968 DWORD cbSize; 1045 DWORD cbSize;