Commit 7538f9ac authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 36f282b0
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment