msi: Fix typo in a field name.
This commit is contained in:
parent
8f07fbcd53
commit
f21225a41b
|
@ -1887,7 +1887,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
|
||||||
component->anyAbsent = 1;
|
component->anyAbsent = 1;
|
||||||
break;
|
break;
|
||||||
case INSTALLSTATE_ADVERTISED:
|
case INSTALLSTATE_ADVERTISED:
|
||||||
component->hasAdvertiseFeature = 1;
|
component->hasAdvertisedFeature = 1;
|
||||||
break;
|
break;
|
||||||
case INSTALLSTATE_SOURCE:
|
case INSTALLSTATE_SOURCE:
|
||||||
component->hasSourceFeature = 1;
|
component->hasSourceFeature = 1;
|
||||||
|
@ -1897,7 +1897,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
|
||||||
break;
|
break;
|
||||||
case INSTALLSTATE_DEFAULT:
|
case INSTALLSTATE_DEFAULT:
|
||||||
if (feature->Attributes & msidbFeatureAttributesFavorAdvertise)
|
if (feature->Attributes & msidbFeatureAttributesFavorAdvertise)
|
||||||
component->hasAdvertiseFeature = 1;
|
component->hasAdvertisedFeature = 1;
|
||||||
else if (feature->Attributes & msidbFeatureAttributesFavorSource)
|
else if (feature->Attributes & msidbFeatureAttributesFavorSource)
|
||||||
component->hasSourceFeature = 1;
|
component->hasSourceFeature = 1;
|
||||||
else
|
else
|
||||||
|
@ -1942,7 +1942,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
|
||||||
component->ActionRequest = INSTALLSTATE_SOURCE;
|
component->ActionRequest = INSTALLSTATE_SOURCE;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (component->hasAdvertiseFeature)
|
if (component->hasAdvertisedFeature)
|
||||||
{
|
{
|
||||||
component->Action = INSTALLSTATE_ADVERTISED;
|
component->Action = INSTALLSTATE_ADVERTISED;
|
||||||
component->ActionRequest = INSTALLSTATE_ADVERTISED;
|
component->ActionRequest = INSTALLSTATE_ADVERTISED;
|
||||||
|
|
|
@ -487,7 +487,7 @@ typedef struct tagMSICOMPONENT
|
||||||
int num_clients;
|
int num_clients;
|
||||||
|
|
||||||
unsigned int anyAbsent:1;
|
unsigned int anyAbsent:1;
|
||||||
unsigned int hasAdvertiseFeature:1;
|
unsigned int hasAdvertisedFeature:1;
|
||||||
unsigned int hasLocalFeature:1;
|
unsigned int hasLocalFeature:1;
|
||||||
unsigned int hasSourceFeature:1;
|
unsigned int hasSourceFeature:1;
|
||||||
} MSICOMPONENT;
|
} MSICOMPONENT;
|
||||||
|
|
Loading…
Reference in New Issue