Commit 9efb7b71 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: By default, install components locally.

parent 50e5caeb
...@@ -1853,6 +1853,12 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package) ...@@ -1853,6 +1853,12 @@ UINT MSI_SetFeatureStates(MSIPACKAGE *package)
LIST_FOR_EACH_ENTRY( component, &package->components, MSICOMPONENT, entry ) 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", TRACE("Result: Component %s (Installed %i, Action %i, Request %i)\n",
debugstr_w(component->Component), component->Installed, debugstr_w(component->Component), component->Installed,
component->Action, component->ActionRequest); component->Action, component->ActionRequest);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment