[Wine-patches] [eterhack 5/6] msi: Reset component state before setting (eterbug #953).

Alexander Morozov amorozov на etersoft.ru
Пт Авг 14 16:21:48 MSD 2009


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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index ad9813c..0d78a1c 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -2160,6 +2160,8 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
         if (!component->Enabled)
             continue;
 
+        msi_component_set_state(package, component, INSTALLSTATE_UNKNOWN);
+
         /* check if it's local or source */
         if (!(component->Attributes & msidbComponentAttributesOptional) &&
              (component->hasLocalFeature || component->hasSourceFeature))
-- 
1.6.3.3



Подробная информация о списке рассылки Wine-patches