diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-08-03 14:55:23 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-08-03 15:57:24 -0500 |
commit | 124fef398a26bc8e139e889a2345602d2478590c (patch) | |
tree | 002c77e0c1d72b0cc0e46bed3c6f02d4179625fe /src/burn/engine/plan.cpp | |
parent | a896fec453056aa5e1ad803b04a672d2dceda981 (diff) | |
download | wix-124fef398a26bc8e139e889a2345602d2478590c.tar.gz wix-124fef398a26bc8e139e889a2345602d2478590c.tar.bz2 wix-124fef398a26bc8e139e889a2345602d2478590c.zip |
Add ability to skip a local path candidate if it failed verification.
Fixes 6818
Diffstat (limited to 'src/burn/engine/plan.cpp')
-rw-r--r-- | src/burn/engine/plan.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/burn/engine/plan.cpp b/src/burn/engine/plan.cpp index 5c9ebe08..e6997b64 100644 --- a/src/burn/engine/plan.cpp +++ b/src/burn/engine/plan.cpp | |||
@@ -2105,7 +2105,9 @@ static void ResetPlannedContainerState( | |||
2105 | pContainer->qwExtractSizeTotal = 0; | 2105 | pContainer->qwExtractSizeTotal = 0; |
2106 | pContainer->qwCommittedCacheProgress = 0; | 2106 | pContainer->qwCommittedCacheProgress = 0; |
2107 | pContainer->qwCommittedExtractProgress = 0; | 2107 | pContainer->qwCommittedExtractProgress = 0; |
2108 | pContainer->hrExtract = S_OK; | 2108 | pContainer->fExtracted = FALSE; |
2109 | pContainer->fFailedVerificationFromAcquisition = FALSE; | ||
2110 | ReleaseNullStr(pContainer->sczFailedLocalAcquisitionPath); | ||
2109 | } | 2111 | } |
2110 | 2112 | ||
2111 | static void ResetPlannedPayloadsState( | 2113 | static void ResetPlannedPayloadsState( |
@@ -2118,7 +2120,9 @@ static void ResetPlannedPayloadsState( | |||
2118 | 2120 | ||
2119 | pPayload->cRemainingInstances = 0; | 2121 | pPayload->cRemainingInstances = 0; |
2120 | pPayload->state = BURN_PAYLOAD_STATE_NONE; | 2122 | pPayload->state = BURN_PAYLOAD_STATE_NONE; |
2123 | pPayload->fFailedVerificationFromAcquisition = FALSE; | ||
2121 | ReleaseNullStr(pPayload->sczLocalFilePath); | 2124 | ReleaseNullStr(pPayload->sczLocalFilePath); |
2125 | ReleaseNullStr(pPayload->sczFailedLocalAcquisitionPath); | ||
2122 | } | 2126 | } |
2123 | } | 2127 | } |
2124 | 2128 | ||