Hans Leidekker : msi: Update the UI in the AllocateRegistrySpace action.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 09:42:55 CST 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Mar  5 12:23:22 2010 +0100

msi: Update the UI in the AllocateRegistrySpace action.

---

 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;
 }
 




More information about the wine-cvs mailing list