[13/15] msi: Update the UI in the RegisterProduct action.
Hans Leidekker
hans at codeweavers.com
Fri Mar 5 05:28:11 CST 2010
---
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;
}
--
1.6.3.3
More information about the wine-patches
mailing list