mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
msi: Update the UI in the RegisterProduct action.
This commit is contained in:
parent
c547fb3629
commit
4341f18c7e
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue