James Hawkins : msi: Reset the hasLocalFeature flag when updating components.
Alexandre Julliard
julliard at winehq.org
Mon May 19 09:39:41 CDT 2008
Module: wine
Branch: master
Commit: 95282bdeaaed1f0d5ef5cea1f00b1d7239e5ec0d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=95282bdeaaed1f0d5ef5cea1f00b1d7239e5ec0d
Author: James Hawkins <jhawkins at codeweavers.com>
Date: Mon May 19 02:28:50 2008 -0500
msi: Reset the hasLocalFeature flag when updating components.
---
dlls/msi/helpers.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/helpers.c b/dlls/msi/helpers.c
index 223cacd..3ff47ed 100644
--- a/dlls/msi/helpers.c
+++ b/dlls/msi/helpers.c
@@ -921,6 +921,8 @@ void ACTION_UpdateComponentStates(MSIPACKAGE *package, LPCWSTR szFeature)
ComponentList *clist;
MSIFEATURE *f;
+ component->hasLocalFeature = FALSE;
+
msi_component_set_state( component, newstate );
/*if any other feature wants is local we need to set it local*/
@@ -939,6 +941,7 @@ void ACTION_UpdateComponentStates(MSIPACKAGE *package, LPCWSTR szFeature)
f->ActionRequest == INSTALLSTATE_SOURCE) )
{
TRACE("Saved by %s\n", debugstr_w(f->Feature));
+ component->hasLocalFeature = TRUE;
if (component->Attributes & msidbComponentAttributesOptional)
{
More information about the wine-cvs
mailing list