Commit 2849d3a0 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Use SOURCEDIR instead of PackagePath. Because the PackagePath may be

local, while SOURCEDIR is more proper and will be a full directory.
parent a30c1b98
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment