msi: fix for QualifiedComponent returns
Aric Stewart
aric at codeweavers.com
Thu Apr 21 11:15:47 CDT 2005
a fix for the return codes for the Qualified component calls. they are not INSTALLSTATEs but rather success values.
-------------- next part --------------
Index: dlls/msi/msi.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/msi.c,v
retrieving revision 1.73
diff -u -r1.73 msi.c
--- dlls/msi/msi.c 20 Apr 2005 15:18:43 -0000 1.73
+++ dlls/msi/msi.c 21 Apr 2005 16:13:30 -0000
@@ -1375,7 +1375,11 @@
HeapFree(GetProcessHeap(),0,info);
HeapFree(GetProcessHeap(),0,product);
HeapFree(GetProcessHeap(),0,component);
- return rc;
+
+ if (rc == INSTALLSTATE_LOCAL)
+ return ERROR_SUCCESS;
+ else
+ return ERROR_FILE_NOT_FOUND;
}
UINT WINAPI MsiProvideQualifiedComponentW( LPCWSTR szComponent,
More information about the wine-patches
mailing list