Mike McCormack : msi: Advertise components of a feature that has the msidbFeatureAttributesFavorAdvertise property .

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 29 07:24:04 CST 2006


Module: wine
Branch: master
Commit: 1770c9125df872ed2eb8071ce9be70dbf239eddc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1770c9125df872ed2eb8071ce9be70dbf239eddc

Author: Mike McCormack <mike at codeweavers.com>
Date:   Wed Nov 29 16:37:07 2006 +0900

msi: Advertise components of a feature that has the msidbFeatureAttributesFavorAdvertise property.

---

 dlls/msi/action.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 668b49e..da8a76c 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -1807,7 +1807,11 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *pa
             if (component->ForceLocalState)
                 msi_component_set_state( component, INSTALLSTATE_LOCAL );
 
-            if (feature->Attributes == msidbFeatureAttributesFavorLocal)
+            if (feature->Attributes == msidbFeatureAttributesFavorAdvertise)
+            {
+                msi_component_set_state( component, INSTALLSTATE_ADVERTISED );
+            }
+            else if (feature->Attributes == msidbFeatureAttributesFavorLocal)
             {
                 if (!(component->Attributes & msidbComponentAttributesSourceOnly))
                     msi_component_set_state( component, INSTALLSTATE_LOCAL );




More information about the wine-cvs mailing list