diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-05-03 21:14:52 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-05-11 19:11:19 -0500 |
commit | a2f2036c8598efcb434eebeeacd7ede84ab60dfe (patch) | |
tree | 271e07336a3eb394f5f9fe4c2da0973d2b3193dc /src/burn/engine/userexperience.cpp | |
parent | 2f4287fdcee83b30e0f7f3ce548bcdff2ee85e1f (diff) | |
download | wix-a2f2036c8598efcb434eebeeacd7ede84ab60dfe.tar.gz wix-a2f2036c8598efcb434eebeeacd7ede84ab60dfe.tar.bz2 wix-a2f2036c8598efcb434eebeeacd7ede84ab60dfe.zip |
Cache packages that will be present for CACHE/INSTALL overall actions.
During actions that are expected to have source media available, all packages that have cacheType set to keep should be cached if the package is going to be present.
Set NetFx ExePackage Cache="no" and remove uninstall and repair arguments.
#5125
Diffstat (limited to 'src/burn/engine/userexperience.cpp')
-rw-r--r-- | src/burn/engine/userexperience.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/burn/engine/userexperience.cpp b/src/burn/engine/userexperience.cpp index 2215a070..5a54f26e 100644 --- a/src/burn/engine/userexperience.cpp +++ b/src/burn/engine/userexperience.cpp | |||
@@ -1998,7 +1998,11 @@ EXTERN_C BAAPI UserExperienceOnPlanPackageBegin( | |||
1998 | hr = HRESULT_FROM_WIN32(ERROR_INSTALL_USEREXIT); | 1998 | hr = HRESULT_FROM_WIN32(ERROR_INSTALL_USEREXIT); |
1999 | } | 1999 | } |
2000 | *pRequestedState = results.requestedState; | 2000 | *pRequestedState = results.requestedState; |
2001 | *pRequestedCacheType = results.requestedCacheType; | 2001 | |
2002 | if (BOOTSTRAPPER_CACHE_TYPE_REMOVE <= results.requestedCacheType && BOOTSTRAPPER_CACHE_TYPE_FORCE >= results.requestedCacheType) | ||
2003 | { | ||
2004 | *pRequestedCacheType = results.requestedCacheType; | ||
2005 | } | ||
2002 | 2006 | ||
2003 | LExit: | 2007 | LExit: |
2004 | return hr; | 2008 | return hr; |