[01/15] msi: Update the UI in the AllocateRegistrySpace action.

Hans Leidekker hans at codeweavers.com
Fri Mar 5 05:23:22 CST 2010


---
 dlls/msi/action.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 9b44de0..a39ddad 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -7035,8 +7035,16 @@ static UINT ACTION_AllocateRegistrySpace( MSIPACKAGE *package )
 {
     static const WCHAR szAvailableFreeReg[] =
         {'A','V','A','I','L','A','B','L','E','F','R','E','E','R','E','G',0};
+    MSIRECORD *uirow;
+    int space = msi_get_property_int( package, szAvailableFreeReg, 0 );
+
+    TRACE("%p %d kilobytes\n", package, space);
+
+    uirow = MSI_CreateRecord( 1 );
+    MSI_RecordSetInteger( uirow, 1, space );
+    ui_actiondata( package, szAllocateRegistrySpace, uirow );
+    msiobj_release( &uirow->hdr );
 
-    TRACE("%p %d kilobytes\n", package, msi_get_property_int( package, szAvailableFreeReg, 0 ));
     return ERROR_SUCCESS;
 }
 
-- 
1.6.3.3





More information about the wine-patches mailing list