Commit 5538fa02 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Publish media disks whether the drive type is removable or not.

parent ef640a6c
......@@ -544,7 +544,6 @@ UINT msi_load_media_info(MSIPACKAGE *package, MSIFILE *file, MSIMEDIAINFO *mi)
options |= MSISOURCETYPE_NETWORK;
}
if (mi->type == DRIVE_CDROM || mi->type == DRIVE_REMOVABLE)
msi_package_add_media_disk(package, package->Context,
MSICODE_PRODUCT, mi->disk_id,
mi->volume_label, mi->disk_prompt);
......
......@@ -2559,10 +2559,7 @@ static void test_publish_publishproduct(void)
res = RegOpenKeyA(sourcelist, "Media", &media);
ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res);
todo_wine
{
CHECK_DEL_REG_STR(media, "1", "DISK1;");
}
RegDeleteKeyA(media, "");
RegCloseKey(media);
......
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