James Hawkins : msi: Perform costing again for the InstallExecute sequence.

Alexandre Julliard julliard at winehq.org
Tue Aug 19 08:46:38 CDT 2008


Module: wine
Branch: master
Commit: bf51518449f999a2dac2fd8b1060ea5590b574f6
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf51518449f999a2dac2fd8b1060ea5590b574f6

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Aug 18 22:58:17 2008 -0500

msi: Perform costing again for the InstallExecute sequence.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 2c4ff14..142eaff 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);




More information about the wine-cvs mailing list