msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.

This commit is contained in:
Hans Leidekker 2010-03-23 11:47:42 +01:00 committed by Alexandre Julliard
parent 18a85caa3c
commit d0856c0ac5
1 changed files with 1 additions and 5 deletions

View File

@ -2362,12 +2362,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
uirow = MSI_CreateRecord(3);
MSI_RecordSetStringW(uirow,2,deformated);
MSI_RecordSetStringW(uirow,1,uikey);
if (type == REG_SZ)
if (type == REG_SZ || type == REG_EXPAND_SZ)
MSI_RecordSetStringW(uirow,3,(LPWSTR)value_data);
else
MSI_RecordSetStringW(uirow,3,value);
ui_actiondata(package,szWriteRegistryValues,uirow);
msiobj_release( &uirow->hdr );