[1/3] msi: Fix detection of installed global assemblies.
Hans Leidekker
hans at codeweavers.com
Tue Jan 10 09:55:07 CST 2012
---
dlls/msi/assembly.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c
index fd1f952..6ce020e 100644
--- a/dlls/msi/assembly.c
+++ b/dlls/msi/assembly.c
@@ -263,7 +263,7 @@ static BOOL is_assembly_installed( IAssemblyCache *cache, const WCHAR *display_n
memset( &info, 0, sizeof(info) );
info.cbAssemblyInfo = sizeof(info);
hr = IAssemblyCache_QueryAssemblyInfo( cache, QUERYASMINFO_FLAG_GETSIZE, display_name, &info );
- if (FAILED( hr ))
+ if (hr != HRESULT_FROM_WIN32( ERROR_INSUFFICIENT_BUFFER ))
{
TRACE("QueryAssemblyInfo returned 0x%08x\n", hr);
return FALSE;
--
1.7.7.3
More information about the wine-patches
mailing list