msi: Fix the compressed files logic

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


Hi,

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:

msidbFileAttributesNoncompressed:

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
msidbFileAttributesCompressed.


Changelog:
* 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20060803/369e1308/28b512f4fd3bb48e0163ec1245ffe7600024396b.obj


More information about the wine-patches mailing list