msi: Use the newly added defines from the msidbSumInfoSourceType enumeration.
This commit is contained in:
parent
36f282b0b1
commit
7538f9ac19
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue