From bf51518449f999a2dac2fd8b1060ea5590b574f6 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Mon, 18 Aug 2008 22:58:17 -0500 Subject: [PATCH] msi: Perform costing again for the InstallExecute sequence. --- dlls/msi/action.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 2c4ff141fc9..142eaff3bb9 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -2178,9 +2178,6 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package) MSIQUERY * view; LPWSTR level; - if ( 1 == msi_get_property_int( package, szCosting, 0 ) ) - return ERROR_SUCCESS; - TRACE("Building Directory properties\n"); rc = MSI_DatabaseOpenViewW(package->db, ExecSeqQuery, &view); @@ -2215,6 +2212,8 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package) TRACE("Disabling component %s\n", debugstr_w(comp->Component)); comp->Enabled = FALSE; } + else + comp->Enabled = TRUE; } MSI_SetPropertyW(package,szCosting,szOne); -- 2.11.4.GIT