From a2f2036c8598efcb434eebeeacd7ede84ab60dfe Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Mon, 3 May 2021 21:14:52 -0500 Subject: 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 --- src/burn/engine/logging.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/burn/engine/logging.cpp') diff --git a/src/burn/engine/logging.cpp b/src/burn/engine/logging.cpp index 065ef907..7ee1ec85 100644 --- a/src/burn/engine/logging.cpp +++ b/src/burn/engine/logging.cpp @@ -337,6 +337,23 @@ extern "C" LPCSTR LoggingActionStateToString( } } +extern "C" LPCSTR LoggingCacheTypeToString( + BOOTSTRAPPER_CACHE_TYPE cacheType + ) +{ + switch (cacheType) + { + case BOOTSTRAPPER_CACHE_TYPE_FORCE: + return "Force"; + case BOOTSTRAPPER_CACHE_TYPE_KEEP: + return "Keep"; + case BOOTSTRAPPER_CACHE_TYPE_REMOVE: + return "Remove"; + default: + return "Invalid"; + } +} + extern "C" LPCSTR LoggingDependencyActionToString( BURN_DEPENDENCY_ACTION action ) -- cgit v1.2.3-55-g6feb