Hans Leidekker : msi: Skip reference counting for assembly components.
Alexandre Julliard
julliard at winehq.org
Wed Mar 16 12:22:36 CDT 2011
Module: wine
Branch: master
Commit: 12135acb70bb7a05b4421db89e31e95044452f82
URL: http://source.winehq.org/git/wine.git/?a=commit;h=12135acb70bb7a05b4421db89e31e95044452f82
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Mar 16 09:22:48 2011 +0100
msi: Skip reference counting for assembly components.
---
dlls/msi/action.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 7567f5d..f806f18 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -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;
More information about the wine-cvs
mailing list