msi: enable opening of patch databases
Aric Stewart
aric at codeweavers.com
Mon Sep 5 13:58:40 CDT 2005
Add the GUID for Patch files so that they can be opened as well. looks
like the database structure is pretty much the same.
-------------- next part --------------
Index: dlls/msi/database.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/database.c,v
retrieving revision 1.4
diff -u -r1.4 database.c
--- dlls/msi/database.c 31 May 2005 09:30:28 -0000 1.4
+++ dlls/msi/database.c 5 Sep 2005 18:58:45 -0000
@@ -48,6 +48,8 @@
DEFINE_GUID( CLSID_MsiDatabase, 0x000c1084, 0x0000, 0x0000,
0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
+DEFINE_GUID( CLSID_MsiPatch, 0x000c1086, 0x0000, 0x0000,
+ 0xc0,0x00,0x00,0x00,0x00,0x00,0x00,0x46);
/*
* .MSI file format
@@ -132,7 +134,8 @@
goto end;
}
- if( memcmp( &stat.clsid, &CLSID_MsiDatabase, sizeof (GUID) ) )
+ if(( memcmp( &stat.clsid, &CLSID_MsiDatabase, sizeof (GUID) ) )
+ && ( memcmp( &stat.clsid, &CLSID_MsiPatch, sizeof (GUID) ) ))
{
ERR("storage GUID is not a MSI database GUID %s\n",
debugstr_guid(&stat.clsid) );
More information about the wine-patches
mailing list