Commit 666cfd1c authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Only check the volume label for every media after the first disk.

parent f772fb98
...@@ -606,7 +606,7 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m ...@@ -606,7 +606,7 @@ static UINT ready_media(MSIPACKAGE *package, MSIFILE *file, struct media_info *m
return ERROR_FUNCTION_FAILED; return ERROR_FUNCTION_FAILED;
} }
if (mi->volume_label) if (mi->volume_label && mi->disk_id > 1)
{ {
source_dir = msi_dup_property(package, cszSourceDir); source_dir = msi_dup_property(package, cszSourceDir);
PathStripToRootW(source_dir); PathStripToRootW(source_dir);
......
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