msi 3: Return a remote interface to the database in a custom action

James Hawkins truiken at gmail.com
Sun Nov 11 18:13:08 CST 2007


Hi,

This fixes an msi bug in the Office 2k7 installer which calls
MsiDatabaseCommit at the end of a custom action, which is not allowed.
 Check out [1] for a list of functions that are not allowed in a
custom action.

[1] http://msdn2.microsoft.com/en-us/library/aa368612.aspx

Changelog:
* Return a remote interface to the database in a custom action.

 dlls/msi/database.c    |  159 ++++++++++++++++++++++++++++++++++++++++++++++-
 dlls/msi/msipriv.h     |    1 +
 dlls/msi/msiquery.c    |   91 ++++++++++++++++++++++++++--
 dlls/msi/msiserver.idl |   15 +++++
 dlls/msi/package.c     |   35 ++++++++++-
 dlls/msi/preview.c     |   19 ++++++-
 dlls/msi/suminfo.c     |   24 +++++++-
 7 files changed, 331 insertions(+), 13 deletions(-)

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Return-a-remote-interface-to-the-database-in-a-cus.patch
Type: text/x-patch
Size: 16011 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071111/35a3baf6/attachment.bin 


More information about the wine-patches mailing list