msi: InstallPackage check for UI level must not disregard flags.
This commit is contained in:
parent
550ea86ffd
commit
ecd20e28ac
|
@ -642,7 +642,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
|
||||||
msi_apply_transforms( package );
|
msi_apply_transforms( package );
|
||||||
msi_apply_patches( 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;
|
package->script->InWhatSequence |= SEQUENCE_UI;
|
||||||
rc = ACTION_ProcessUISequence(package);
|
rc = ACTION_ProcessUISequence(package);
|
||||||
|
|
Loading…
Reference in New Issue