diff options
author | Bob Arnson <bob@firegiant.com> | 2022-08-31 16:07:08 -0400 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2022-08-31 19:59:16 -0400 |
commit | 914a92d16d7a0245f3cf0b42cc5e320c34d23d30 (patch) | |
tree | f145e999fc4ccefa2e92466a45b602f080a32440 /src/burn/engine/userexperience.cpp | |
parent | f6c86c939af9f8b0036f4b197512f06e861e5fd3 (diff) | |
download | wix-914a92d16d7a0245f3cf0b42cc5e320c34d23d30.tar.gz wix-914a92d16d7a0245f3cf0b42cc5e320c34d23d30.tar.bz2 wix-914a92d16d7a0245f3cf0b42cc5e320c34d23d30.zip |
Supply hashes to BA if present in update feed.
Fixes https://github.com/wixtoolset/issues/issues/6353.
Diffstat (limited to 'src/burn/engine/userexperience.cpp')
-rw-r--r-- | src/burn/engine/userexperience.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/burn/engine/userexperience.cpp b/src/burn/engine/userexperience.cpp index 6f84caba..28429394 100644 --- a/src/burn/engine/userexperience.cpp +++ b/src/burn/engine/userexperience.cpp | |||
@@ -1395,6 +1395,8 @@ EXTERN_C BAAPI UserExperienceOnDetectUpdate( | |||
1395 | __in BURN_USER_EXPERIENCE* pUserExperience, | 1395 | __in BURN_USER_EXPERIENCE* pUserExperience, |
1396 | __in_z_opt LPCWSTR wzUpdateLocation, | 1396 | __in_z_opt LPCWSTR wzUpdateLocation, |
1397 | __in DWORD64 dw64Size, | 1397 | __in DWORD64 dw64Size, |
1398 | __in_z_opt LPCWSTR wzHash, | ||
1399 | __in BOOTSTRAPPER_UPDATE_HASH_TYPE hashAlgorithm, | ||
1398 | __in VERUTIL_VERSION* pVersion, | 1400 | __in VERUTIL_VERSION* pVersion, |
1399 | __in_z_opt LPCWSTR wzTitle, | 1401 | __in_z_opt LPCWSTR wzTitle, |
1400 | __in_z_opt LPCWSTR wzSummary, | 1402 | __in_z_opt LPCWSTR wzSummary, |
@@ -1410,6 +1412,8 @@ EXTERN_C BAAPI UserExperienceOnDetectUpdate( | |||
1410 | args.cbSize = sizeof(args); | 1412 | args.cbSize = sizeof(args); |
1411 | args.wzUpdateLocation = wzUpdateLocation; | 1413 | args.wzUpdateLocation = wzUpdateLocation; |
1412 | args.dw64Size = dw64Size; | 1414 | args.dw64Size = dw64Size; |
1415 | args.wzHash = wzHash; | ||
1416 | args.hashAlgorithm = hashAlgorithm; | ||
1413 | args.wzVersion = pVersion->sczVersion; | 1417 | args.wzVersion = pVersion->sczVersion; |
1414 | args.wzTitle = wzTitle; | 1418 | args.wzTitle = wzTitle; |
1415 | args.wzSummary = wzSummary; | 1419 | args.wzSummary = wzSummary; |
@@ -1426,6 +1430,7 @@ EXTERN_C BAAPI UserExperienceOnDetectUpdate( | |||
1426 | { | 1430 | { |
1427 | hr = HRESULT_FROM_WIN32(ERROR_INSTALL_USEREXIT); | 1431 | hr = HRESULT_FROM_WIN32(ERROR_INSTALL_USEREXIT); |
1428 | } | 1432 | } |
1433 | |||
1429 | *pfStopProcessingUpdates = results.fStopProcessingUpdates; | 1434 | *pfStopProcessingUpdates = results.fStopProcessingUpdates; |
1430 | 1435 | ||
1431 | LExit: | 1436 | LExit: |