msi: RegisterUser fix

Aric Stewart aric at codeweavers.com
Fri May 20 11:34:27 CDT 2005


Write the RegOwner and RegCompany keys as blank if they do not exist when doing the RegisterUser action

-------------- next part --------------
Index: dlls/msi/action.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/action.c,v
retrieving revision 1.119
diff -u -r1.119 action.c
--- dlls/msi/action.c	20 May 2005 09:40:42 -0000	1.119
+++ dlls/msi/action.c	20 May 2005 16:32:11 -0000
@@ -6250,6 +6250,8 @@
             size = strlenW(buffer)*sizeof(WCHAR);
             RegSetValueExW(hkey,szRegKeys[i],0,REG_SZ,(LPSTR)buffer,size);
         }
+        else
+            RegSetValueExW(hkey,szRegKeys[i],0,REG_SZ,NULL,0);
         i++;
     }
 


More information about the wine-patches mailing list