msi: Update the UI in the RegisterProduct action.
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 ACTION_RegisterProduct(MSIPACKAGE *package)
{
WCHAR squashed_pc[SQUISH_GUID_SIZE];
+ MSIRECORD *uirow;
LPWSTR upgrade_code;
HKEY hkey, props;
HKEY upgrade;
@@ -4575,8 +4576,12 @@
}
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;
}