Fix for the return codes for the Qualified component calls. They are

not INSTALLSTATEs but rather success values.
This commit is contained in:
Aric Stewart 2005-04-21 17:24:27 +00:00 committed by Alexandre Julliard
parent b965457c4a
commit 7e181f49a8
1 changed files with 5 additions and 1 deletions

View File

@ -1375,7 +1375,11 @@ UINT WINAPI MsiProvideQualifiedComponentExW(LPCWSTR szComponent,
HeapFree(GetProcessHeap(),0,info); HeapFree(GetProcessHeap(),0,info);
HeapFree(GetProcessHeap(),0,product); HeapFree(GetProcessHeap(),0,product);
HeapFree(GetProcessHeap(),0,component); HeapFree(GetProcessHeap(),0,component);
return rc;
if (rc == INSTALLSTATE_LOCAL)
return ERROR_SUCCESS;
else
return ERROR_FILE_NOT_FOUND;
} }
UINT WINAPI MsiProvideQualifiedComponentW( LPCWSTR szComponent, UINT WINAPI MsiProvideQualifiedComponentW( LPCWSTR szComponent,