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:
parent
a30c1b9871
commit
2849d3a0a1
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue