msi: Display the product code in the FindRelatedProducts action.
authorHans Leidekker <hans@codeweavers.com>
Fri, 5 Mar 2010 11:25:31 +0000 (12:25 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 5 Mar 2010 12:14:01 +0000 (13:14 +0100)
dlls/msi/upgrade.c

index 21b677d553bfbbe51128f8e5dd676a1c81abddcb..a440070a4d83053e11797a3a2c0faf51e26e45e0 100644 (file)
@@ -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 ++;
     }