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/engine/userexperience.cpp | |
| 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/engine/userexperience.cpp')
| -rw-r--r-- | src/engine/userexperience.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/userexperience.cpp b/src/engine/userexperience.cpp index 279a00b5..8c6f29f3 100644 --- a/src/engine/userexperience.cpp +++ b/src/engine/userexperience.cpp | |||
| @@ -912,7 +912,8 @@ EXTERN_C BAAPI UserExperienceOnCacheVerifyProgress( | |||
| 912 | __in_z_opt LPCWSTR wzPayloadId, | 912 | __in_z_opt LPCWSTR wzPayloadId, |
| 913 | __in DWORD64 dw64Progress, | 913 | __in DWORD64 dw64Progress, |
| 914 | __in DWORD64 dw64Total, | 914 | __in DWORD64 dw64Total, |
| 915 | __in DWORD dwOverallPercentage | 915 | __in DWORD dwOverallPercentage, |
| 916 | __in BOOTSTRAPPER_CACHE_VERIFY_STEP verifyStep | ||
| 916 | ) | 917 | ) |
| 917 | { | 918 | { |
| 918 | HRESULT hr = S_OK; | 919 | HRESULT hr = S_OK; |
| @@ -925,6 +926,7 @@ EXTERN_C BAAPI UserExperienceOnCacheVerifyProgress( | |||
| 925 | args.dw64Progress = dw64Progress; | 926 | args.dw64Progress = dw64Progress; |
| 926 | args.dw64Total = dw64Total; | 927 | args.dw64Total = dw64Total; |
| 927 | args.dwOverallPercentage = dwOverallPercentage; | 928 | args.dwOverallPercentage = dwOverallPercentage; |
| 929 | args.verifyStep = verifyStep; | ||
| 928 | 930 | ||
| 929 | results.cbSize = sizeof(results); | 931 | results.cbSize = sizeof(results); |
| 930 | 932 | ||
