[2/4] msi: Improve the stub for MisGetMode(MSIRUNMODE_ADMIN).

Hans Leidekker hans at codeweavers.com
Thu May 12 10:22:56 CDT 2011


---
 dlls/msi/install.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index 686fc58..3559792 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -724,6 +724,11 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
 
     switch (iRunMode)
     {
+    case MSIRUNMODE_ADMIN:
+        FIXME("no support for administrative installs\n");
+        r = FALSE;
+        break;
+
     case MSIRUNMODE_WINDOWS9X:
         if (GetVersion() & 0x80000000)
             r = TRUE;
-- 
1.7.4.1







More information about the wine-patches mailing list