diff options
Diffstat (limited to 'src/engine/logging.cpp')
| -rw-r--r-- | src/engine/logging.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/engine/logging.cpp b/src/engine/logging.cpp index e69303f0..512b562c 100644 --- a/src/engine/logging.cpp +++ b/src/engine/logging.cpp | |||
| @@ -468,6 +468,27 @@ extern "C" LPCSTR LoggingMsiInstallContext( | |||
| 468 | } | 468 | } |
| 469 | } | 469 | } |
| 470 | 470 | ||
| 471 | extern "C" LPCWSTR LoggingBurnMsiPropertyToString( | ||
| 472 | __in BURN_MSI_PROPERTY burnMsiProperty | ||
| 473 | ) | ||
| 474 | { | ||
| 475 | switch (burnMsiProperty) | ||
| 476 | { | ||
| 477 | case BURN_MSI_PROPERTY_INSTALL: | ||
| 478 | return BURNMSIINSTALL_PROPERTY_NAME; | ||
| 479 | case BURN_MSI_PROPERTY_MODIFY: | ||
| 480 | return BURNMSIMODIFY_PROPERTY_NAME; | ||
| 481 | case BURN_MSI_PROPERTY_NONE: | ||
| 482 | return L"(none)"; | ||
| 483 | case BURN_MSI_PROPERTY_REPAIR: | ||
| 484 | return BURNMSIREPAIR_PROPERTY_NAME; | ||
| 485 | case BURN_MSI_PROPERTY_UNINSTALL: | ||
| 486 | return BURNMSIUNINSTALL_PROPERTY_NAME; | ||
| 487 | default: | ||
| 488 | return L"Invalid"; | ||
| 489 | } | ||
| 490 | } | ||
| 491 | |||
| 471 | extern "C" LPCSTR LoggingPerMachineToString( | 492 | extern "C" LPCSTR LoggingPerMachineToString( |
| 472 | __in BOOL fPerMachine | 493 | __in BOOL fPerMachine |
| 473 | ) | 494 | ) |
