msi: Skip reference counting for assembly components.

This commit is contained in:
Hans Leidekker 2011-03-16 09:22:48 +01:00 committed by Alexandre Julliard
parent 58442c1b50
commit 12135acb70
1 changed files with 1 additions and 3 deletions

View File

@ -3151,9 +3151,6 @@ static UINT ACTION_WriteSharedDLLsCount(LPCWSTR path, UINT count)
return count;
}
/*
* Return TRUE if the count should be written out and FALSE if not
*/
static void ACTION_RefCountComponent( MSIPACKAGE* package, MSICOMPONENT *comp )
{
MSIFEATURE *feature;
@ -3162,6 +3159,7 @@ static void ACTION_RefCountComponent( MSIPACKAGE* package, MSICOMPONENT *comp )
/* only refcount DLLs */
if (comp->KeyPath == NULL ||
comp->assembly ||
comp->Attributes & msidbComponentAttributesRegistryKeyPath ||
comp->Attributes & msidbComponentAttributesODBCDataSource)
write = FALSE;