diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-04-16 09:40:18 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-04-19 23:12:55 -0500 |
commit | 941c47e5a3f57ce9626b447a95740b1444e69343 (patch) | |
tree | 6225b78f5fc7c8f88a2abf187a6a76d45b36ec26 /src/engine/exeengine.h | |
parent | d32f770ca05748df9e356444c7e617d5eeedb60c (diff) | |
download | wix-941c47e5a3f57ce9626b447a95740b1444e69343.tar.gz wix-941c47e5a3f57ce9626b447a95740b1444e69343.tar.bz2 wix-941c47e5a3f57ce9626b447a95740b1444e69343.zip |
Detect a package as cached if any of its payloads exist.
Detect is supposed to be fast, so it can't fully verify every payload for every package. The engine was wasting its time by trying to verify file sizes without the hash. Even worse, it was making decisions during planning based on that insufficient verification.
Contributes to #3640
Diffstat (limited to 'src/engine/exeengine.h')
-rw-r--r-- | src/engine/exeengine.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/exeengine.h b/src/engine/exeengine.h index 88a884eb..e032ea01 100644 --- a/src/engine/exeengine.h +++ b/src/engine/exeengine.h | |||
@@ -29,8 +29,7 @@ HRESULT ExeEnginePlanAddPackage( | |||
29 | __in BURN_PLAN* pPlan, | 29 | __in BURN_PLAN* pPlan, |
30 | __in BURN_LOGGING* pLog, | 30 | __in BURN_LOGGING* pLog, |
31 | __in BURN_VARIABLES* pVariables, | 31 | __in BURN_VARIABLES* pVariables, |
32 | __in_opt HANDLE hCacheEvent, | 32 | __in_opt HANDLE hCacheEvent |
33 | __in BOOL fPlanPackageCacheRollback | ||
34 | ); | 33 | ); |
35 | HRESULT ExeEngineExecutePackage( | 34 | HRESULT ExeEngineExecutePackage( |
36 | __in BURN_EXECUTE_ACTION* pExecuteAction, | 35 | __in BURN_EXECUTE_ACTION* pExecuteAction, |