msi: Fix the compressed files logic

James Hawkins truiken at
Thu Aug 3 15:30:39 CDT 2006


This patch corrects the behavior of non/compressed files.  A recent
patch of mine tickled this bug and caused a few installers to fail to
install files.  Here's a quote from msdn:


If set, ignore the Word Count Summary Property. If neither
msidbFileAttributesNoncompressed or msidbFileAttributesCompressed are
set, the compression state of the file is specified by the Word Count
Summary Property. Do not set both msidbFileAttributesNoncompressed and

* If the compressed file attribute is not set, use the Word Count
property to determine if files are compressed.

 dlls/msi/action.c  |   16 ++++++++++++++++
 dlls/msi/action.h  |    1 +
 dlls/msi/files.c   |    6 +++---
 dlls/msi/msipriv.h |    8 ++++++++
 dlls/msi/package.c |   30 ++++++++++++++++++++++++++++++
 5 files changed, 58 insertions(+), 3 deletions(-)

James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 28b512f4fd3bb48e0163ec1245ffe7600024396b.diff
Type: application/octet-stream
Size: 4888 bytes
Desc: not available
Url :

More information about the wine-patches mailing list