msi: Use the newly added defines from the msidbSumInfoSourceType enumeration.

This commit is contained in:
James Hawkins 2008-07-22 00:54:27 -05:00 committed by Alexandre Julliard
parent 36f282b0b1
commit 7538f9ac19
3 changed files with 2 additions and 7 deletions

View File

@ -1486,7 +1486,7 @@ static UINT load_file(MSIRECORD *row, LPVOID param)
}
else
{
file->IsCompressed = package->WordCount & MSIWORDCOUNT_COMPRESSED;
file->IsCompressed = package->WordCount & msidbSumInfoSourceTypeCompressed;
}
if (!file->IsCompressed)

View File

@ -42,11 +42,6 @@
#define MSITYPE_KEY 0x2000
#define MSITYPE_TEMPORARY 0x4000
/* Word Count masks */
#define MSIWORDCOUNT_SHORTFILENAMES 0x0001
#define MSIWORDCOUNT_COMPRESSED 0x0002
#define MSIWORDCOUNT_ADMINISTRATIVE 0x0004
#define MSIWORDCOUNT_PRIVILEGES 0x0008
/* Install UI level mask for AND operation to exclude flags */
#define INSTALLUILEVEL_MASK 0x0007

View File

@ -797,7 +797,7 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db, LPCWSTR base_url )
return NULL;
}
if (package->WordCount & MSIWORDCOUNT_ADMINISTRATIVE)
if (package->WordCount & msidbSumInfoSourceTypeAdminImage)
msi_load_admin_properties( package );
}