James Hawkins : msi: Source for new patch files can only be compressed.

Alexandre Julliard julliard at winehq.org
Thu Sep 4 08:27:03 CDT 2008


Module: wine
Branch: master
Commit: 3f00006f1f14dfabfdc7f85687d8777b8334523e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3f00006f1f14dfabfdc7f85687d8777b8334523e

Author: James Hawkins <jhawkins at 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;
     }




More information about the wine-cvs mailing list