msi: A progid who is its own parent cannot have a clsid.
This commit is contained in:
parent
b779aac8cf
commit
33c3bdeb03
|
@ -971,6 +971,8 @@ static LPCWSTR get_clsid_of_progid( const MSIPROGID *progid )
|
|||
{
|
||||
if (progid->Class)
|
||||
return progid->Class->clsid;
|
||||
if (progid->Parent == progid)
|
||||
break;
|
||||
progid = progid->Parent;
|
||||
}
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in New Issue