aboutsummaryrefslogtreecommitdiff
path: root/src/engine/mspengine.h
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-04-16 09:40:18 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-04-19 23:12:55 -0500
commit941c47e5a3f57ce9626b447a95740b1444e69343 (patch)
tree6225b78f5fc7c8f88a2abf187a6a76d45b36ec26 /src/engine/mspengine.h
parentd32f770ca05748df9e356444c7e617d5eeedb60c (diff)
downloadwix-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/mspengine.h')
-rw-r--r--src/engine/mspengine.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/engine/mspengine.h b/src/engine/mspengine.h
index 1530954b..79998030 100644
--- a/src/engine/mspengine.h
+++ b/src/engine/mspengine.h
@@ -58,8 +58,7 @@ HRESULT MspEnginePlanAddPackage(
58 __in BURN_PLAN* pPlan, 58 __in BURN_PLAN* pPlan,
59 __in BURN_LOGGING* pLog, 59 __in BURN_LOGGING* pLog,
60 __in BURN_VARIABLES* pVariables, 60 __in BURN_VARIABLES* pVariables,
61 __in_opt HANDLE hCacheEvent, 61 __in_opt HANDLE hCacheEvent
62 __in BOOL fPlanPackageCacheRollback
63 ); 62 );
64HRESULT MspEngineExecutePackage( 63HRESULT MspEngineExecutePackage(
65 __in_opt HWND hwndParent, 64 __in_opt HWND hwndParent,