Since multiple progids can refer to 1 class we need to check if that

class is isntalled instead of just relying on having it set the
InstallMe variable.
This commit is contained in:
Aric Stewart 2005-06-04 09:35:22 +00:00 committed by Alexandre Julliard
parent 96eb47392c
commit 873c0726e9
1 changed files with 3 additions and 0 deletions

View File

@ -5690,6 +5690,9 @@ static UINT ACTION_RegisterProgIdInfo(MSIPACKAGE *package)
WCHAR clsid[0x1000];
/* check if this progid is to be installed */
package->progids[i].InstallMe = ((package->progids[i].InstallMe) ||
(package->progids[i].ClassIndex >= 0 &&
package->classes[package->progids[i].ClassIndex].Installed));
if (!package->progids[i].InstallMe)
{