From d0856c0ac5bc59d994c2dec0d64d1e4b43efd6ba Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 23 Mar 2010 11:47:42 +0100 Subject: [PATCH] msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action. --- dlls/msi/action.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index a03b179e4ed..1a483de910b 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 );