msi: Don't extract files for assemblies which are already installed.

This commit is contained in:
Hans Leidekker 2011-01-11 10:28:50 +01:00 committed by Alexandre Julliard
parent 65581e0e33
commit 6a0801a40a
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ static void schedule_install_files(MSIPACKAGE *package)
{
MSICOMPONENT *comp = file->Component;
if (comp->ActionRequest != INSTALLSTATE_LOCAL || !comp->Enabled)
if (comp->ActionRequest != INSTALLSTATE_LOCAL || !comp->Enabled ||
(comp->assembly && comp->assembly->installed))
{
TRACE("File %s is not scheduled for install\n", debugstr_w(file->File));
file->state = msifs_skipped;