msi: add support for MSIRUNMODE_REBOOTNOW in MsiGetMode
Austin English
austinenglish at gmail.com
Fri Mar 30 19:27:44 CDT 2012
Keeping Focht happy, http://bugs.winehq.org/show_bug.cgi?id=30312
--
-Austin
-------------- next part --------------
diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index 83b8b7d..b414e08 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -764,6 +764,10 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
r = package->need_reboot;
break;
+ case MSIRUNMODE_REBOOTNOW:
+ r = package->need_reboot;
+ break;
+
case MSIRUNMODE_LOGENABLED:
r = (package->log_file != INVALID_HANDLE_VALUE);
break;
More information about the wine-patches
mailing list