From 65581e0e3357e7d12fe9e41843edcb27ab33671f Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 11 Jan 2011 10:28:35 +0100 Subject: [PATCH] msi: Fix detection of installed global assemblies. --- dlls/msi/assembly.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/assembly.c b/dlls/msi/assembly.c index 49431aa7c67..1189f6850ae 100644 --- a/dlls/msi/assembly.c +++ b/dlls/msi/assembly.c @@ -283,7 +283,7 @@ static BOOL check_assembly_installed( MSIPACKAGE *package, MSIASSEMBLY *assembly memset( &info, 0, sizeof(info) ); info.cbAssemblyInfo = sizeof(info); hr = IAssemblyCache_QueryAssemblyInfo( cache, QUERYASMINFO_FLAG_VALIDATE, assembly->display_name, &info ); - if (hr != S_OK) + if (hr != HRESULT_FROM_WIN32(ERROR_INSUFFICIENT_BUFFER)) return FALSE; return (info.dwAssemblyFlags == ASSEMBLYINFO_FLAG_INSTALLED);