From 2849d3a0a10ea6cef15addabef88bd20ecb5cc9a Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Thu, 21 Jul 2005 10:32:16 +0000 Subject: [PATCH] Use SOURCEDIR instead of PackagePath. Because the PackagePath may be local, while SOURCEDIR is more proper and will be a full directory. --- dlls/msi/files.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/msi/files.c b/dlls/msi/files.c index bbb503d4e03..c7f0862c109 100644 --- a/dlls/msi/files.c +++ b/dlls/msi/files.c @@ -534,8 +534,7 @@ static UINT ready_media_for_file(MSIPACKAGE *package, int fileindex, 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, -- 2.11.4.GIT