aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/apply.cpp
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-08-03 18:09:36 -0500
committerSean Hall <r.sean.hall@gmail.com>2021-08-04 10:03:57 -0500
commit4d0798ec6311b48bfe6ee3cb4dd41379b4653528 (patch)
tree87e3a02f540a206403c5e61b242dabbe87c8363a /src/burn/engine/apply.cpp
parentcdba28de1ee229369b254c62bc58cf2f001899a3 (diff)
downloadwix-4d0798ec6311b48bfe6ee3cb4dd41379b4653528.tar.gz
wix-4d0798ec6311b48bfe6ee3cb4dd41379b4653528.tar.bz2
wix-4d0798ec6311b48bfe6ee3cb4dd41379b4653528.zip
Always use user's temp directory as basis for acquisition folder.
Fixes #5830
Diffstat (limited to 'src/burn/engine/apply.cpp')
-rw-r--r--src/burn/engine/apply.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/burn/engine/apply.cpp b/src/burn/engine/apply.cpp
index 002158b6..8711344d 100644
--- a/src/burn/engine/apply.cpp
+++ b/src/burn/engine/apply.cpp
@@ -533,6 +533,9 @@ extern "C" HRESULT ApplyCache(
533 hr = UserExperienceOnCacheBegin(pUX); 533 hr = UserExperienceOnCacheBegin(pUX);
534 ExitOnRootFailure(hr, "BA aborted cache."); 534 ExitOnRootFailure(hr, "BA aborted cache.");
535 535
536 hr = CacheEnsureAcquisitionFolder(pPlan->pCache);
537 ExitOnFailure(hr, "Failed to ensure acquisition folder.");
538
536 cacheContext.hSourceEngineFile = hSourceEngineFile; 539 cacheContext.hSourceEngineFile = hSourceEngineFile;
537 cacheContext.pCache = pPlan->pCache; 540 cacheContext.pCache = pPlan->pCache;
538 cacheContext.pPayloads = pPlan->pPayloads; 541 cacheContext.pPayloads = pPlan->pPayloads;