Module: wine Branch: master Commit: 9efb7b71ba6b8afb3a145e8c055fa8a8b733596f URL: http://source.winehq.org/git/wine.git/?a=commit;h=9efb7b71ba6b8afb3a145e8c05...
Author: Mike McCormack mike@codeweavers.com Date: Tue Nov 7 17:55:43 2006 +0900
msi: By default, install components locally.
---
dlls/msi/action.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index c878636..ae4400c 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -1853,6 +1853,12 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *pa
LIST_FOR_EACH_ENTRY( component, &package->components, MSICOMPONENT, entry ) { + if (component->Action == INSTALLSTATE_DEFAULT) + { + TRACE("%s was default, setting to local\n", debugstr_w(component->Component)); + msi_component_set_state( component, INSTALLSTATE_LOCAL ); + } + TRACE("Result: Component %s (Installed %i, Action %i, Request %i)\n", debugstr_w(component->Component), component->Installed, component->Action, component->ActionRequest);