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

Alexandre Julliard julliard at winehq.org
Tue Mar 23 12:12:48 CDT 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Mar 23 11:47:19 2010 +0100

msi: Update the UI in the UnpublishFeatures action.

---

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




More information about the wine-cvs mailing list