[5/9] msi: Update the UI in the UnpublishFeatures action.

Hans Leidekker hans at codeweavers.com
Tue Mar 23 05:47:19 CDT 2010


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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 028b4f0..a03b179 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -4373,6 +4373,7 @@ static UINT msi_unpublish_feature(MSIPACKAGE *package, MSIFEATURE *feature)
 {
     UINT r;
     HKEY hkey;
+    MSIRECORD *uirow;
 
     TRACE("unpublishing feature %s\n", debugstr_w(feature->Feature));
 
@@ -4392,6 +4393,11 @@ static UINT msi_unpublish_feature(MSIPACKAGE *package, MSIFEATURE *feature)
         RegCloseKey(hkey);
     }
 
+    uirow = MSI_CreateRecord( 1 );
+    MSI_RecordSetStringW( uirow, 1, feature->Feature );
+    ui_actiondata( package, szUnpublishFeatures, uirow );
+    msiobj_release( &uirow->hdr );
+
     return ERROR_SUCCESS;
 }
 
-- 
1.7.0





More information about the wine-patches mailing list