Commit d0856c0a authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.

parent 18a85caa
...@@ -2362,12 +2362,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param) ...@@ -2362,12 +2362,8 @@ static UINT ITERATE_WriteRegistryValues(MSIRECORD *row, LPVOID param)
uirow = MSI_CreateRecord(3); uirow = MSI_CreateRecord(3);
MSI_RecordSetStringW(uirow,2,deformated); MSI_RecordSetStringW(uirow,2,deformated);
MSI_RecordSetStringW(uirow,1,uikey); MSI_RecordSetStringW(uirow,1,uikey);
if (type == REG_SZ || type == REG_EXPAND_SZ)
if (type == REG_SZ)
MSI_RecordSetStringW(uirow,3,(LPWSTR)value_data); MSI_RecordSetStringW(uirow,3,(LPWSTR)value_data);
else
MSI_RecordSetStringW(uirow,3,value);
ui_actiondata(package,szWriteRegistryValues,uirow); ui_actiondata(package,szWriteRegistryValues,uirow);
msiobj_release( &uirow->hdr ); msiobj_release( &uirow->hdr );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment