Fix for the return codes for the Qualified component calls. They are
not INSTALLSTATEs but rather success values.
This commit is contained in:
parent
b965457c4a
commit
7e181f49a8
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue