https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9d3876e40f3f50b5fa6cf…
commit 9d3876e40f3f50b5fa6cf9ae78a7097b9912b3c3
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sun Mar 13 23:41:12 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:28:38 2022 +0100
[WINESYNC] msi: Write "Clients" value as REG_MULTI_SZ in PublishProduct.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id 1951853d06144e67b8a3d9d63c835e06a7232588 by Zebediah Figura
<z.figura12(a)gmail.com>
---
dll/win32/msi/action.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dll/win32/msi/action.c b/dll/win32/msi/action.c
index c628239e676..40d0596a717 100644
--- a/dll/win32/msi/action.c
+++ b/dll/win32/msi/action.c
@@ -4065,7 +4065,7 @@ static UINT msi_publish_product_properties(MSIPACKAGE *package, HKEY
hkey)
msi_reg_set_val_dword(hkey, L"Assignment", 0);
msi_reg_set_val_dword(hkey, L"AdvertiseFlags", 0x184);
msi_reg_set_val_dword(hkey, INSTALLPROPERTY_INSTANCETYPEW, 0);
- msi_reg_set_val_str(hkey, L"Clients", L":");
+ msi_reg_set_val_multi_str(hkey, L"Clients", L":\0");
if (!(guids = msi_get_package_code(package->db))) return ERROR_OUTOFMEMORY;
if ((ptr = wcschr(guids, ';'))) *ptr = 0;