Commit f6170beb authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Implement MsiConfigureFeatureA using MsiConfigureFeatureW.

parent 741b47fd
......@@ -1779,8 +1779,26 @@ UINT WINAPI MsiCollectUserInfoA(LPCSTR szProduct)
*/
UINT WINAPI MsiConfigureFeatureA(LPCSTR szProduct, LPCSTR szFeature, INSTALLSTATE eInstallState)
{
FIXME("%s %s %i\n", debugstr_a(szProduct), debugstr_a(szFeature), eInstallState);
return ERROR_SUCCESS;
LPWSTR prod, feat = NULL;
UINT r = ERROR_OUTOFMEMORY;
TRACE("%s %s %i\n", debugstr_a(szProduct), debugstr_a(szFeature), eInstallState);
prod = strdupAtoW( szProduct );
if (szProduct && !prod)
goto end;
feat = strdupAtoW( szFeature );
if (szFeature && !feat)
goto end;
r = MsiConfigureFeatureW(prod, feat, eInstallState);
end:
msi_free(feat);
msi_free(prod);
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