Use SOURCEDIR instead of PackagePath. Because the PackagePath may be

local, while SOURCEDIR is more proper and will be a full directory.
This commit is contained in:
Aric Stewart 2005-07-21 10:32:16 +00:00 committed by Alexandre Julliard
parent a30c1b9871
commit 2849d3a0a1
1 changed files with 1 additions and 2 deletions

View File

@ -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,