diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-11-15 19:54:20 -0600 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-11-17 19:06:00 -0600 |
| commit | 0d873d28c2dd18444afa08b748e91f495ed1cf5c (patch) | |
| tree | c82e70b9ac047b316f976e6078bf19ff19cc7d95 /src/engine/logging.cpp | |
| parent | d6aceb1277606fe1f1688d40ee0895d0b89c6705 (diff) | |
| download | wix-0d873d28c2dd18444afa08b748e91f495ed1cf5c.tar.gz wix-0d873d28c2dd18444afa08b748e91f495ed1cf5c.tar.bz2 wix-0d873d28c2dd18444afa08b748e91f495ed1cf5c.zip | |
Add plan tests.
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 | ) |
