msi: Install assemblies only if the component action request is set to INSTALLSTATE_LOCAL.

oldstable
Hans Leidekker 2010-11-18 12:08:37 +01:00 committed by Alexandre Julliard
parent eaf4307cd7
commit a4de41f36b
1 changed files with 2 additions and 1 deletions

View File

@ -293,7 +293,8 @@ UINT ACTION_InstallFiles(MSIPACKAGE *package)
}
LIST_FOR_EACH_ENTRY( comp, &package->components, MSICOMPONENT, entry )
{
if (comp->Enabled && comp->assembly && !comp->assembly->installed)
if (comp->ActionRequest == INSTALLSTATE_LOCAL && comp->Enabled &&
comp->assembly && !comp->assembly->installed)
{
rc = install_assembly( package, comp );
if (rc != ERROR_SUCCESS)