Hans Leidekker : msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.

Alexandre Julliard julliard at winehq.org
Tue Mar 23 12:12:48 CDT 2010


Module: wine
Branch: master
Commit: d0856c0ac5bc59d994c2dec0d64d1e4b43efd6ba
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d0856c0ac5bc59d994c2dec0d64d1e4b43efd6ba

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Mar 23 11:47:42 2010 +0100

msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.

---

 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 );
 




More information about the wine-cvs mailing list