msi: Components don't require a key path.
This commit is contained in:
parent
7cd084d041
commit
6d13e2fd4b
|
@ -3245,8 +3245,7 @@ static UINT ACTION_ProcessComponents(MSIPACKAGE *package)
|
|||
'>','=',' ','%','i',' ','O','R','D','E','R',' ','B','Y',' ',
|
||||
'`','D','i','s','k','I','d','`',0};
|
||||
|
||||
file = get_loaded_file(package, comp->KeyPath);
|
||||
if (!file)
|
||||
if (!comp->KeyPath || !(file = get_loaded_file(package, comp->KeyPath)))
|
||||
continue;
|
||||
|
||||
row = MSI_QueryGetRecord(package->db, query, file->Sequence);
|
||||
|
|
|
@ -850,8 +850,7 @@ UINT ACTION_RegisterClassInfo(MSIPACKAGE *package)
|
|||
}
|
||||
feature->Action = feature->ActionRequest;
|
||||
|
||||
file = get_loaded_file( package, comp->KeyPath );
|
||||
if (!file)
|
||||
if (!comp->KeyPath || !(file = get_loaded_file( package, comp->KeyPath )))
|
||||
{
|
||||
TRACE("COM server not provided, skipping class %s\n", debugstr_w(cls->clsid));
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue