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

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


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

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

msi: Update the UI in the RegisterProduct action.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index d3b3127..46e28d9 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -4531,6 +4531,7 @@ static UINT msi_publish_install_properties(MSIPACKAGE *package, HKEY hkey)
 static UINT ACTION_RegisterProduct(MSIPACKAGE *package)
 {
     WCHAR squashed_pc[SQUISH_GUID_SIZE];
+    MSIRECORD *uirow;
     LPWSTR upgrade_code;
     HKEY hkey, props;
     HKEY upgrade;
@@ -4575,8 +4576,12 @@ static UINT ACTION_RegisterProduct(MSIPACKAGE *package)
     }
 
 done:
-    RegCloseKey(hkey);
+    uirow = MSI_CreateRecord( 1 );
+    MSI_RecordSetStringW( uirow, 1, package->ProductCode );
+    ui_actiondata( package, szRegisterProduct, uirow );
+    msiobj_release( &uirow->hdr );
 
+    RegCloseKey(hkey);
     return ERROR_SUCCESS;
 }
 




More information about the wine-cvs mailing list