Commit 71d7da11 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Fetch the volume name when getting disk info.

parent 8a94f7aa
......@@ -282,6 +282,7 @@ static UINT msi_media_get_disk_info( MSIPACKAGE *package, struct media_info *mi
mi->disk_prompt = strdupW(MSI_RecordGetString(row, 3));
mi->cabinet = strdupW(MSI_RecordGetString(row, 4));
mi->volume_label = strdupW(MSI_RecordGetString(row, 5));
ptr = strrchrW(mi->source, '\\') + 1;
lstrcpyW(ptr, mi->cabinet);
......@@ -310,6 +311,8 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
UINT rc;
msi_free(mi->disk_prompt);
msi_free(mi->cabinet);
msi_free(mi->volume_label);
mi->disk_id++;
mi->is_continuous = TRUE;
......
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