aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-04-17 20:58:32 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-04-19 23:12:55 -0500
commitd4c76dd11f5a096b4fd3ee9c5efc1f44559ac3da (patch)
tree002f0351a05420b3cc1cbca052d4159cfc11706d /src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
parent26151ceeb5c57e3fd0bf73e9c13d8d72b41cce74 (diff)
downloadwix-d4c76dd11f5a096b4fd3ee9c5efc1f44559ac3da.tar.gz
wix-d4c76dd11f5a096b4fd3ee9c5efc1f44559ac3da.tar.bz2
wix-d4c76dd11f5a096b4fd3ee9c5efc1f44559ac3da.zip
Send more progress during cache verification.
Add verifyStep to OnCacheVerifyProgress. Send OnContainerOrPayloadVerify events only if file existed in cache.
Diffstat (limited to 'src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h')
-rw-r--r--src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
index e1920107..d8994c26 100644
--- a/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
+++ b/src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h
@@ -64,6 +64,13 @@ enum BOOTSTRAPPER_CACHE_OPERATION
64 BOOTSTRAPPER_CACHE_OPERATION_EXTRACT, 64 BOOTSTRAPPER_CACHE_OPERATION_EXTRACT,
65}; 65};
66 66
67enum BOOTSTRAPPER_CACHE_VERIFY_STEP
68{
69 BOOTSTRAPPER_CACHE_VERIFY_STEP_STAGE,
70 BOOTSTRAPPER_CACHE_VERIFY_STEP_HASH,
71 BOOTSTRAPPER_CACHE_VERIFY_STEP_FINALIZE,
72};
73
67enum BOOTSTRAPPER_APPLY_RESTART 74enum BOOTSTRAPPER_APPLY_RESTART
68{ 75{
69 BOOTSTRAPPER_APPLY_RESTART_NONE, 76 BOOTSTRAPPER_APPLY_RESTART_NONE,
@@ -553,6 +560,7 @@ struct BA_ONCACHEVERIFYPROGRESS_ARGS
553 DWORD64 dw64Progress; 560 DWORD64 dw64Progress;
554 DWORD64 dw64Total; 561 DWORD64 dw64Total;
555 DWORD dwOverallPercentage; 562 DWORD dwOverallPercentage;
563 BOOTSTRAPPER_CACHE_VERIFY_STEP verifyStep;
556}; 564};
557 565
558struct BA_ONCACHEVERIFYPROGRESS_RESULTS 566struct BA_ONCACHEVERIFYPROGRESS_RESULTS