From 4341f18c7e281eb41798a46e6a1367dd2aeebafb Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 5 Mar 2010 12:28:11 +0100 Subject: [PATCH] msi: Update the UI in the RegisterProduct action. --- dlls/msi/action.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index d3b3127f48..46e28d9a90 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; } -- 2.33.8