Commit 18c55dee authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Improve tracing in MsiQueryFeatureStateW.

parent a74e0253
......@@ -2709,17 +2709,17 @@ INSTALLSTATE WINAPI MsiQueryFeatureStateW(LPCWSTR szProduct, LPCWSTR szFeature)
msi_free(path);
}
TRACE("%s %s -> %d\n", debugstr_w(szProduct), debugstr_w(szFeature), r);
msi_free(components);
if (missing)
return INSTALLSTATE_ADVERTISED;
if (source)
return INSTALLSTATE_SOURCE;
r = INSTALLSTATE_ADVERTISED;
else if (source)
r = INSTALLSTATE_SOURCE;
else
r = INSTALLSTATE_LOCAL;
return INSTALLSTATE_LOCAL;
TRACE("%s %s -> %d\n", debugstr_w(szProduct), debugstr_w(szFeature), r);
return r;
}
/******************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment