msi: ready_media_for_file fix
Aric Stewart
aric at codeweavers.com
Wed Jul 20 10:27:31 CDT 2005
use SOURCEDIR instead of PackagePath. Because the PackagePath may be local,
while SOURCEDIR is more proper and will be a full directory.
-------------- next part --------------
Index: dlls/msi/files.c
===================================================================
RCS file: /home/wine/wine/dlls/msi/files.c,v
retrieving revision 1.9
diff -u -r1.9 files.c
--- dlls/msi/files.c 13 Jul 2005 12:07:41 -0000 1.9
+++ dlls/msi/files.c 20 Jul 2005 15:26:27 -0000
@@ -534,8 +534,7 @@
last_path = strdupW(source);
*(strrchrW(last_path,'\\')+1)=0;
- path = strdupW(package->PackagePath);
- *strrchrW(path,'\\')=0;
+ path = load_dynamic_property(package,cszSourceDir,NULL);
MsiSourceListAddMediaDiskW(package->ProductCode, NULL,
MSIINSTALLCONTEXT_USERMANAGED, MSICODE_PRODUCT, count,
More information about the wine-patches
mailing list