Misha Koshelev : msi: InstallPackage check for UI level must not disregard flags.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 6 08:03:30 CST 2007


Module: wine
Branch: master
Commit: ecd20e28ac8de743483ae9c313ab6d56be502aa6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ecd20e28ac8de743483ae9c313ab6d56be502aa6

Author: Misha Koshelev <mk144210 at bcm.tmc.edu>
Date:   Mon Feb  5 23:25:15 2007 -0600

msi: InstallPackage check for UI level must not disregard flags.

---

 dlls/msi/action.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 0c8ac79..6c2fdf4 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -642,7 +642,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *pac
     msi_apply_transforms( package );
     msi_apply_patches( package );
 
-    if ( msi_get_property_int(package, szUILevel, 0) >= INSTALLUILEVEL_REDUCED )
+    if ( (msi_get_property_int(package, szUILevel, 0) & 0xf) >= INSTALLUILEVEL_REDUCED )
     {
         package->script->InWhatSequence |= SEQUENCE_UI;
         rc = ACTION_ProcessUISequence(package);




More information about the wine-cvs mailing list