msi: Publish source information in the user-unmanaged context.
This commit is contained in:
parent
7e8cd606a0
commit
4d2cf7a44b
|
@ -554,10 +554,10 @@ static UINT load_media_info(MSIPACKAGE *package, MSIFILE *file, struct media_inf
|
|||
lstrcatW(mi->source, mi->cabinet);
|
||||
}
|
||||
|
||||
msi_package_add_media_disk(package, MSIINSTALLCONTEXT_USERMANAGED, MSICODE_PRODUCT,
|
||||
msi_package_add_media_disk(package, MSIINSTALLCONTEXT_USERUNMANAGED, MSICODE_PRODUCT,
|
||||
mi->disk_id, mi->volume_label, mi->disk_prompt);
|
||||
|
||||
msi_package_add_info(package, MSIINSTALLCONTEXT_USERMANAGED,
|
||||
msi_package_add_info(package, MSIINSTALLCONTEXT_USERUNMANAGED,
|
||||
MSICODE_PRODUCT | MSISOURCETYPE_MEDIA,
|
||||
INSTALLPROPERTY_LASTUSEDSOURCEW, mi->source);
|
||||
|
||||
|
|
Loading…
Reference in New Issue