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:
parent
96eb47392c
commit
873c0726e9
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue