From 942e2b2ac96767b14b33224a085078134ac8995b Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 15 Dec 2010 09:05:07 +0100 Subject: [PATCH] msi: Support MSIRUNMODE_LOGENABLED in MsiGetMode. --- dlls/msi/install.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/msi/install.c b/dlls/msi/install.c index a4705238eb5..e2fe863c606 100644 --- a/dlls/msi/install.c +++ b/dlls/msi/install.c @@ -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;