From 33c3bdeb03129bab41722104c6a40cea6666dd6d Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Fri, 2 May 2008 03:45:32 -0500 Subject: [PATCH] msi: A progid who is its own parent cannot have a clsid. --- dlls/msi/classes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c index aca7c93204f..45254ef999a 100644 --- a/dlls/msi/classes.c +++ b/dlls/msi/classes.c @@ -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;