Hans Leidekker : msi: Fix detection of installed global assemblies.
Alexandre Julliard
julliard at winehq.org
Tue Jan 10 13:11:21 CST 2012
Module: wine
Branch: master
Commit: b13195ce4ebb13342d2f01093cd33a3d81cfd779
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b13195ce4ebb13342d2f01093cd33a3d81cfd779
Author: Hans Leidekker <hans at codeweavers.com>
Date: Tue Jan 10 16:55:07 2012 +0100
msi: Fix detection of installed global assemblies.
---
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;
More information about the wine-cvs
mailing list