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

This commit is contained in:
Misha Koshelev 2007-02-05 23:25:15 -06:00 committed by Alexandre Julliard
parent 550ea86ffd
commit ecd20e28ac
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
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);