Hans Leidekker : msi: Display the product code in the FindRelatedProducts action.

Alexandre Julliard julliard at winehq.org
Fri Mar 5 09:42:56 CST 2010


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

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Fri Mar  5 12:25:31 2010 +0100

msi: Display the product code in the FindRelatedProducts action.

---

 dlls/msi/upgrade.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/msi/upgrade.c b/dlls/msi/upgrade.c
index 21b677d..a440070 100644
--- a/dlls/msi/upgrade.c
+++ b/dlls/msi/upgrade.c
@@ -182,9 +182,10 @@ static UINT ITERATE_FindRelatedProducts(MSIRECORD *rec, LPVOID param)
                 continue;
             }
 
-            action_property = MSI_RecordGetString(rec,7);
-            append_productcode(package,action_property,productid);
-            ui_actiondata(package,szFindRelatedProducts,uirow);
+            action_property = MSI_RecordGetString(rec, 7);
+            append_productcode(package, action_property, productid);
+            MSI_RecordSetStringW(uirow, 1, productid);
+            ui_actiondata(package, szFindRelatedProducts, uirow);
         }
         index ++;
     }




More information about the wine-cvs mailing list