Module: wine
Branch: master
Commit: 3f00006f1f14dfabfdc7f85687d8777b8334523e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3f00006f1f14dfabfdc7f8568…
Author: James Hawkins <jhawkins(a)codeweavers.com>
Date: Wed Sep 3 21:35:07 2008 -0500
msi: Source for new patch files can only be compressed.
---
dlls/msi/action.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 8cd5923..8a8efe7 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1481,7 +1481,8 @@ static UINT load_file(MSIRECORD *row, LPVOID param)
/* if the compressed bits are not set in the file attributes,
* then read the information from the package word count property
*/
- if (file->Attributes & msidbFileAttributesCompressed)
+ if (file->Attributes &
+ (msidbFileAttributesCompressed | msidbFileAttributesPatchAdded))
{
file->IsCompressed = TRUE;
}