msi: Update the UI in the RegisterProduct action.

This commit is contained in:
Hans Leidekker 2010-03-05 12:28:11 +01:00 committed by Alexandre Julliard
parent c547fb3629
commit 4341f18c7e
1 changed files with 6 additions and 1 deletions

View File

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