msi: Forward MsiInstallMissingComponentA to MsiInstallMissingComponentW.
This commit is contained in:
parent
6d13e2fd4b
commit
c3030532d4
|
@ -3769,6 +3769,31 @@ UINT WINAPI MsiSetExternalUIRecord( INSTALLUI_HANDLER_RECORD handler,
|
|||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiInstallMissingComponentA [MSI.@]
|
||||
*/
|
||||
UINT WINAPI MsiInstallMissingComponentA( LPCSTR product, LPCSTR component, INSTALLSTATE state )
|
||||
{
|
||||
UINT r;
|
||||
WCHAR *productW = NULL, *componentW = NULL;
|
||||
|
||||
TRACE("%s, %s, %d\n", debugstr_a(product), debugstr_a(component), state);
|
||||
|
||||
if (product && !(productW = strdupAtoW( product )))
|
||||
return ERROR_OUTOFMEMORY;
|
||||
|
||||
if (component && !(componentW = strdupAtoW( component )))
|
||||
{
|
||||
msi_free( productW );
|
||||
return ERROR_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
r = MsiInstallMissingComponentW( productW, componentW, state );
|
||||
msi_free( productW );
|
||||
msi_free( componentW );
|
||||
return r;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* MsiInstallMissingComponentW [MSI.@]
|
||||
*/
|
||||
|
|
|
@ -76,7 +76,7 @@
|
|||
80 stdcall MsiGetTargetPathW(long wstr ptr ptr)
|
||||
81 stdcall MsiGetUserInfoA(str ptr ptr ptr ptr ptr ptr)
|
||||
82 stdcall MsiGetUserInfoW(wstr ptr ptr ptr ptr ptr ptr)
|
||||
83 stub MsiInstallMissingComponentA
|
||||
83 stdcall MsiInstallMissingComponentA(str str long)
|
||||
84 stdcall MsiInstallMissingComponentW(wstr wstr long)
|
||||
85 stub MsiInstallMissingFileA
|
||||
86 stub MsiInstallMissingFileW
|
||||
|
|
Loading…
Reference in New Issue