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

This commit is contained in:
James Hawkins 2007-05-10 10:57:41 -05:00 committed by Alexandre Julliard
parent f772fb9898
commit 666cfd1c03
1 changed files with 1 additions and 1 deletions

View File

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