[6/9] msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.
Hans Leidekker
hans at codeweavers.com
Tue Mar 23 05:47:42 CDT 2010
---
dlls/msi/action.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index a03b179..1a483de 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -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 );
--
1.7.0
More information about the wine-patches
mailing list