diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-17 20:58:32 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-19 23:12:55 -0500 |
| commit | d4c76dd11f5a096b4fd3ee9c5efc1f44559ac3da (patch) | |
| tree | 002f0351a05420b3cc1cbca052d4159cfc11706d /src/WixToolset.BootstrapperCore.Native/inc/BootstrapperApplication.h | |
| parent | 26151ceeb5c57e3fd0bf73e9c13d8d72b41cce74 (diff) | |
| download | wix-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.h | 8 |
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 | ||
| 67 | enum 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 | |||
| 67 | enum BOOTSTRAPPER_APPLY_RESTART | 74 | enum 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 | ||
| 558 | struct BA_ONCACHEVERIFYPROGRESS_RESULTS | 566 | struct BA_ONCACHEVERIFYPROGRESS_RESULTS |
