msi: Support MSIRUNMODE_LOGENABLED in MsiGetMode.

This commit is contained in:
Hans Leidekker 2010-12-15 09:05:07 +01:00 committed by Alexandre Julliard
parent 0b5edecc8b
commit 942e2b2ac9
1 changed files with 4 additions and 0 deletions

View File

@ -716,6 +716,10 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
r = package->need_reboot;
break;
case MSIRUNMODE_LOGENABLED:
r = (package->log_file != INVALID_HANDLE_VALUE);
break;
default:
FIXME("unimplemented run mode: %d\n", iRunMode);
r = TRUE;