[1/2] msi: Skip reference counting for assembly components.

Hans Leidekker hans at codeweavers.com
Wed Mar 16 03:22:48 CDT 2011


---
 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;
-- 
1.7.1







More information about the wine-patches mailing list