Commit bf515184 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Perform costing again for the InstallExecute sequence.

parent d9f2120f
...@@ -2178,9 +2178,6 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package) ...@@ -2178,9 +2178,6 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
MSIQUERY * view; MSIQUERY * view;
LPWSTR level; LPWSTR level;
if ( 1 == msi_get_property_int( package, szCosting, 0 ) )
return ERROR_SUCCESS;
TRACE("Building Directory properties\n"); TRACE("Building Directory properties\n");
rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view); rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view);
...@@ -2215,6 +2212,8 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package) ...@@ -2215,6 +2212,8 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
TRACE("Disabling component %s\n", debugstr_w(comp->Component)); TRACE("Disabling component %s\n", debugstr_w(comp->Component));
comp->Enabled = FALSE; comp->Enabled = FALSE;
} }
else
comp->Enabled = TRUE;
} }
MSI_SetPropertyW(package,szCosting,szOne); MSI_SetPropertyW(package,szCosting,szOne);
......
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