diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-02-21 11:54:54 -0600 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-02-22 20:25:06 -0600 |
commit | d0d93beac0b79fa9c3d43398813954988afda18f (patch) | |
tree | 5009bb6df65fb5c89ed12a6fbb26b36eafc1f1da /src/engine/logging.cpp | |
parent | 837f2e309c8ef0476668c342f612dfe1bb26cb87 (diff) | |
download | wix-d0d93beac0b79fa9c3d43398813954988afda18f.tar.gz wix-d0d93beac0b79fa9c3d43398813954988afda18f.tar.bz2 wix-d0d93beac0b79fa9c3d43398813954988afda18f.zip |
Add logging for patch target products.
Diffstat (limited to 'src/engine/logging.cpp')
-rw-r--r-- | src/engine/logging.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/engine/logging.cpp b/src/engine/logging.cpp index a9646218..d66f7cf5 100644 --- a/src/engine/logging.cpp +++ b/src/engine/logging.cpp | |||
@@ -531,6 +531,24 @@ extern "C" LPCWSTR LoggingBurnMsiPropertyToString( | |||
531 | } | 531 | } |
532 | } | 532 | } |
533 | 533 | ||
534 | extern "C" LPCSTR LoggingMspTargetActionToString( | ||
535 | __in BOOTSTRAPPER_ACTION_STATE action, | ||
536 | __in BURN_PATCH_SKIP_STATE skipState | ||
537 | ) | ||
538 | { | ||
539 | switch (skipState) | ||
540 | { | ||
541 | case BURN_PATCH_SKIP_STATE_NONE: | ||
542 | return LoggingActionStateToString(action); | ||
543 | case BURN_PATCH_SKIP_STATE_TARGET_UNINSTALL: | ||
544 | return "Skipped (target uninstall)"; | ||
545 | case BURN_PATCH_SKIP_STATE_SLIPSTREAM: | ||
546 | return "Skipped (slipstream)"; | ||
547 | default: | ||
548 | return "Invalid"; | ||
549 | } | ||
550 | } | ||
551 | |||
534 | extern "C" LPCSTR LoggingPerMachineToString( | 552 | extern "C" LPCSTR LoggingPerMachineToString( |
535 | __in BOOL fPerMachine | 553 | __in BOOL fPerMachine |
536 | ) | 554 | ) |