mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
msi: Components don't require a key path.
This commit is contained in:
parent
aef0aa30fd
commit
566e67a491
1 changed files with 4 additions and 3 deletions
|
@ -3358,10 +3358,11 @@ static UINT ITERATE_RegisterTypeLibraries(MSIRECORD *row, LPVOID param)
|
||||||
}
|
}
|
||||||
comp->Action = INSTALLSTATE_LOCAL;
|
comp->Action = INSTALLSTATE_LOCAL;
|
||||||
|
|
||||||
file = get_loaded_file( package, comp->KeyPath );
|
if (!comp->KeyPath || !(file = get_loaded_file( package, comp->KeyPath )))
|
||||||
if (!file)
|
{
|
||||||
|
TRACE("component has no key path\n");
|
||||||
return ERROR_SUCCESS;
|
return ERROR_SUCCESS;
|
||||||
|
}
|
||||||
ui_actiondata( package, szRegisterTypeLibraries, row );
|
ui_actiondata( package, szRegisterTypeLibraries, row );
|
||||||
|
|
||||||
module = LoadLibraryExW( file->TargetPath, NULL, LOAD_LIBRARY_AS_DATAFILE );
|
module = LoadLibraryExW( file->TargetPath, NULL, LOAD_LIBRARY_AS_DATAFILE );
|
||||||
|
|
Loading…
Reference in a new issue