msi: fix tracking custom actions

Aric Stewart aric at codeweavers.com
Wed Feb 9 02:17:44 CST 2005


we do not want to track the temp files for custom actions based on the 
name from
the table because then we get conflicts and files not tracked or cleaned 
up.
-------------- next part --------------
Index: dlls/msi/custom.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/custom.c,v
retrieving revision 1.5
diff -u -u -r1.5 custom.c
--- dlls/msi/custom.c	8 Feb 2005 14:27:06 -0000	1.5
+++ dlls/msi/custom.c	9 Feb 2005 08:18:52 -0000
@@ -256,7 +256,7 @@
         HANDLE the_file;
         CHAR buffer[1024];
 
-        if (track_tempfile(package, source, tmp_file)!=0)
+        if (track_tempfile(package, tmp_file, tmp_file)!=0)
             FIXME("File Name in temp tracking collision\n");
 
         the_file = CreateFileW(tmp_file, GENERIC_WRITE, 0, NULL, CREATE_ALWAYS,


More information about the wine-patches mailing list