msi: Remove a component regardless of its install state, unless it's a permanent component.
This commit is contained in:
parent
462ec1ba43
commit
26299647f7
|
@ -1982,8 +1982,7 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
|
|||
continue;
|
||||
}
|
||||
TRACE("nobody wants component %s\n", debugstr_w(component->Component));
|
||||
if (component->anyAbsent &&
|
||||
(component->Installed == INSTALLSTATE_LOCAL || component->Installed == INSTALLSTATE_SOURCE))
|
||||
if (component->anyAbsent && component->ComponentId)
|
||||
{
|
||||
component->Action = INSTALLSTATE_ABSENT;
|
||||
component->ActionRequest = INSTALLSTATE_ABSENT;
|
||||
|
|
Loading…
Reference in New Issue